emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grasscutter Show documentation
Show all versions of grasscutter Show documentation
A server software reimplementation for an anime game.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GCGSkillPreviewNotify.proto
package emu.grasscutter.net.proto;
public final class GCGSkillPreviewNotifyOuterClass {
private GCGSkillPreviewNotifyOuterClass() {}
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 GCGSkillPreviewNotifyOrBuilder extends
// @@protoc_insertion_point(interface_extends:GCGSkillPreviewNotify)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
java.util.List
getSkillPreviewListList();
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfo getSkillPreviewList(int index);
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
int getSkillPreviewListCount();
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
java.util.List extends emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfoOrBuilder>
getSkillPreviewListOrBuilderList();
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfoOrBuilder getSkillPreviewListOrBuilder(
int index);
/**
* uint32 EOKDJJAKKPJ = 11;
* @return The eOKDJJAKKPJ.
*/
int getEOKDJJAKKPJ();
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
java.util.List
getPlayCardListList();
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfo getPlayCardList(int index);
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
int getPlayCardListCount();
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
java.util.List extends emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfoOrBuilder>
getPlayCardListOrBuilderList();
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfoOrBuilder getPlayCardListOrBuilder(
int index);
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
java.util.List
getChangeOnstagePreviewListList();
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfo getChangeOnstagePreviewList(int index);
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
int getChangeOnstagePreviewListCount();
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
java.util.List extends emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfoOrBuilder>
getChangeOnstagePreviewListOrBuilderList();
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfoOrBuilder getChangeOnstagePreviewListOrBuilder(
int index);
/**
* uint32 controller_id = 10;
* @return The controllerId.
*/
int getControllerId();
}
/**
*
* CmdId: 23522
* Obf: GNFJLAAJCHF
*
*
* Protobuf type {@code GCGSkillPreviewNotify}
*/
public static final class GCGSkillPreviewNotify extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:GCGSkillPreviewNotify)
GCGSkillPreviewNotifyOrBuilder {
private static final long serialVersionUID = 0L;
// Use GCGSkillPreviewNotify.newBuilder() to construct.
private GCGSkillPreviewNotify(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GCGSkillPreviewNotify() {
skillPreviewList_ = java.util.Collections.emptyList();
playCardList_ = java.util.Collections.emptyList();
changeOnstagePreviewList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GCGSkillPreviewNotify();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GCGSkillPreviewNotify(
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 58: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
skillPreviewList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
skillPreviewList_.add(
input.readMessage(emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfo.parser(), extensionRegistry));
break;
}
case 80: {
controllerId_ = input.readUInt32();
break;
}
case 88: {
eOKDJJAKKPJ_ = input.readUInt32();
break;
}
case 106: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
changeOnstagePreviewList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
changeOnstagePreviewList_.add(
input.readMessage(emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfo.parser(), extensionRegistry));
break;
}
case 114: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
playCardList_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
playCardList_.add(
input.readMessage(emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfo.parser(), extensionRegistry));
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)) {
skillPreviewList_ = java.util.Collections.unmodifiableList(skillPreviewList_);
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
changeOnstagePreviewList_ = java.util.Collections.unmodifiableList(changeOnstagePreviewList_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
playCardList_ = java.util.Collections.unmodifiableList(playCardList_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.internal_static_GCGSkillPreviewNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.internal_static_GCGSkillPreviewNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify.class, emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify.Builder.class);
}
public static final int SKILL_PREVIEW_LIST_FIELD_NUMBER = 7;
private java.util.List skillPreviewList_;
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
@java.lang.Override
public java.util.List getSkillPreviewListList() {
return skillPreviewList_;
}
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
@java.lang.Override
public java.util.List extends emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfoOrBuilder>
getSkillPreviewListOrBuilderList() {
return skillPreviewList_;
}
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
@java.lang.Override
public int getSkillPreviewListCount() {
return skillPreviewList_.size();
}
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
@java.lang.Override
public emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfo getSkillPreviewList(int index) {
return skillPreviewList_.get(index);
}
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
@java.lang.Override
public emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfoOrBuilder getSkillPreviewListOrBuilder(
int index) {
return skillPreviewList_.get(index);
}
public static final int EOKDJJAKKPJ_FIELD_NUMBER = 11;
private int eOKDJJAKKPJ_;
/**
* uint32 EOKDJJAKKPJ = 11;
* @return The eOKDJJAKKPJ.
*/
@java.lang.Override
public int getEOKDJJAKKPJ() {
return eOKDJJAKKPJ_;
}
public static final int PLAY_CARD_LIST_FIELD_NUMBER = 14;
private java.util.List playCardList_;
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
@java.lang.Override
public java.util.List getPlayCardListList() {
return playCardList_;
}
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
@java.lang.Override
public java.util.List extends emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfoOrBuilder>
getPlayCardListOrBuilderList() {
return playCardList_;
}
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
@java.lang.Override
public int getPlayCardListCount() {
return playCardList_.size();
}
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
@java.lang.Override
public emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfo getPlayCardList(int index) {
return playCardList_.get(index);
}
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
@java.lang.Override
public emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfoOrBuilder getPlayCardListOrBuilder(
int index) {
return playCardList_.get(index);
}
public static final int CHANGE_ONSTAGE_PREVIEW_LIST_FIELD_NUMBER = 13;
private java.util.List changeOnstagePreviewList_;
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
@java.lang.Override
public java.util.List getChangeOnstagePreviewListList() {
return changeOnstagePreviewList_;
}
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
@java.lang.Override
public java.util.List extends emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfoOrBuilder>
getChangeOnstagePreviewListOrBuilderList() {
return changeOnstagePreviewList_;
}
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
@java.lang.Override
public int getChangeOnstagePreviewListCount() {
return changeOnstagePreviewList_.size();
}
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
@java.lang.Override
public emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfo getChangeOnstagePreviewList(int index) {
return changeOnstagePreviewList_.get(index);
}
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
@java.lang.Override
public emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfoOrBuilder getChangeOnstagePreviewListOrBuilder(
int index) {
return changeOnstagePreviewList_.get(index);
}
public static final int CONTROLLER_ID_FIELD_NUMBER = 10;
private int controllerId_;
/**
* uint32 controller_id = 10;
* @return The controllerId.
*/
@java.lang.Override
public int getControllerId() {
return controllerId_;
}
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 {
for (int i = 0; i < skillPreviewList_.size(); i++) {
output.writeMessage(7, skillPreviewList_.get(i));
}
if (controllerId_ != 0) {
output.writeUInt32(10, controllerId_);
}
if (eOKDJJAKKPJ_ != 0) {
output.writeUInt32(11, eOKDJJAKKPJ_);
}
for (int i = 0; i < changeOnstagePreviewList_.size(); i++) {
output.writeMessage(13, changeOnstagePreviewList_.get(i));
}
for (int i = 0; i < playCardList_.size(); i++) {
output.writeMessage(14, playCardList_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < skillPreviewList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, skillPreviewList_.get(i));
}
if (controllerId_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(10, controllerId_);
}
if (eOKDJJAKKPJ_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(11, eOKDJJAKKPJ_);
}
for (int i = 0; i < changeOnstagePreviewList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, changeOnstagePreviewList_.get(i));
}
for (int i = 0; i < playCardList_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, playCardList_.get(i));
}
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.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify)) {
return super.equals(obj);
}
emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify other = (emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify) obj;
if (!getSkillPreviewListList()
.equals(other.getSkillPreviewListList())) return false;
if (getEOKDJJAKKPJ()
!= other.getEOKDJJAKKPJ()) return false;
if (!getPlayCardListList()
.equals(other.getPlayCardListList())) return false;
if (!getChangeOnstagePreviewListList()
.equals(other.getChangeOnstagePreviewListList())) return false;
if (getControllerId()
!= other.getControllerId()) 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 (getSkillPreviewListCount() > 0) {
hash = (37 * hash) + SKILL_PREVIEW_LIST_FIELD_NUMBER;
hash = (53 * hash) + getSkillPreviewListList().hashCode();
}
hash = (37 * hash) + EOKDJJAKKPJ_FIELD_NUMBER;
hash = (53 * hash) + getEOKDJJAKKPJ();
if (getPlayCardListCount() > 0) {
hash = (37 * hash) + PLAY_CARD_LIST_FIELD_NUMBER;
hash = (53 * hash) + getPlayCardListList().hashCode();
}
if (getChangeOnstagePreviewListCount() > 0) {
hash = (37 * hash) + CHANGE_ONSTAGE_PREVIEW_LIST_FIELD_NUMBER;
hash = (53 * hash) + getChangeOnstagePreviewListList().hashCode();
}
hash = (37 * hash) + CONTROLLER_ID_FIELD_NUMBER;
hash = (53 * hash) + getControllerId();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify 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.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify 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.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify 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.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify 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.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify 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.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify 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;
}
/**
*
* CmdId: 23522
* Obf: GNFJLAAJCHF
*
*
* Protobuf type {@code GCGSkillPreviewNotify}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:GCGSkillPreviewNotify)
emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotifyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.internal_static_GCGSkillPreviewNotify_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.internal_static_GCGSkillPreviewNotify_fieldAccessorTable
.ensureFieldAccessorsInitialized(
emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify.class, emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify.Builder.class);
}
// Construct using emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getSkillPreviewListFieldBuilder();
getPlayCardListFieldBuilder();
getChangeOnstagePreviewListFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (skillPreviewListBuilder_ == null) {
skillPreviewList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
skillPreviewListBuilder_.clear();
}
eOKDJJAKKPJ_ = 0;
if (playCardListBuilder_ == null) {
playCardList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
playCardListBuilder_.clear();
}
if (changeOnstagePreviewListBuilder_ == null) {
changeOnstagePreviewList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
changeOnstagePreviewListBuilder_.clear();
}
controllerId_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.internal_static_GCGSkillPreviewNotify_descriptor;
}
@java.lang.Override
public emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify getDefaultInstanceForType() {
return emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify.getDefaultInstance();
}
@java.lang.Override
public emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify build() {
emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify buildPartial() {
emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify result = new emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify(this);
int from_bitField0_ = bitField0_;
if (skillPreviewListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
skillPreviewList_ = java.util.Collections.unmodifiableList(skillPreviewList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.skillPreviewList_ = skillPreviewList_;
} else {
result.skillPreviewList_ = skillPreviewListBuilder_.build();
}
result.eOKDJJAKKPJ_ = eOKDJJAKKPJ_;
if (playCardListBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
playCardList_ = java.util.Collections.unmodifiableList(playCardList_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.playCardList_ = playCardList_;
} else {
result.playCardList_ = playCardListBuilder_.build();
}
if (changeOnstagePreviewListBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
changeOnstagePreviewList_ = java.util.Collections.unmodifiableList(changeOnstagePreviewList_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.changeOnstagePreviewList_ = changeOnstagePreviewList_;
} else {
result.changeOnstagePreviewList_ = changeOnstagePreviewListBuilder_.build();
}
result.controllerId_ = controllerId_;
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.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify) {
return mergeFrom((emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify other) {
if (other == emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify.getDefaultInstance()) return this;
if (skillPreviewListBuilder_ == null) {
if (!other.skillPreviewList_.isEmpty()) {
if (skillPreviewList_.isEmpty()) {
skillPreviewList_ = other.skillPreviewList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureSkillPreviewListIsMutable();
skillPreviewList_.addAll(other.skillPreviewList_);
}
onChanged();
}
} else {
if (!other.skillPreviewList_.isEmpty()) {
if (skillPreviewListBuilder_.isEmpty()) {
skillPreviewListBuilder_.dispose();
skillPreviewListBuilder_ = null;
skillPreviewList_ = other.skillPreviewList_;
bitField0_ = (bitField0_ & ~0x00000001);
skillPreviewListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSkillPreviewListFieldBuilder() : null;
} else {
skillPreviewListBuilder_.addAllMessages(other.skillPreviewList_);
}
}
}
if (other.getEOKDJJAKKPJ() != 0) {
setEOKDJJAKKPJ(other.getEOKDJJAKKPJ());
}
if (playCardListBuilder_ == null) {
if (!other.playCardList_.isEmpty()) {
if (playCardList_.isEmpty()) {
playCardList_ = other.playCardList_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensurePlayCardListIsMutable();
playCardList_.addAll(other.playCardList_);
}
onChanged();
}
} else {
if (!other.playCardList_.isEmpty()) {
if (playCardListBuilder_.isEmpty()) {
playCardListBuilder_.dispose();
playCardListBuilder_ = null;
playCardList_ = other.playCardList_;
bitField0_ = (bitField0_ & ~0x00000002);
playCardListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPlayCardListFieldBuilder() : null;
} else {
playCardListBuilder_.addAllMessages(other.playCardList_);
}
}
}
if (changeOnstagePreviewListBuilder_ == null) {
if (!other.changeOnstagePreviewList_.isEmpty()) {
if (changeOnstagePreviewList_.isEmpty()) {
changeOnstagePreviewList_ = other.changeOnstagePreviewList_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureChangeOnstagePreviewListIsMutable();
changeOnstagePreviewList_.addAll(other.changeOnstagePreviewList_);
}
onChanged();
}
} else {
if (!other.changeOnstagePreviewList_.isEmpty()) {
if (changeOnstagePreviewListBuilder_.isEmpty()) {
changeOnstagePreviewListBuilder_.dispose();
changeOnstagePreviewListBuilder_ = null;
changeOnstagePreviewList_ = other.changeOnstagePreviewList_;
bitField0_ = (bitField0_ & ~0x00000004);
changeOnstagePreviewListBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getChangeOnstagePreviewListFieldBuilder() : null;
} else {
changeOnstagePreviewListBuilder_.addAllMessages(other.changeOnstagePreviewList_);
}
}
}
if (other.getControllerId() != 0) {
setControllerId(other.getControllerId());
}
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.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List skillPreviewList_ =
java.util.Collections.emptyList();
private void ensureSkillPreviewListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
skillPreviewList_ = new java.util.ArrayList(skillPreviewList_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfo, emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfo.Builder, emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfoOrBuilder> skillPreviewListBuilder_;
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
public java.util.List getSkillPreviewListList() {
if (skillPreviewListBuilder_ == null) {
return java.util.Collections.unmodifiableList(skillPreviewList_);
} else {
return skillPreviewListBuilder_.getMessageList();
}
}
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
public int getSkillPreviewListCount() {
if (skillPreviewListBuilder_ == null) {
return skillPreviewList_.size();
} else {
return skillPreviewListBuilder_.getCount();
}
}
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
public emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfo getSkillPreviewList(int index) {
if (skillPreviewListBuilder_ == null) {
return skillPreviewList_.get(index);
} else {
return skillPreviewListBuilder_.getMessage(index);
}
}
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
public Builder setSkillPreviewList(
int index, emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfo value) {
if (skillPreviewListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSkillPreviewListIsMutable();
skillPreviewList_.set(index, value);
onChanged();
} else {
skillPreviewListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
public Builder setSkillPreviewList(
int index, emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfo.Builder builderForValue) {
if (skillPreviewListBuilder_ == null) {
ensureSkillPreviewListIsMutable();
skillPreviewList_.set(index, builderForValue.build());
onChanged();
} else {
skillPreviewListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
public Builder addSkillPreviewList(emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfo value) {
if (skillPreviewListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSkillPreviewListIsMutable();
skillPreviewList_.add(value);
onChanged();
} else {
skillPreviewListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
public Builder addSkillPreviewList(
int index, emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfo value) {
if (skillPreviewListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSkillPreviewListIsMutable();
skillPreviewList_.add(index, value);
onChanged();
} else {
skillPreviewListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
public Builder addSkillPreviewList(
emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfo.Builder builderForValue) {
if (skillPreviewListBuilder_ == null) {
ensureSkillPreviewListIsMutable();
skillPreviewList_.add(builderForValue.build());
onChanged();
} else {
skillPreviewListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
public Builder addSkillPreviewList(
int index, emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfo.Builder builderForValue) {
if (skillPreviewListBuilder_ == null) {
ensureSkillPreviewListIsMutable();
skillPreviewList_.add(index, builderForValue.build());
onChanged();
} else {
skillPreviewListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
public Builder addAllSkillPreviewList(
java.lang.Iterable extends emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfo> values) {
if (skillPreviewListBuilder_ == null) {
ensureSkillPreviewListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, skillPreviewList_);
onChanged();
} else {
skillPreviewListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
public Builder clearSkillPreviewList() {
if (skillPreviewListBuilder_ == null) {
skillPreviewList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
skillPreviewListBuilder_.clear();
}
return this;
}
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
public Builder removeSkillPreviewList(int index) {
if (skillPreviewListBuilder_ == null) {
ensureSkillPreviewListIsMutable();
skillPreviewList_.remove(index);
onChanged();
} else {
skillPreviewListBuilder_.remove(index);
}
return this;
}
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
public emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfo.Builder getSkillPreviewListBuilder(
int index) {
return getSkillPreviewListFieldBuilder().getBuilder(index);
}
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
public emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfoOrBuilder getSkillPreviewListOrBuilder(
int index) {
if (skillPreviewListBuilder_ == null) {
return skillPreviewList_.get(index); } else {
return skillPreviewListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
public java.util.List extends emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfoOrBuilder>
getSkillPreviewListOrBuilderList() {
if (skillPreviewListBuilder_ != null) {
return skillPreviewListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(skillPreviewList_);
}
}
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
public emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfo.Builder addSkillPreviewListBuilder() {
return getSkillPreviewListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfo.getDefaultInstance());
}
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
public emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfo.Builder addSkillPreviewListBuilder(
int index) {
return getSkillPreviewListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfo.getDefaultInstance());
}
/**
* repeated .GCGSkillPreviewInfo skill_preview_list = 7;
*/
public java.util.List
getSkillPreviewListBuilderList() {
return getSkillPreviewListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfo, emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfo.Builder, emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfoOrBuilder>
getSkillPreviewListFieldBuilder() {
if (skillPreviewListBuilder_ == null) {
skillPreviewListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfo, emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfo.Builder, emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.GCGSkillPreviewInfoOrBuilder>(
skillPreviewList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
skillPreviewList_ = null;
}
return skillPreviewListBuilder_;
}
private int eOKDJJAKKPJ_ ;
/**
* uint32 EOKDJJAKKPJ = 11;
* @return The eOKDJJAKKPJ.
*/
@java.lang.Override
public int getEOKDJJAKKPJ() {
return eOKDJJAKKPJ_;
}
/**
* uint32 EOKDJJAKKPJ = 11;
* @param value The eOKDJJAKKPJ to set.
* @return This builder for chaining.
*/
public Builder setEOKDJJAKKPJ(int value) {
eOKDJJAKKPJ_ = value;
onChanged();
return this;
}
/**
* uint32 EOKDJJAKKPJ = 11;
* @return This builder for chaining.
*/
public Builder clearEOKDJJAKKPJ() {
eOKDJJAKKPJ_ = 0;
onChanged();
return this;
}
private java.util.List playCardList_ =
java.util.Collections.emptyList();
private void ensurePlayCardListIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
playCardList_ = new java.util.ArrayList(playCardList_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfo, emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfo.Builder, emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfoOrBuilder> playCardListBuilder_;
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
public java.util.List getPlayCardListList() {
if (playCardListBuilder_ == null) {
return java.util.Collections.unmodifiableList(playCardList_);
} else {
return playCardListBuilder_.getMessageList();
}
}
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
public int getPlayCardListCount() {
if (playCardListBuilder_ == null) {
return playCardList_.size();
} else {
return playCardListBuilder_.getCount();
}
}
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
public emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfo getPlayCardList(int index) {
if (playCardListBuilder_ == null) {
return playCardList_.get(index);
} else {
return playCardListBuilder_.getMessage(index);
}
}
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
public Builder setPlayCardList(
int index, emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfo value) {
if (playCardListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePlayCardListIsMutable();
playCardList_.set(index, value);
onChanged();
} else {
playCardListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
public Builder setPlayCardList(
int index, emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfo.Builder builderForValue) {
if (playCardListBuilder_ == null) {
ensurePlayCardListIsMutable();
playCardList_.set(index, builderForValue.build());
onChanged();
} else {
playCardListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
public Builder addPlayCardList(emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfo value) {
if (playCardListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePlayCardListIsMutable();
playCardList_.add(value);
onChanged();
} else {
playCardListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
public Builder addPlayCardList(
int index, emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfo value) {
if (playCardListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePlayCardListIsMutable();
playCardList_.add(index, value);
onChanged();
} else {
playCardListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
public Builder addPlayCardList(
emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfo.Builder builderForValue) {
if (playCardListBuilder_ == null) {
ensurePlayCardListIsMutable();
playCardList_.add(builderForValue.build());
onChanged();
} else {
playCardListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
public Builder addPlayCardList(
int index, emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfo.Builder builderForValue) {
if (playCardListBuilder_ == null) {
ensurePlayCardListIsMutable();
playCardList_.add(index, builderForValue.build());
onChanged();
} else {
playCardListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
public Builder addAllPlayCardList(
java.lang.Iterable extends emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfo> values) {
if (playCardListBuilder_ == null) {
ensurePlayCardListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, playCardList_);
onChanged();
} else {
playCardListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
public Builder clearPlayCardList() {
if (playCardListBuilder_ == null) {
playCardList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
playCardListBuilder_.clear();
}
return this;
}
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
public Builder removePlayCardList(int index) {
if (playCardListBuilder_ == null) {
ensurePlayCardListIsMutable();
playCardList_.remove(index);
onChanged();
} else {
playCardListBuilder_.remove(index);
}
return this;
}
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
public emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfo.Builder getPlayCardListBuilder(
int index) {
return getPlayCardListFieldBuilder().getBuilder(index);
}
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
public emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfoOrBuilder getPlayCardListOrBuilder(
int index) {
if (playCardListBuilder_ == null) {
return playCardList_.get(index); } else {
return playCardListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
public java.util.List extends emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfoOrBuilder>
getPlayCardListOrBuilderList() {
if (playCardListBuilder_ != null) {
return playCardListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(playCardList_);
}
}
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
public emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfo.Builder addPlayCardListBuilder() {
return getPlayCardListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfo.getDefaultInstance());
}
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
public emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfo.Builder addPlayCardListBuilder(
int index) {
return getPlayCardListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfo.getDefaultInstance());
}
/**
* repeated .GCGSkillPreviewPlayCardInfo play_card_list = 14;
*/
public java.util.List
getPlayCardListBuilderList() {
return getPlayCardListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfo, emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfo.Builder, emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfoOrBuilder>
getPlayCardListFieldBuilder() {
if (playCardListBuilder_ == null) {
playCardListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfo, emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfo.Builder, emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.GCGSkillPreviewPlayCardInfoOrBuilder>(
playCardList_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
playCardList_ = null;
}
return playCardListBuilder_;
}
private java.util.List changeOnstagePreviewList_ =
java.util.Collections.emptyList();
private void ensureChangeOnstagePreviewListIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
changeOnstagePreviewList_ = new java.util.ArrayList(changeOnstagePreviewList_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfo, emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfo.Builder, emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfoOrBuilder> changeOnstagePreviewListBuilder_;
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
public java.util.List getChangeOnstagePreviewListList() {
if (changeOnstagePreviewListBuilder_ == null) {
return java.util.Collections.unmodifiableList(changeOnstagePreviewList_);
} else {
return changeOnstagePreviewListBuilder_.getMessageList();
}
}
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
public int getChangeOnstagePreviewListCount() {
if (changeOnstagePreviewListBuilder_ == null) {
return changeOnstagePreviewList_.size();
} else {
return changeOnstagePreviewListBuilder_.getCount();
}
}
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
public emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfo getChangeOnstagePreviewList(int index) {
if (changeOnstagePreviewListBuilder_ == null) {
return changeOnstagePreviewList_.get(index);
} else {
return changeOnstagePreviewListBuilder_.getMessage(index);
}
}
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
public Builder setChangeOnstagePreviewList(
int index, emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfo value) {
if (changeOnstagePreviewListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChangeOnstagePreviewListIsMutable();
changeOnstagePreviewList_.set(index, value);
onChanged();
} else {
changeOnstagePreviewListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
public Builder setChangeOnstagePreviewList(
int index, emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfo.Builder builderForValue) {
if (changeOnstagePreviewListBuilder_ == null) {
ensureChangeOnstagePreviewListIsMutable();
changeOnstagePreviewList_.set(index, builderForValue.build());
onChanged();
} else {
changeOnstagePreviewListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
public Builder addChangeOnstagePreviewList(emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfo value) {
if (changeOnstagePreviewListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChangeOnstagePreviewListIsMutable();
changeOnstagePreviewList_.add(value);
onChanged();
} else {
changeOnstagePreviewListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
public Builder addChangeOnstagePreviewList(
int index, emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfo value) {
if (changeOnstagePreviewListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChangeOnstagePreviewListIsMutable();
changeOnstagePreviewList_.add(index, value);
onChanged();
} else {
changeOnstagePreviewListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
public Builder addChangeOnstagePreviewList(
emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfo.Builder builderForValue) {
if (changeOnstagePreviewListBuilder_ == null) {
ensureChangeOnstagePreviewListIsMutable();
changeOnstagePreviewList_.add(builderForValue.build());
onChanged();
} else {
changeOnstagePreviewListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
public Builder addChangeOnstagePreviewList(
int index, emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfo.Builder builderForValue) {
if (changeOnstagePreviewListBuilder_ == null) {
ensureChangeOnstagePreviewListIsMutable();
changeOnstagePreviewList_.add(index, builderForValue.build());
onChanged();
} else {
changeOnstagePreviewListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
public Builder addAllChangeOnstagePreviewList(
java.lang.Iterable extends emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfo> values) {
if (changeOnstagePreviewListBuilder_ == null) {
ensureChangeOnstagePreviewListIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, changeOnstagePreviewList_);
onChanged();
} else {
changeOnstagePreviewListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
public Builder clearChangeOnstagePreviewList() {
if (changeOnstagePreviewListBuilder_ == null) {
changeOnstagePreviewList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
changeOnstagePreviewListBuilder_.clear();
}
return this;
}
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
public Builder removeChangeOnstagePreviewList(int index) {
if (changeOnstagePreviewListBuilder_ == null) {
ensureChangeOnstagePreviewListIsMutable();
changeOnstagePreviewList_.remove(index);
onChanged();
} else {
changeOnstagePreviewListBuilder_.remove(index);
}
return this;
}
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
public emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfo.Builder getChangeOnstagePreviewListBuilder(
int index) {
return getChangeOnstagePreviewListFieldBuilder().getBuilder(index);
}
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
public emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfoOrBuilder getChangeOnstagePreviewListOrBuilder(
int index) {
if (changeOnstagePreviewListBuilder_ == null) {
return changeOnstagePreviewList_.get(index); } else {
return changeOnstagePreviewListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
public java.util.List extends emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfoOrBuilder>
getChangeOnstagePreviewListOrBuilderList() {
if (changeOnstagePreviewListBuilder_ != null) {
return changeOnstagePreviewListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(changeOnstagePreviewList_);
}
}
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
public emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfo.Builder addChangeOnstagePreviewListBuilder() {
return getChangeOnstagePreviewListFieldBuilder().addBuilder(
emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfo.getDefaultInstance());
}
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
public emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfo.Builder addChangeOnstagePreviewListBuilder(
int index) {
return getChangeOnstagePreviewListFieldBuilder().addBuilder(
index, emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfo.getDefaultInstance());
}
/**
* repeated .GCGChangeOnstageInfo change_onstage_preview_list = 13;
*/
public java.util.List
getChangeOnstagePreviewListBuilderList() {
return getChangeOnstagePreviewListFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfo, emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfo.Builder, emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfoOrBuilder>
getChangeOnstagePreviewListFieldBuilder() {
if (changeOnstagePreviewListBuilder_ == null) {
changeOnstagePreviewListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfo, emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfo.Builder, emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.GCGChangeOnstageInfoOrBuilder>(
changeOnstagePreviewList_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
changeOnstagePreviewList_ = null;
}
return changeOnstagePreviewListBuilder_;
}
private int controllerId_ ;
/**
* uint32 controller_id = 10;
* @return The controllerId.
*/
@java.lang.Override
public int getControllerId() {
return controllerId_;
}
/**
* uint32 controller_id = 10;
* @param value The controllerId to set.
* @return This builder for chaining.
*/
public Builder setControllerId(int value) {
controllerId_ = value;
onChanged();
return this;
}
/**
* uint32 controller_id = 10;
* @return This builder for chaining.
*/
public Builder clearControllerId() {
controllerId_ = 0;
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:GCGSkillPreviewNotify)
}
// @@protoc_insertion_point(class_scope:GCGSkillPreviewNotify)
private static final emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify();
}
public static emu.grasscutter.net.proto.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GCGSkillPreviewNotify parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GCGSkillPreviewNotify(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.GCGSkillPreviewNotifyOuterClass.GCGSkillPreviewNotify getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_GCGSkillPreviewNotify_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_GCGSkillPreviewNotify_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\033GCGSkillPreviewNotify.proto\032\031GCGSkillP" +
"reviewInfo.proto\032!GCGSkillPreviewPlayCar" +
"dInfo.proto\032\032GCGChangeOnstageInfo.proto\"" +
"\347\001\n\025GCGSkillPreviewNotify\0220\n\022skill_previ" +
"ew_list\030\007 \003(\0132\024.GCGSkillPreviewInfo\022\023\n\013E" +
"OKDJJAKKPJ\030\013 \001(\r\0224\n\016play_card_list\030\016 \003(\013" +
"2\034.GCGSkillPreviewPlayCardInfo\022:\n\033change" +
"_onstage_preview_list\030\r \003(\0132\025.GCGChangeO" +
"nstageInfo\022\025\n\rcontroller_id\030\n \001(\rB\033\n\031emu" +
".grasscutter.net.protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.getDescriptor(),
emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.getDescriptor(),
emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.getDescriptor(),
});
internal_static_GCGSkillPreviewNotify_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_GCGSkillPreviewNotify_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_GCGSkillPreviewNotify_descriptor,
new java.lang.String[] { "SkillPreviewList", "EOKDJJAKKPJ", "PlayCardList", "ChangeOnstagePreviewList", "ControllerId", });
emu.grasscutter.net.proto.GCGSkillPreviewInfoOuterClass.getDescriptor();
emu.grasscutter.net.proto.GCGSkillPreviewPlayCardInfoOuterClass.getDescriptor();
emu.grasscutter.net.proto.GCGChangeOnstageInfoOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}