Add new protocol definitions

This commit is contained in:
KingRainbow44
2023-08-14 18:57:07 -04:00
Unverified
parent 1bcb79840c
commit ceeaf3748a
3772 changed files with 448618 additions and 1108926 deletions
@@ -19,38 +19,38 @@ public final class WidgetDoBagReqOuterClass {
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 material_id = 10;</code>
* <code>uint32 material_id = 15;</code>
* @return The materialId.
*/
int getMaterialId();
/**
* <code>.WidgetCreateLocationInfo location_info = 1329;</code>
* <code>.WidgetCreateLocationInfo location_info = 2046;</code>
* @return Whether the locationInfo field is set.
*/
boolean hasLocationInfo();
/**
* <code>.WidgetCreateLocationInfo location_info = 1329;</code>
* <code>.WidgetCreateLocationInfo location_info = 2046;</code>
* @return The locationInfo.
*/
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo getLocationInfo();
/**
* <code>.WidgetCreateLocationInfo location_info = 1329;</code>
* <code>.WidgetCreateLocationInfo location_info = 2046;</code>
*/
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfoOrBuilder getLocationInfoOrBuilder();
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1593;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 1156;</code>
* @return Whether the widgetCreatorInfo field is set.
*/
boolean hasWidgetCreatorInfo();
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1593;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 1156;</code>
* @return The widgetCreatorInfo.
*/
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo getWidgetCreatorInfo();
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1593;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 1156;</code>
*/
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfoOrBuilder getWidgetCreatorInfoOrBuilder();
@@ -58,8 +58,8 @@ public final class WidgetDoBagReqOuterClass {
}
/**
* <pre>
* CmdId: 4295
* Obf: JFBFFLAEENK
* CmdId: 2739
* Obf: KFDNMJHKFAA
* </pre>
*
* Protobuf type {@code WidgetDoBagReq}
@@ -106,28 +106,14 @@ public final class WidgetDoBagReqOuterClass {
case 0:
done = true;
break;
case 80: {
case 120: {
materialId_ = input.readUInt32();
break;
}
case 10634: {
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.Builder subBuilder = null;
if (opInfoCase_ == 1329) {
subBuilder = ((emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_).toBuilder();
}
opInfo_ =
input.readMessage(emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_);
opInfo_ = subBuilder.buildPartial();
}
opInfoCase_ = 1329;
break;
}
case 12746: {
case 9250: {
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.Builder subBuilder = null;
if (opInfoCase_ == 1593) {
if (opInfoCase_ == 1156) {
subBuilder = ((emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_).toBuilder();
}
opInfo_ =
@@ -136,7 +122,21 @@ public final class WidgetDoBagReqOuterClass {
subBuilder.mergeFrom((emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_);
opInfo_ = subBuilder.buildPartial();
}
opInfoCase_ = 1593;
opInfoCase_ = 1156;
break;
}
case 16370: {
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.Builder subBuilder = null;
if (opInfoCase_ == 2046) {
subBuilder = ((emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_).toBuilder();
}
opInfo_ =
input.readMessage(emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_);
opInfo_ = subBuilder.buildPartial();
}
opInfoCase_ = 2046;
break;
}
default: {
@@ -176,8 +176,8 @@ public final class WidgetDoBagReqOuterClass {
public enum OpInfoCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
LOCATION_INFO(1329),
WIDGET_CREATOR_INFO(1593),
LOCATION_INFO(2046),
WIDGET_CREATOR_INFO(1156),
OPINFO_NOT_SET(0);
private final int value;
private OpInfoCase(int value) {
@@ -195,8 +195,8 @@ public final class WidgetDoBagReqOuterClass {
public static OpInfoCase forNumber(int value) {
switch (value) {
case 1329: return LOCATION_INFO;
case 1593: return WIDGET_CREATOR_INFO;
case 2046: return LOCATION_INFO;
case 1156: return WIDGET_CREATOR_INFO;
case 0: return OPINFO_NOT_SET;
default: return null;
}
@@ -212,10 +212,10 @@ public final class WidgetDoBagReqOuterClass {
opInfoCase_);
}
public static final int MATERIAL_ID_FIELD_NUMBER = 10;
public static final int MATERIAL_ID_FIELD_NUMBER = 15;
private int materialId_;
/**
* <code>uint32 material_id = 10;</code>
* <code>uint32 material_id = 15;</code>
* @return The materialId.
*/
@java.lang.Override
@@ -223,63 +223,63 @@ public final class WidgetDoBagReqOuterClass {
return materialId_;
}
public static final int LOCATION_INFO_FIELD_NUMBER = 1329;
public static final int LOCATION_INFO_FIELD_NUMBER = 2046;
/**
* <code>.WidgetCreateLocationInfo location_info = 1329;</code>
* <code>.WidgetCreateLocationInfo location_info = 2046;</code>
* @return Whether the locationInfo field is set.
*/
@java.lang.Override
public boolean hasLocationInfo() {
return opInfoCase_ == 1329;
return opInfoCase_ == 2046;
}
/**
* <code>.WidgetCreateLocationInfo location_info = 1329;</code>
* <code>.WidgetCreateLocationInfo location_info = 2046;</code>
* @return The locationInfo.
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo getLocationInfo() {
if (opInfoCase_ == 1329) {
if (opInfoCase_ == 2046) {
return (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_;
}
return emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.getDefaultInstance();
}
/**
* <code>.WidgetCreateLocationInfo location_info = 1329;</code>
* <code>.WidgetCreateLocationInfo location_info = 2046;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfoOrBuilder getLocationInfoOrBuilder() {
if (opInfoCase_ == 1329) {
if (opInfoCase_ == 2046) {
return (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_;
}
return emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.getDefaultInstance();
}
public static final int WIDGET_CREATOR_INFO_FIELD_NUMBER = 1593;
public static final int WIDGET_CREATOR_INFO_FIELD_NUMBER = 1156;
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1593;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 1156;</code>
* @return Whether the widgetCreatorInfo field is set.
*/
@java.lang.Override
public boolean hasWidgetCreatorInfo() {
return opInfoCase_ == 1593;
return opInfoCase_ == 1156;
}
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1593;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 1156;</code>
* @return The widgetCreatorInfo.
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo getWidgetCreatorInfo() {
if (opInfoCase_ == 1593) {
if (opInfoCase_ == 1156) {
return (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_;
}
return emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.getDefaultInstance();
}
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1593;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 1156;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfoOrBuilder getWidgetCreatorInfoOrBuilder() {
if (opInfoCase_ == 1593) {
if (opInfoCase_ == 1156) {
return (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_;
}
return emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.getDefaultInstance();
@@ -300,13 +300,13 @@ public final class WidgetDoBagReqOuterClass {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (materialId_ != 0) {
output.writeUInt32(10, materialId_);
output.writeUInt32(15, materialId_);
}
if (opInfoCase_ == 1329) {
output.writeMessage(1329, (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_);
if (opInfoCase_ == 1156) {
output.writeMessage(1156, (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_);
}
if (opInfoCase_ == 1593) {
output.writeMessage(1593, (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_);
if (opInfoCase_ == 2046) {
output.writeMessage(2046, (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_);
}
unknownFields.writeTo(output);
}
@@ -319,15 +319,15 @@ public final class WidgetDoBagReqOuterClass {
size = 0;
if (materialId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, materialId_);
.computeUInt32Size(15, materialId_);
}
if (opInfoCase_ == 1329) {
if (opInfoCase_ == 1156) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1329, (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_);
.computeMessageSize(1156, (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_);
}
if (opInfoCase_ == 1593) {
if (opInfoCase_ == 2046) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1593, (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_);
.computeMessageSize(2046, (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -348,11 +348,11 @@ public final class WidgetDoBagReqOuterClass {
!= other.getMaterialId()) return false;
if (!getOpInfoCase().equals(other.getOpInfoCase())) return false;
switch (opInfoCase_) {
case 1329:
case 2046:
if (!getLocationInfo()
.equals(other.getLocationInfo())) return false;
break;
case 1593:
case 1156:
if (!getWidgetCreatorInfo()
.equals(other.getWidgetCreatorInfo())) return false;
break;
@@ -373,11 +373,11 @@ public final class WidgetDoBagReqOuterClass {
hash = (37 * hash) + MATERIAL_ID_FIELD_NUMBER;
hash = (53 * hash) + getMaterialId();
switch (opInfoCase_) {
case 1329:
case 2046:
hash = (37 * hash) + LOCATION_INFO_FIELD_NUMBER;
hash = (53 * hash) + getLocationInfo().hashCode();
break;
case 1593:
case 1156:
hash = (37 * hash) + WIDGET_CREATOR_INFO_FIELD_NUMBER;
hash = (53 * hash) + getWidgetCreatorInfo().hashCode();
break;
@@ -481,8 +481,8 @@ public final class WidgetDoBagReqOuterClass {
}
/**
* <pre>
* CmdId: 4295
* Obf: JFBFFLAEENK
* CmdId: 2739
* Obf: KFDNMJHKFAA
* </pre>
*
* Protobuf type {@code WidgetDoBagReq}
@@ -553,14 +553,14 @@ public final class WidgetDoBagReqOuterClass {
public emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq buildPartial() {
emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq result = new emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq(this);
result.materialId_ = materialId_;
if (opInfoCase_ == 1329) {
if (opInfoCase_ == 2046) {
if (locationInfoBuilder_ == null) {
result.opInfo_ = opInfo_;
} else {
result.opInfo_ = locationInfoBuilder_.build();
}
}
if (opInfoCase_ == 1593) {
if (opInfoCase_ == 1156) {
if (widgetCreatorInfoBuilder_ == null) {
result.opInfo_ = opInfo_;
} else {
@@ -678,7 +678,7 @@ public final class WidgetDoBagReqOuterClass {
private int materialId_ ;
/**
* <code>uint32 material_id = 10;</code>
* <code>uint32 material_id = 15;</code>
* @return The materialId.
*/
@java.lang.Override
@@ -686,7 +686,7 @@ public final class WidgetDoBagReqOuterClass {
return materialId_;
}
/**
* <code>uint32 material_id = 10;</code>
* <code>uint32 material_id = 15;</code>
* @param value The materialId to set.
* @return This builder for chaining.
*/
@@ -697,7 +697,7 @@ public final class WidgetDoBagReqOuterClass {
return this;
}
/**
* <code>uint32 material_id = 10;</code>
* <code>uint32 material_id = 15;</code>
* @return This builder for chaining.
*/
public Builder clearMaterialId() {
@@ -710,33 +710,33 @@ public final class WidgetDoBagReqOuterClass {
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo, emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.Builder, emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfoOrBuilder> locationInfoBuilder_;
/**
* <code>.WidgetCreateLocationInfo location_info = 1329;</code>
* <code>.WidgetCreateLocationInfo location_info = 2046;</code>
* @return Whether the locationInfo field is set.
*/
@java.lang.Override
public boolean hasLocationInfo() {
return opInfoCase_ == 1329;
return opInfoCase_ == 2046;
}
/**
* <code>.WidgetCreateLocationInfo location_info = 1329;</code>
* <code>.WidgetCreateLocationInfo location_info = 2046;</code>
* @return The locationInfo.
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo getLocationInfo() {
if (locationInfoBuilder_ == null) {
if (opInfoCase_ == 1329) {
if (opInfoCase_ == 2046) {
return (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_;
}
return emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.getDefaultInstance();
} else {
if (opInfoCase_ == 1329) {
if (opInfoCase_ == 2046) {
return locationInfoBuilder_.getMessage();
}
return emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.getDefaultInstance();
}
}
/**
* <code>.WidgetCreateLocationInfo location_info = 1329;</code>
* <code>.WidgetCreateLocationInfo location_info = 2046;</code>
*/
public Builder setLocationInfo(emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo value) {
if (locationInfoBuilder_ == null) {
@@ -748,11 +748,11 @@ public final class WidgetDoBagReqOuterClass {
} else {
locationInfoBuilder_.setMessage(value);
}
opInfoCase_ = 1329;
opInfoCase_ = 2046;
return this;
}
/**
* <code>.WidgetCreateLocationInfo location_info = 1329;</code>
* <code>.WidgetCreateLocationInfo location_info = 2046;</code>
*/
public Builder setLocationInfo(
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.Builder builderForValue) {
@@ -762,15 +762,15 @@ public final class WidgetDoBagReqOuterClass {
} else {
locationInfoBuilder_.setMessage(builderForValue.build());
}
opInfoCase_ = 1329;
opInfoCase_ = 2046;
return this;
}
/**
* <code>.WidgetCreateLocationInfo location_info = 1329;</code>
* <code>.WidgetCreateLocationInfo location_info = 2046;</code>
*/
public Builder mergeLocationInfo(emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo value) {
if (locationInfoBuilder_ == null) {
if (opInfoCase_ == 1329 &&
if (opInfoCase_ == 2046 &&
opInfo_ != emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.getDefaultInstance()) {
opInfo_ = emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.newBuilder((emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_)
.mergeFrom(value).buildPartial();
@@ -779,26 +779,26 @@ public final class WidgetDoBagReqOuterClass {
}
onChanged();
} else {
if (opInfoCase_ == 1329) {
if (opInfoCase_ == 2046) {
locationInfoBuilder_.mergeFrom(value);
}
locationInfoBuilder_.setMessage(value);
}
opInfoCase_ = 1329;
opInfoCase_ = 2046;
return this;
}
/**
* <code>.WidgetCreateLocationInfo location_info = 1329;</code>
* <code>.WidgetCreateLocationInfo location_info = 2046;</code>
*/
public Builder clearLocationInfo() {
if (locationInfoBuilder_ == null) {
if (opInfoCase_ == 1329) {
if (opInfoCase_ == 2046) {
opInfoCase_ = 0;
opInfo_ = null;
onChanged();
}
} else {
if (opInfoCase_ == 1329) {
if (opInfoCase_ == 2046) {
opInfoCase_ = 0;
opInfo_ = null;
}
@@ -807,33 +807,33 @@ public final class WidgetDoBagReqOuterClass {
return this;
}
/**
* <code>.WidgetCreateLocationInfo location_info = 1329;</code>
* <code>.WidgetCreateLocationInfo location_info = 2046;</code>
*/
public emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.Builder getLocationInfoBuilder() {
return getLocationInfoFieldBuilder().getBuilder();
}
/**
* <code>.WidgetCreateLocationInfo location_info = 1329;</code>
* <code>.WidgetCreateLocationInfo location_info = 2046;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfoOrBuilder getLocationInfoOrBuilder() {
if ((opInfoCase_ == 1329) && (locationInfoBuilder_ != null)) {
if ((opInfoCase_ == 2046) && (locationInfoBuilder_ != null)) {
return locationInfoBuilder_.getMessageOrBuilder();
} else {
if (opInfoCase_ == 1329) {
if (opInfoCase_ == 2046) {
return (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo) opInfo_;
}
return emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.getDefaultInstance();
}
}
/**
* <code>.WidgetCreateLocationInfo location_info = 1329;</code>
* <code>.WidgetCreateLocationInfo location_info = 2046;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo, emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.Builder, emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfoOrBuilder>
getLocationInfoFieldBuilder() {
if (locationInfoBuilder_ == null) {
if (!(opInfoCase_ == 1329)) {
if (!(opInfoCase_ == 2046)) {
opInfo_ = emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo.getDefaultInstance();
}
locationInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
@@ -843,7 +843,7 @@ public final class WidgetDoBagReqOuterClass {
isClean());
opInfo_ = null;
}
opInfoCase_ = 1329;
opInfoCase_ = 2046;
onChanged();;
return locationInfoBuilder_;
}
@@ -851,33 +851,33 @@ public final class WidgetDoBagReqOuterClass {
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo, emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.Builder, emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfoOrBuilder> widgetCreatorInfoBuilder_;
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1593;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 1156;</code>
* @return Whether the widgetCreatorInfo field is set.
*/
@java.lang.Override
public boolean hasWidgetCreatorInfo() {
return opInfoCase_ == 1593;
return opInfoCase_ == 1156;
}
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1593;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 1156;</code>
* @return The widgetCreatorInfo.
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo getWidgetCreatorInfo() {
if (widgetCreatorInfoBuilder_ == null) {
if (opInfoCase_ == 1593) {
if (opInfoCase_ == 1156) {
return (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_;
}
return emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.getDefaultInstance();
} else {
if (opInfoCase_ == 1593) {
if (opInfoCase_ == 1156) {
return widgetCreatorInfoBuilder_.getMessage();
}
return emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.getDefaultInstance();
}
}
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1593;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 1156;</code>
*/
public Builder setWidgetCreatorInfo(emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo value) {
if (widgetCreatorInfoBuilder_ == null) {
@@ -889,11 +889,11 @@ public final class WidgetDoBagReqOuterClass {
} else {
widgetCreatorInfoBuilder_.setMessage(value);
}
opInfoCase_ = 1593;
opInfoCase_ = 1156;
return this;
}
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1593;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 1156;</code>
*/
public Builder setWidgetCreatorInfo(
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.Builder builderForValue) {
@@ -903,15 +903,15 @@ public final class WidgetDoBagReqOuterClass {
} else {
widgetCreatorInfoBuilder_.setMessage(builderForValue.build());
}
opInfoCase_ = 1593;
opInfoCase_ = 1156;
return this;
}
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1593;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 1156;</code>
*/
public Builder mergeWidgetCreatorInfo(emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo value) {
if (widgetCreatorInfoBuilder_ == null) {
if (opInfoCase_ == 1593 &&
if (opInfoCase_ == 1156 &&
opInfo_ != emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.getDefaultInstance()) {
opInfo_ = emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.newBuilder((emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_)
.mergeFrom(value).buildPartial();
@@ -920,26 +920,26 @@ public final class WidgetDoBagReqOuterClass {
}
onChanged();
} else {
if (opInfoCase_ == 1593) {
if (opInfoCase_ == 1156) {
widgetCreatorInfoBuilder_.mergeFrom(value);
}
widgetCreatorInfoBuilder_.setMessage(value);
}
opInfoCase_ = 1593;
opInfoCase_ = 1156;
return this;
}
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1593;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 1156;</code>
*/
public Builder clearWidgetCreatorInfo() {
if (widgetCreatorInfoBuilder_ == null) {
if (opInfoCase_ == 1593) {
if (opInfoCase_ == 1156) {
opInfoCase_ = 0;
opInfo_ = null;
onChanged();
}
} else {
if (opInfoCase_ == 1593) {
if (opInfoCase_ == 1156) {
opInfoCase_ = 0;
opInfo_ = null;
}
@@ -948,33 +948,33 @@ public final class WidgetDoBagReqOuterClass {
return this;
}
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1593;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 1156;</code>
*/
public emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.Builder getWidgetCreatorInfoBuilder() {
return getWidgetCreatorInfoFieldBuilder().getBuilder();
}
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1593;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 1156;</code>
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfoOrBuilder getWidgetCreatorInfoOrBuilder() {
if ((opInfoCase_ == 1593) && (widgetCreatorInfoBuilder_ != null)) {
if ((opInfoCase_ == 1156) && (widgetCreatorInfoBuilder_ != null)) {
return widgetCreatorInfoBuilder_.getMessageOrBuilder();
} else {
if (opInfoCase_ == 1593) {
if (opInfoCase_ == 1156) {
return (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_;
}
return emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.getDefaultInstance();
}
}
/**
* <code>.WidgetCreatorInfo widget_creator_info = 1593;</code>
* <code>.WidgetCreatorInfo widget_creator_info = 1156;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo, emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.Builder, emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfoOrBuilder>
getWidgetCreatorInfoFieldBuilder() {
if (widgetCreatorInfoBuilder_ == null) {
if (!(opInfoCase_ == 1593)) {
if (!(opInfoCase_ == 1156)) {
opInfo_ = emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.getDefaultInstance();
}
widgetCreatorInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
@@ -984,7 +984,7 @@ public final class WidgetDoBagReqOuterClass {
isClean());
opInfo_ = null;
}
opInfoCase_ = 1593;
opInfoCase_ = 1156;
onChanged();;
return widgetCreatorInfoBuilder_;
}
@@ -1057,9 +1057,9 @@ public final class WidgetDoBagReqOuterClass {
java.lang.String[] descriptorData = {
"\n\024WidgetDoBagReq.proto\032\036WidgetCreateLoca" +
"tionInfo.proto\032\027WidgetCreatorInfo.proto\"" +
"\231\001\n\016WidgetDoBagReq\022\023\n\013material_id\030\n \001(\r\022" +
"3\n\rlocation_info\030\261\n \001(\0132\031.WidgetCreateLo" +
"cationInfoH\000\0222\n\023widget_creator_info\030\271\014 \001" +
"\231\001\n\016WidgetDoBagReq\022\023\n\013material_id\030\017 \001(\r\022" +
"3\n\rlocation_info\030\376\017 \001(\0132\031.WidgetCreateLo" +
"cationInfoH\000\0222\n\023widget_creator_info\030\204\t \001" +
"(\0132\022.WidgetCreatorInfoH\000B\t\n\007op_infoB\033\n\031e" +
"mu.grasscutter.net.protob\006proto3"
};