// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: WidgetDoBagReq.proto
package emu.grasscutter.net.proto;
public final class WidgetDoBagReqOuterClass {
private WidgetDoBagReqOuterClass() {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface WidgetDoBagReqOrBuilder
extends
// @@protoc_insertion_point(interface_extends:WidgetDoBagReq)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 material_id = 9;
*
* @return The materialId.
*/
int getMaterialId();
/**
* .WidgetCreateLocationInfo location_info = 1340;
*
* @return Whether the locationInfo field is set.
*/
boolean hasLocationInfo();
/**
* .WidgetCreateLocationInfo location_info = 1340;
*
* @return The locationInfo.
*/
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo
getLocationInfo();
/** .WidgetCreateLocationInfo location_info = 1340;
*/
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfoOrBuilder
getLocationInfoOrBuilder();
/**
* .WidgetCreatorInfo widget_creator_info = 1743;
*
* @return Whether the widgetCreatorInfo field is set.
*/
boolean hasWidgetCreatorInfo();
/**
* .WidgetCreatorInfo widget_creator_info = 1743;
*
* @return The widgetCreatorInfo.
*/
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo getWidgetCreatorInfo();
/** .WidgetCreatorInfo widget_creator_info = 1743;
*/
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfoOrBuilder
getWidgetCreatorInfoOrBuilder();
public emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq.OpInfoCase
getOpInfoCase();
}
/**
*
*
*
* Name: ECBPKIEBPLJ * CmdId: 4299 ** * Protobuf type {@code WidgetDoBagReq} */ public static final class WidgetDoBagReq extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:WidgetDoBagReq) WidgetDoBagReqOrBuilder { private static final long serialVersionUID = 0L; // Use WidgetDoBagReq.newBuilder() to construct. private WidgetDoBagReq(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } private WidgetDoBagReq() {} @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WidgetDoBagReq(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private WidgetDoBagReq( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 72: { materialId_ = input.readUInt32(); break; } case 10722: { emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass .WidgetCreateLocationInfo.Builder subBuilder = null; if (opInfoCase_ == 1340) { 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_ = 1340; break; } case 13946: { emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.Builder subBuilder = null; if (opInfoCase_ == 1743) { subBuilder = ((emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_) .toBuilder(); } opInfo_ = input.readMessage( emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo .parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom( (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_); opInfo_ = subBuilder.buildPartial(); } opInfoCase_ = 1743; break; } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.WidgetDoBagReqOuterClass .internal_static_WidgetDoBagReq_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.WidgetDoBagReqOuterClass .internal_static_WidgetDoBagReq_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq.class, emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq.Builder.class); } private int opInfoCase_ = 0; private java.lang.Object opInfo_; public enum OpInfoCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { LOCATION_INFO(1340), WIDGET_CREATOR_INFO(1743), OPINFO_NOT_SET(0); private final int value; private OpInfoCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static OpInfoCase valueOf(int value) { return forNumber(value); } public static OpInfoCase forNumber(int value) { switch (value) { case 1340: return LOCATION_INFO; case 1743: return WIDGET_CREATOR_INFO; case 0: return OPINFO_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public OpInfoCase getOpInfoCase() { return OpInfoCase.forNumber(opInfoCase_); } public static final int MATERIAL_ID_FIELD_NUMBER = 9; private int materialId_; /** *
uint32 material_id = 9;
*
* @return The materialId.
*/
@java.lang.Override
public int getMaterialId() {
return materialId_;
}
public static final int LOCATION_INFO_FIELD_NUMBER = 1340;
/**
* .WidgetCreateLocationInfo location_info = 1340;
*
* @return Whether the locationInfo field is set.
*/
@java.lang.Override
public boolean hasLocationInfo() {
return opInfoCase_ == 1340;
}
/**
* .WidgetCreateLocationInfo location_info = 1340;
*
* @return The locationInfo.
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo
getLocationInfo() {
if (opInfoCase_ == 1340) {
return (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass
.WidgetCreateLocationInfo)
opInfo_;
}
return emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo
.getDefaultInstance();
}
/** .WidgetCreateLocationInfo location_info = 1340;
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass
.WidgetCreateLocationInfoOrBuilder
getLocationInfoOrBuilder() {
if (opInfoCase_ == 1340) {
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 = 1743;
/**
* .WidgetCreatorInfo widget_creator_info = 1743;
*
* @return Whether the widgetCreatorInfo field is set.
*/
@java.lang.Override
public boolean hasWidgetCreatorInfo() {
return opInfoCase_ == 1743;
}
/**
* .WidgetCreatorInfo widget_creator_info = 1743;
*
* @return The widgetCreatorInfo.
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo
getWidgetCreatorInfo() {
if (opInfoCase_ == 1743) {
return (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_;
}
return emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo
.getDefaultInstance();
}
/** .WidgetCreatorInfo widget_creator_info = 1743;
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfoOrBuilder
getWidgetCreatorInfoOrBuilder() {
if (opInfoCase_ == 1743) {
return (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_;
}
return emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo
.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (materialId_ != 0) {
output.writeUInt32(9, materialId_);
}
if (opInfoCase_ == 1340) {
output.writeMessage(
1340,
(emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo)
opInfo_);
}
if (opInfoCase_ == 1743) {
output.writeMessage(
1743,
(emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (materialId_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(9, materialId_);
}
if (opInfoCase_ == 1340) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(
1340,
(emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass
.WidgetCreateLocationInfo)
opInfo_);
}
if (opInfoCase_ == 1743) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(
1743,
(emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq other =
(emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq) obj;
if (getMaterialId() != other.getMaterialId()) return false;
if (!getOpInfoCase().equals(other.getOpInfoCase())) return false;
switch (opInfoCase_) {
case 1340:
if (!getLocationInfo().equals(other.getLocationInfo())) return false;
break;
case 1743:
if (!getWidgetCreatorInfo().equals(other.getWidgetCreatorInfo())) return false;
break;
case 0:
default:
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + MATERIAL_ID_FIELD_NUMBER;
hash = (53 * hash) + getMaterialId();
switch (opInfoCase_) {
case 1340:
hash = (37 * hash) + LOCATION_INFO_FIELD_NUMBER;
hash = (53 * hash) + getLocationInfo().hashCode();
break;
case 1743:
hash = (37 * hash) + WIDGET_CREATOR_INFO_FIELD_NUMBER;
hash = (53 * hash) + getWidgetCreatorInfo().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq parseFrom(
java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq parseFrom(
java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq parseFrom(
byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq parseFrom(
byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq parseFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq
parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(
emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
*
* * Name: ECBPKIEBPLJ * CmdId: 4299 ** * Protobuf type {@code WidgetDoBagReq} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
uint32 material_id = 9;
*
* @return The materialId.
*/
@java.lang.Override
public int getMaterialId() {
return materialId_;
}
/**
* uint32 material_id = 9;
*
* @param value The materialId to set.
* @return This builder for chaining.
*/
public Builder setMaterialId(int value) {
materialId_ = value;
onChanged();
return this;
}
/**
* uint32 material_id = 9;
*
* @return This builder for chaining.
*/
public Builder clearMaterialId() {
materialId_ = 0;
onChanged();
return this;
}
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_;
/**
* .WidgetCreateLocationInfo location_info = 1340;
*
* @return Whether the locationInfo field is set.
*/
@java.lang.Override
public boolean hasLocationInfo() {
return opInfoCase_ == 1340;
}
/**
* .WidgetCreateLocationInfo location_info = 1340;
*
* @return The locationInfo.
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo
getLocationInfo() {
if (locationInfoBuilder_ == null) {
if (opInfoCase_ == 1340) {
return (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass
.WidgetCreateLocationInfo)
opInfo_;
}
return emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass
.WidgetCreateLocationInfo.getDefaultInstance();
} else {
if (opInfoCase_ == 1340) {
return locationInfoBuilder_.getMessage();
}
return emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass
.WidgetCreateLocationInfo.getDefaultInstance();
}
}
/** .WidgetCreateLocationInfo location_info = 1340;
*/
public Builder setLocationInfo(
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo
value) {
if (locationInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
opInfo_ = value;
onChanged();
} else {
locationInfoBuilder_.setMessage(value);
}
opInfoCase_ = 1340;
return this;
}
/** .WidgetCreateLocationInfo location_info = 1340;
*/
public Builder setLocationInfo(
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo
.Builder
builderForValue) {
if (locationInfoBuilder_ == null) {
opInfo_ = builderForValue.build();
onChanged();
} else {
locationInfoBuilder_.setMessage(builderForValue.build());
}
opInfoCase_ = 1340;
return this;
}
/** .WidgetCreateLocationInfo location_info = 1340;
*/
public Builder mergeLocationInfo(
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo
value) {
if (locationInfoBuilder_ == null) {
if (opInfoCase_ == 1340
&& 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();
} else {
opInfo_ = value;
}
onChanged();
} else {
if (opInfoCase_ == 1340) {
locationInfoBuilder_.mergeFrom(value);
}
locationInfoBuilder_.setMessage(value);
}
opInfoCase_ = 1340;
return this;
}
/** .WidgetCreateLocationInfo location_info = 1340;
*/
public Builder clearLocationInfo() {
if (locationInfoBuilder_ == null) {
if (opInfoCase_ == 1340) {
opInfoCase_ = 0;
opInfo_ = null;
onChanged();
}
} else {
if (opInfoCase_ == 1340) {
opInfoCase_ = 0;
opInfo_ = null;
}
locationInfoBuilder_.clear();
}
return this;
}
/** .WidgetCreateLocationInfo location_info = 1340;
*/
public emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass.WidgetCreateLocationInfo
.Builder
getLocationInfoBuilder() {
return getLocationInfoFieldBuilder().getBuilder();
}
/** .WidgetCreateLocationInfo location_info = 1340;
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass
.WidgetCreateLocationInfoOrBuilder
getLocationInfoOrBuilder() {
if ((opInfoCase_ == 1340) && (locationInfoBuilder_ != null)) {
return locationInfoBuilder_.getMessageOrBuilder();
} else {
if (opInfoCase_ == 1340) {
return (emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass
.WidgetCreateLocationInfo)
opInfo_;
}
return emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass
.WidgetCreateLocationInfo.getDefaultInstance();
}
}
/** .WidgetCreateLocationInfo location_info = 1340;
*/
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_ == 1340)) {
opInfo_ =
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass
.WidgetCreateLocationInfo.getDefaultInstance();
}
locationInfoBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass
.WidgetCreateLocationInfo,
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass
.WidgetCreateLocationInfo.Builder,
emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass
.WidgetCreateLocationInfoOrBuilder>(
(emu.grasscutter.net.proto.WidgetCreateLocationInfoOuterClass
.WidgetCreateLocationInfo)
opInfo_,
getParentForChildren(),
isClean());
opInfo_ = null;
}
opInfoCase_ = 1340;
onChanged();
;
return locationInfoBuilder_;
}
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_;
/**
* .WidgetCreatorInfo widget_creator_info = 1743;
*
* @return Whether the widgetCreatorInfo field is set.
*/
@java.lang.Override
public boolean hasWidgetCreatorInfo() {
return opInfoCase_ == 1743;
}
/**
* .WidgetCreatorInfo widget_creator_info = 1743;
*
* @return The widgetCreatorInfo.
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo
getWidgetCreatorInfo() {
if (widgetCreatorInfoBuilder_ == null) {
if (opInfoCase_ == 1743) {
return (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo)
opInfo_;
}
return emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo
.getDefaultInstance();
} else {
if (opInfoCase_ == 1743) {
return widgetCreatorInfoBuilder_.getMessage();
}
return emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo
.getDefaultInstance();
}
}
/** .WidgetCreatorInfo widget_creator_info = 1743;
*/
public Builder setWidgetCreatorInfo(
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo value) {
if (widgetCreatorInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
opInfo_ = value;
onChanged();
} else {
widgetCreatorInfoBuilder_.setMessage(value);
}
opInfoCase_ = 1743;
return this;
}
/** .WidgetCreatorInfo widget_creator_info = 1743;
*/
public Builder setWidgetCreatorInfo(
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.Builder
builderForValue) {
if (widgetCreatorInfoBuilder_ == null) {
opInfo_ = builderForValue.build();
onChanged();
} else {
widgetCreatorInfoBuilder_.setMessage(builderForValue.build());
}
opInfoCase_ = 1743;
return this;
}
/** .WidgetCreatorInfo widget_creator_info = 1743;
*/
public Builder mergeWidgetCreatorInfo(
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo value) {
if (widgetCreatorInfoBuilder_ == null) {
if (opInfoCase_ == 1743
&& 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();
} else {
opInfo_ = value;
}
onChanged();
} else {
if (opInfoCase_ == 1743) {
widgetCreatorInfoBuilder_.mergeFrom(value);
}
widgetCreatorInfoBuilder_.setMessage(value);
}
opInfoCase_ = 1743;
return this;
}
/** .WidgetCreatorInfo widget_creator_info = 1743;
*/
public Builder clearWidgetCreatorInfo() {
if (widgetCreatorInfoBuilder_ == null) {
if (opInfoCase_ == 1743) {
opInfoCase_ = 0;
opInfo_ = null;
onChanged();
}
} else {
if (opInfoCase_ == 1743) {
opInfoCase_ = 0;
opInfo_ = null;
}
widgetCreatorInfoBuilder_.clear();
}
return this;
}
/** .WidgetCreatorInfo widget_creator_info = 1743;
*/
public emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.Builder
getWidgetCreatorInfoBuilder() {
return getWidgetCreatorInfoFieldBuilder().getBuilder();
}
/** .WidgetCreatorInfo widget_creator_info = 1743;
*/
@java.lang.Override
public emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfoOrBuilder
getWidgetCreatorInfoOrBuilder() {
if ((opInfoCase_ == 1743) && (widgetCreatorInfoBuilder_ != null)) {
return widgetCreatorInfoBuilder_.getMessageOrBuilder();
} else {
if (opInfoCase_ == 1743) {
return (emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo)
opInfo_;
}
return emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo
.getDefaultInstance();
}
}
/** .WidgetCreatorInfo widget_creator_info = 1743;
*/
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_ == 1743)) {
opInfo_ =
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo
.getDefaultInstance();
}
widgetCreatorInfoBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo,
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo.Builder,
emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfoOrBuilder>(
(emu.grasscutter.net.proto.WidgetCreatorInfoOuterClass.WidgetCreatorInfo) opInfo_,
getParentForChildren(),
isClean());
opInfo_ = null;
}
opInfoCase_ = 1743;
onChanged();
;
return widgetCreatorInfoBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:WidgetDoBagReq)
}
// @@protoc_insertion_point(class_scope:WidgetDoBagReq)
private static final emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq();
}
public static emu.grasscutter.net.proto.WidgetDoBagReqOuterClass.WidgetDoBagReq
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser