Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
emu.grasscutter.net.proto.GachaItemOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GachaItem.proto
package emu.grasscutter.net.proto;
public final class GachaItemOuterClass {
private GachaItemOuterClass() {}
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 GachaItemOrBuilder extends
// @@protoc_insertion_point(interface_extends:GachaItem)
com.google.protobuf.MessageOrBuilder {
/**
* .ItemParam gacha_item = 13;
* @return Whether the gachaItem field is set.
*/
boolean hasGachaItem();
/**
* .ItemParam gacha_item = 13;
* @return The gachaItem.
*/
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getGachaItem();
/**
* .ItemParam gacha_item = 13;
*/
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getGachaItemOrBuilder();
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
java.util.List
getTransferItemsList();
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem getTransferItems(int index);
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
int getTransferItemsCount();
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
java.util.List extends emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItemOrBuilder>
getTransferItemsOrBuilderList();
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItemOrBuilder getTransferItemsOrBuilder(
int index);
/**
* repeated .ItemParam token_item_list = 9;
*/
java.util.List
getTokenItemListList();
/**
* repeated .ItemParam token_item_list = 9;
*/
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getTokenItemList(int index);
/**
* repeated .ItemParam token_item_list = 9;
*/
int getTokenItemListCount();
/**
* repeated .ItemParam token_item_list = 9;
*/
java.util.List extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder>
getTokenItemListOrBuilderList();
/**
* repeated .ItemParam token_item_list = 9;
*/
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getTokenItemListOrBuilder(
int index);
/**
*
* DKPCGKMJNMC
*
*
* bool is_gacha_item_new = 1;
* @return The isGachaItemNew.
*/
boolean getIsGachaItemNew();
/**
*
* HBJJJDGGBCN
*
*
* bool is_flash_card = 11;
* @return The isFlashCard.
*/
boolean getIsFlashCard();
}
/**
*
* Name: IPHELIAGHGJ
*
*
* Protobuf type {@code GachaItem}
*/
public static final class GachaItem extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GachaItem)
GachaItemOrBuilder {
private static final long serialVersionUID = 0L;
// Use GachaItem.newBuilder() to construct.
private GachaItem(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GachaItem() {
transferItems_ = java.util.Collections.emptyList();
tokenItemList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GachaItem();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GachaItem(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
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 8: {
isGachaItemNew_ = input.readBool();
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
transferItems_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
transferItems_.add(
input.readMessage(emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.parser(), extensionRegistry));
break;
}
case 74: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
tokenItemList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
tokenItemList_.add(
input.readMessage(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.parser(), extensionRegistry));
break;
}
case 88: {
isFlashCard_ = input.readBool();
break;
}
case 106: {
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder subBuilder = null;
if (gachaItem_ != null) {
subBuilder = gachaItem_.toBuilder();
}
gachaItem_ = input.readMessage(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(gachaItem_);
gachaItem_ = subBuilder.buildPartial();
}
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 {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
transferItems_ = java.util.Collections.unmodifiableList(transferItems_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
tokenItemList_ = java.util.Collections.unmodifiableList(tokenItemList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.GachaItemOuterClass.internal_static_GachaItem_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.GachaItemOuterClass.internal_static_GachaItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem.class, emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem.Builder.class);
}
public static final int GACHA_ITEM_FIELD_NUMBER = 13;
private emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam gachaItem_;
/**
* .ItemParam gacha_item = 13;
* @return Whether the gachaItem field is set.
*/
@java.lang.Override
public boolean hasGachaItem() {
return gachaItem_ != null;
}
/**
* .ItemParam gacha_item = 13;
* @return The gachaItem.
*/
@java.lang.Override
public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getGachaItem() {
return gachaItem_ == null ? emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance() : gachaItem_;
}
/**
* .ItemParam gacha_item = 13;
*/
@java.lang.Override
public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getGachaItemOrBuilder() {
return getGachaItem();
}
public static final int TRANSFER_ITEMS_FIELD_NUMBER = 3;
private java.util.List transferItems_;
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
@java.lang.Override
public java.util.List getTransferItemsList() {
return transferItems_;
}
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
@java.lang.Override
public java.util.List extends emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItemOrBuilder>
getTransferItemsOrBuilderList() {
return transferItems_;
}
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
@java.lang.Override
public int getTransferItemsCount() {
return transferItems_.size();
}
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
@java.lang.Override
public emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem getTransferItems(int index) {
return transferItems_.get(index);
}
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
@java.lang.Override
public emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItemOrBuilder getTransferItemsOrBuilder(
int index) {
return transferItems_.get(index);
}
public static final int TOKEN_ITEM_LIST_FIELD_NUMBER = 9;
private java.util.List tokenItemList_;
/**
* repeated .ItemParam token_item_list = 9;
*/
@java.lang.Override
public java.util.List getTokenItemListList() {
return tokenItemList_;
}
/**
* repeated .ItemParam token_item_list = 9;
*/
@java.lang.Override
public java.util.List extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder>
getTokenItemListOrBuilderList() {
return tokenItemList_;
}
/**
* repeated .ItemParam token_item_list = 9;
*/
@java.lang.Override
public int getTokenItemListCount() {
return tokenItemList_.size();
}
/**
* repeated .ItemParam token_item_list = 9;
*/
@java.lang.Override
public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getTokenItemList(int index) {
return tokenItemList_.get(index);
}
/**
* repeated .ItemParam token_item_list = 9;
*/
@java.lang.Override
public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getTokenItemListOrBuilder(
int index) {
return tokenItemList_.get(index);
}
public static final int IS_GACHA_ITEM_NEW_FIELD_NUMBER = 1;
private boolean isGachaItemNew_;
/**
*
* DKPCGKMJNMC
*
*
* bool is_gacha_item_new = 1;
* @return The isGachaItemNew.
*/
@java.lang.Override
public boolean getIsGachaItemNew() {
return isGachaItemNew_;
}
public static final int IS_FLASH_CARD_FIELD_NUMBER = 11;
private boolean isFlashCard_;
/**
*
* HBJJJDGGBCN
*
*
* bool is_flash_card = 11;
* @return The isFlashCard.
*/
@java.lang.Override
public boolean getIsFlashCard() {
return isFlashCard_;
}
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 (isGachaItemNew_ != false) {
output.writeBool(1, isGachaItemNew_);
}
for (int i = 0; i < transferItems_.size(); i++) {
output.writeMessage(3, transferItems_.get(i));
}
for (int i = 0; i < tokenItemList_.size(); i++) {
output.writeMessage(9, tokenItemList_.get(i));
}
if (isFlashCard_ != false) {
output.writeBool(11, isFlashCard_);
}
if (gachaItem_ != null) {
output.writeMessage(13, getGachaItem());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (isGachaItemNew_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, isGachaItemNew_);
}
for (int i = 0; i < transferItems_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, transferItems_.get(i));
}
for (int i = 0; i < tokenItemList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, tokenItemList_.get(i));
}
if (isFlashCard_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(11, isFlashCard_);
}
if (gachaItem_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getGachaItem());
}
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.GachaItemOuterClass.GachaItem)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem other = (emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem) obj;
if (hasGachaItem() != other.hasGachaItem()) return false;
if (hasGachaItem()) {
if (!getGachaItem()
.equals(other.getGachaItem())) return false;
}
if (!getTransferItemsList()
.equals(other.getTransferItemsList())) return false;
if (!getTokenItemListList()
.equals(other.getTokenItemListList())) return false;
if (getIsGachaItemNew()
!= other.getIsGachaItemNew()) return false;
if (getIsFlashCard()
!= other.getIsFlashCard()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasGachaItem()) {
hash = (37 * hash) + GACHA_ITEM_FIELD_NUMBER;
hash = (53 * hash) + getGachaItem().hashCode();
}
if (getTransferItemsCount() > 0) {
hash = (37 * hash) + TRANSFER_ITEMS_FIELD_NUMBER;
hash = (53 * hash) + getTransferItemsList().hashCode();
}
if (getTokenItemListCount() > 0) {
hash = (37 * hash) + TOKEN_ITEM_LIST_FIELD_NUMBER;
hash = (53 * hash) + getTokenItemListList().hashCode();
}
hash = (37 * hash) + IS_GACHA_ITEM_NEW_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsGachaItemNew());
hash = (37 * hash) + IS_FLASH_CARD_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsFlashCard());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem 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.GachaItemOuterClass.GachaItem parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem 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.GachaItemOuterClass.GachaItem parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem 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.GachaItemOuterClass.GachaItem parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem 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.GachaItemOuterClass.GachaItem parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem 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.GachaItemOuterClass.GachaItem 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: IPHELIAGHGJ
*
*
* Protobuf type {@code GachaItem}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GachaItem)
emu.grasscutter.net.proto.GachaItemOuterClass.GachaItemOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.GachaItemOuterClass.internal_static_GachaItem_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.GachaItemOuterClass.internal_static_GachaItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem.class, emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem.Builder.class);
}
// Construct using emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getTransferItemsFieldBuilder();
getTokenItemListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (gachaItemBuilder_ == null) {
gachaItem_ = null;
} else {
gachaItem_ = null;
gachaItemBuilder_ = null;
}
if (transferItemsBuilder_ == null) {
transferItems_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
transferItemsBuilder_.clear();
}
if (tokenItemListBuilder_ == null) {
tokenItemList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
tokenItemListBuilder_.clear();
}
isGachaItemNew_ = false;
isFlashCard_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.GachaItemOuterClass.internal_static_GachaItem_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem getDefaultInstanceForType() {
return emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem build() {
emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem buildPartial() {
emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem result = new emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem(this);
int from_bitField0_ = bitField0_;
if (gachaItemBuilder_ == null) {
result.gachaItem_ = gachaItem_;
} else {
result.gachaItem_ = gachaItemBuilder_.build();
}
if (transferItemsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
transferItems_ = java.util.Collections.unmodifiableList(transferItems_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.transferItems_ = transferItems_;
} else {
result.transferItems_ = transferItemsBuilder_.build();
}
if (tokenItemListBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
tokenItemList_ = java.util.Collections.unmodifiableList(tokenItemList_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.tokenItemList_ = tokenItemList_;
} else {
result.tokenItemList_ = tokenItemListBuilder_.build();
}
result.isGachaItemNew_ = isGachaItemNew_;
result.isFlashCard_ = isFlashCard_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem) {
return mergeFrom((emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem other) {
if (other == emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem.getDefaultInstance()) return this;
if (other.hasGachaItem()) {
mergeGachaItem(other.getGachaItem());
}
if (transferItemsBuilder_ == null) {
if (!other.transferItems_.isEmpty()) {
if (transferItems_.isEmpty()) {
transferItems_ = other.transferItems_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTransferItemsIsMutable();
transferItems_.addAll(other.transferItems_);
}
onChanged();
}
} else {
if (!other.transferItems_.isEmpty()) {
if (transferItemsBuilder_.isEmpty()) {
transferItemsBuilder_.dispose();
transferItemsBuilder_ = null;
transferItems_ = other.transferItems_;
bitField0_ = (bitField0_ & ~0x00000001);
transferItemsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTransferItemsFieldBuilder() : null;
} else {
transferItemsBuilder_.addAllMessages(other.transferItems_);
}
}
}
if (tokenItemListBuilder_ == null) {
if (!other.tokenItemList_.isEmpty()) {
if (tokenItemList_.isEmpty()) {
tokenItemList_ = other.tokenItemList_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureTokenItemListIsMutable();
tokenItemList_.addAll(other.tokenItemList_);
}
onChanged();
}
} else {
if (!other.tokenItemList_.isEmpty()) {
if (tokenItemListBuilder_.isEmpty()) {
tokenItemListBuilder_.dispose();
tokenItemListBuilder_ = null;
tokenItemList_ = other.tokenItemList_;
bitField0_ = (bitField0_ & ~0x00000002);
tokenItemListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTokenItemListFieldBuilder() : null;
} else {
tokenItemListBuilder_.addAllMessages(other.tokenItemList_);
}
}
}
if (other.getIsGachaItemNew() != false) {
setIsGachaItemNew(other.getIsGachaItemNew());
}
if (other.getIsFlashCard() != false) {
setIsFlashCard(other.getIsFlashCard());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam gachaItem_;
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> gachaItemBuilder_;
/**
* .ItemParam gacha_item = 13;
* @return Whether the gachaItem field is set.
*/
public boolean hasGachaItem() {
return gachaItemBuilder_ != null || gachaItem_ != null;
}
/**
* .ItemParam gacha_item = 13;
* @return The gachaItem.
*/
public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getGachaItem() {
if (gachaItemBuilder_ == null) {
return gachaItem_ == null ? emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance() : gachaItem_;
} else {
return gachaItemBuilder_.getMessage();
}
}
/**
* .ItemParam gacha_item = 13;
*/
public Builder setGachaItem(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
if (gachaItemBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
gachaItem_ = value;
onChanged();
} else {
gachaItemBuilder_.setMessage(value);
}
return this;
}
/**
* .ItemParam gacha_item = 13;
*/
public Builder setGachaItem(
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
if (gachaItemBuilder_ == null) {
gachaItem_ = builderForValue.build();
onChanged();
} else {
gachaItemBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .ItemParam gacha_item = 13;
*/
public Builder mergeGachaItem(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
if (gachaItemBuilder_ == null) {
if (gachaItem_ != null) {
gachaItem_ =
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.newBuilder(gachaItem_).mergeFrom(value).buildPartial();
} else {
gachaItem_ = value;
}
onChanged();
} else {
gachaItemBuilder_.mergeFrom(value);
}
return this;
}
/**
* .ItemParam gacha_item = 13;
*/
public Builder clearGachaItem() {
if (gachaItemBuilder_ == null) {
gachaItem_ = null;
onChanged();
} else {
gachaItem_ = null;
gachaItemBuilder_ = null;
}
return this;
}
/**
* .ItemParam gacha_item = 13;
*/
public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder getGachaItemBuilder() {
onChanged();
return getGachaItemFieldBuilder().getBuilder();
}
/**
* .ItemParam gacha_item = 13;
*/
public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getGachaItemOrBuilder() {
if (gachaItemBuilder_ != null) {
return gachaItemBuilder_.getMessageOrBuilder();
} else {
return gachaItem_ == null ?
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance() : gachaItem_;
}
}
/**
* .ItemParam gacha_item = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder>
getGachaItemFieldBuilder() {
if (gachaItemBuilder_ == null) {
gachaItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder>(
getGachaItem(),
getParentForChildren(),
isClean());
gachaItem_ = null;
}
return gachaItemBuilder_;
}
private java.util.List transferItems_ =
java.util.Collections.emptyList();
private void ensureTransferItemsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
transferItems_ = new java.util.ArrayList(transferItems_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem, emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.Builder, emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItemOrBuilder> transferItemsBuilder_;
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
public java.util.List getTransferItemsList() {
if (transferItemsBuilder_ == null) {
return java.util.Collections.unmodifiableList(transferItems_);
} else {
return transferItemsBuilder_.getMessageList();
}
}
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
public int getTransferItemsCount() {
if (transferItemsBuilder_ == null) {
return transferItems_.size();
} else {
return transferItemsBuilder_.getCount();
}
}
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
public emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem getTransferItems(int index) {
if (transferItemsBuilder_ == null) {
return transferItems_.get(index);
} else {
return transferItemsBuilder_.getMessage(index);
}
}
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
public Builder setTransferItems(
int index, emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem value) {
if (transferItemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTransferItemsIsMutable();
transferItems_.set(index, value);
onChanged();
} else {
transferItemsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
public Builder setTransferItems(
int index, emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.Builder builderForValue) {
if (transferItemsBuilder_ == null) {
ensureTransferItemsIsMutable();
transferItems_.set(index, builderForValue.build());
onChanged();
} else {
transferItemsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
public Builder addTransferItems(emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem value) {
if (transferItemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTransferItemsIsMutable();
transferItems_.add(value);
onChanged();
} else {
transferItemsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
public Builder addTransferItems(
int index, emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem value) {
if (transferItemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTransferItemsIsMutable();
transferItems_.add(index, value);
onChanged();
} else {
transferItemsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
public Builder addTransferItems(
emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.Builder builderForValue) {
if (transferItemsBuilder_ == null) {
ensureTransferItemsIsMutable();
transferItems_.add(builderForValue.build());
onChanged();
} else {
transferItemsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
public Builder addTransferItems(
int index, emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.Builder builderForValue) {
if (transferItemsBuilder_ == null) {
ensureTransferItemsIsMutable();
transferItems_.add(index, builderForValue.build());
onChanged();
} else {
transferItemsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
public Builder addAllTransferItems(
java.lang.Iterable extends emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem> values) {
if (transferItemsBuilder_ == null) {
ensureTransferItemsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, transferItems_);
onChanged();
} else {
transferItemsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
public Builder clearTransferItems() {
if (transferItemsBuilder_ == null) {
transferItems_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
transferItemsBuilder_.clear();
}
return this;
}
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
public Builder removeTransferItems(int index) {
if (transferItemsBuilder_ == null) {
ensureTransferItemsIsMutable();
transferItems_.remove(index);
onChanged();
} else {
transferItemsBuilder_.remove(index);
}
return this;
}
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
public emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.Builder getTransferItemsBuilder(
int index) {
return getTransferItemsFieldBuilder().getBuilder(index);
}
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
public emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItemOrBuilder getTransferItemsOrBuilder(
int index) {
if (transferItemsBuilder_ == null) {
return transferItems_.get(index); } else {
return transferItemsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
public java.util.List extends emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItemOrBuilder>
getTransferItemsOrBuilderList() {
if (transferItemsBuilder_ != null) {
return transferItemsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(transferItems_);
}
}
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
public emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.Builder addTransferItemsBuilder() {
return getTransferItemsFieldBuilder().addBuilder(
emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.getDefaultInstance());
}
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
public emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.Builder addTransferItemsBuilder(
int index) {
return getTransferItemsFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.getDefaultInstance());
}
/**
* repeated .GachaTransferItem transfer_items = 3;
*/
public java.util.List
getTransferItemsBuilderList() {
return getTransferItemsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem, emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.Builder, emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItemOrBuilder>
getTransferItemsFieldBuilder() {
if (transferItemsBuilder_ == null) {
transferItemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem, emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItem.Builder, emu.grasscutter.net.proto.GachaTransferItemOuterClass.GachaTransferItemOrBuilder>(
transferItems_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
transferItems_ = null;
}
return transferItemsBuilder_;
}
private java.util.List tokenItemList_ =
java.util.Collections.emptyList();
private void ensureTokenItemListIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
tokenItemList_ = new java.util.ArrayList(tokenItemList_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder> tokenItemListBuilder_;
/**
* repeated .ItemParam token_item_list = 9;
*/
public java.util.List getTokenItemListList() {
if (tokenItemListBuilder_ == null) {
return java.util.Collections.unmodifiableList(tokenItemList_);
} else {
return tokenItemListBuilder_.getMessageList();
}
}
/**
* repeated .ItemParam token_item_list = 9;
*/
public int getTokenItemListCount() {
if (tokenItemListBuilder_ == null) {
return tokenItemList_.size();
} else {
return tokenItemListBuilder_.getCount();
}
}
/**
* repeated .ItemParam token_item_list = 9;
*/
public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam getTokenItemList(int index) {
if (tokenItemListBuilder_ == null) {
return tokenItemList_.get(index);
} else {
return tokenItemListBuilder_.getMessage(index);
}
}
/**
* repeated .ItemParam token_item_list = 9;
*/
public Builder setTokenItemList(
int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
if (tokenItemListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTokenItemListIsMutable();
tokenItemList_.set(index, value);
onChanged();
} else {
tokenItemListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .ItemParam token_item_list = 9;
*/
public Builder setTokenItemList(
int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
if (tokenItemListBuilder_ == null) {
ensureTokenItemListIsMutable();
tokenItemList_.set(index, builderForValue.build());
onChanged();
} else {
tokenItemListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .ItemParam token_item_list = 9;
*/
public Builder addTokenItemList(emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
if (tokenItemListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTokenItemListIsMutable();
tokenItemList_.add(value);
onChanged();
} else {
tokenItemListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .ItemParam token_item_list = 9;
*/
public Builder addTokenItemList(
int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam value) {
if (tokenItemListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTokenItemListIsMutable();
tokenItemList_.add(index, value);
onChanged();
} else {
tokenItemListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .ItemParam token_item_list = 9;
*/
public Builder addTokenItemList(
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
if (tokenItemListBuilder_ == null) {
ensureTokenItemListIsMutable();
tokenItemList_.add(builderForValue.build());
onChanged();
} else {
tokenItemListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .ItemParam token_item_list = 9;
*/
public Builder addTokenItemList(
int index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder builderForValue) {
if (tokenItemListBuilder_ == null) {
ensureTokenItemListIsMutable();
tokenItemList_.add(index, builderForValue.build());
onChanged();
} else {
tokenItemListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .ItemParam token_item_list = 9;
*/
public Builder addAllTokenItemList(
java.lang.Iterable extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam> values) {
if (tokenItemListBuilder_ == null) {
ensureTokenItemListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tokenItemList_);
onChanged();
} else {
tokenItemListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .ItemParam token_item_list = 9;
*/
public Builder clearTokenItemList() {
if (tokenItemListBuilder_ == null) {
tokenItemList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
tokenItemListBuilder_.clear();
}
return this;
}
/**
* repeated .ItemParam token_item_list = 9;
*/
public Builder removeTokenItemList(int index) {
if (tokenItemListBuilder_ == null) {
ensureTokenItemListIsMutable();
tokenItemList_.remove(index);
onChanged();
} else {
tokenItemListBuilder_.remove(index);
}
return this;
}
/**
* repeated .ItemParam token_item_list = 9;
*/
public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder getTokenItemListBuilder(
int index) {
return getTokenItemListFieldBuilder().getBuilder(index);
}
/**
* repeated .ItemParam token_item_list = 9;
*/
public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder getTokenItemListOrBuilder(
int index) {
if (tokenItemListBuilder_ == null) {
return tokenItemList_.get(index); } else {
return tokenItemListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .ItemParam token_item_list = 9;
*/
public java.util.List extends emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder>
getTokenItemListOrBuilderList() {
if (tokenItemListBuilder_ != null) {
return tokenItemListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(tokenItemList_);
}
}
/**
* repeated .ItemParam token_item_list = 9;
*/
public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder addTokenItemListBuilder() {
return getTokenItemListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance());
}
/**
* repeated .ItemParam token_item_list = 9;
*/
public emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder addTokenItemListBuilder(
int index) {
return getTokenItemListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.getDefaultInstance());
}
/**
* repeated .ItemParam token_item_list = 9;
*/
public java.util.List
getTokenItemListBuilderList() {
return getTokenItemListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder>
getTokenItemListFieldBuilder() {
if (tokenItemListBuilder_ == null) {
tokenItemListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParam.Builder, emu.grasscutter.net.proto.ItemParamOuterClass.ItemParamOrBuilder>(
tokenItemList_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
tokenItemList_ = null;
}
return tokenItemListBuilder_;
}
private boolean isGachaItemNew_ ;
/**
*
* DKPCGKMJNMC
*
*
* bool is_gacha_item_new = 1;
* @return The isGachaItemNew.
*/
@java.lang.Override
public boolean getIsGachaItemNew() {
return isGachaItemNew_;
}
/**
*
* DKPCGKMJNMC
*
*
* bool is_gacha_item_new = 1;
* @param value The isGachaItemNew to set.
* @return This builder for chaining.
*/
public Builder setIsGachaItemNew(boolean value) {
isGachaItemNew_ = value;
onChanged();
return this;
}
/**
*
* DKPCGKMJNMC
*
*
* bool is_gacha_item_new = 1;
* @return This builder for chaining.
*/
public Builder clearIsGachaItemNew() {
isGachaItemNew_ = false;
onChanged();
return this;
}
private boolean isFlashCard_ ;
/**
*
* HBJJJDGGBCN
*
*
* bool is_flash_card = 11;
* @return The isFlashCard.
*/
@java.lang.Override
public boolean getIsFlashCard() {
return isFlashCard_;
}
/**
*
* HBJJJDGGBCN
*
*
* bool is_flash_card = 11;
* @param value The isFlashCard to set.
* @return This builder for chaining.
*/
public Builder setIsFlashCard(boolean value) {
isFlashCard_ = value;
onChanged();
return this;
}
/**
*
* HBJJJDGGBCN
*
*
* bool is_flash_card = 11;
* @return This builder for chaining.
*/
public Builder clearIsFlashCard() {
isFlashCard_ = false;
onChanged();
return this;
}
@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:GachaItem)
}
// @@protoc_insertion_point(class_scope:GachaItem)
private static final emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem();
}
public static emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GachaItem parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GachaItem(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public emu.grasscutter.net.proto.GachaItemOuterClass.GachaItem getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_GachaItem_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_GachaItem_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\017GachaItem.proto\032\027GachaTransferItem.pro" +
"to\032\017ItemParam.proto\"\256\001\n\tGachaItem\022\036\n\ngac" +
"ha_item\030\r \001(\0132\n.ItemParam\022*\n\016transfer_it" +
"ems\030\003 \003(\0132\022.GachaTransferItem\022#\n\017token_i" +
"tem_list\030\t \003(\0132\n.ItemParam\022\031\n\021is_gacha_i" +
"tem_new\030\001 \001(\010\022\025\n\ris_flash_card\030\013 \001(\010B\033\n\031" +
"emu.grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.GachaTransferItemOuterClass.getDescriptor(),
emu.grasscutter.net.proto.ItemParamOuterClass.getDescriptor(),
});
internal_static_GachaItem_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_GachaItem_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GachaItem_descriptor,
new java.lang.String[] { "GachaItem", "TransferItems", "TokenItemList", "IsGachaItemNew", "IsFlashCard", });
emu.grasscutter.net.proto.GachaTransferItemOuterClass.getDescriptor();
emu.grasscutter.net.proto.ItemParamOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}