mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-02-13 19:32:53 +08:00
1008 lines
34 KiB
Java
1008 lines
34 KiB
Java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||
|
// source: GCGSkillPreviewCardInfo.proto
|
||
|
|
||
|
package emu.grasscutter.net.proto;
|
||
|
|
||
|
public final class GCGSkillPreviewCardInfoOuterClass {
|
||
|
private GCGSkillPreviewCardInfoOuterClass() {}
|
||
|
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 GCGSkillPreviewCardInfoOrBuilder extends
|
||
|
// @@protoc_insertion_point(interface_extends:GCGSkillPreviewCardInfo)
|
||
|
com.google.protobuf.MessageOrBuilder {
|
||
|
|
||
|
/**
|
||
|
* <code>uint32 owner_card_guid = 5;</code>
|
||
|
* @return The ownerCardGuid.
|
||
|
*/
|
||
|
int getOwnerCardGuid();
|
||
|
|
||
|
/**
|
||
|
* <code>.GCGZoneType JIDNEOMFFLG = 8;</code>
|
||
|
* @return The enum numeric value on the wire for jIDNEOMFFLG.
|
||
|
*/
|
||
|
int getJIDNEOMFFLGValue();
|
||
|
/**
|
||
|
* <code>.GCGZoneType JIDNEOMFFLG = 8;</code>
|
||
|
* @return The jIDNEOMFFLG.
|
||
|
*/
|
||
|
emu.grasscutter.net.proto.GCGZoneTypeOuterClass.GCGZoneType getJIDNEOMFFLG();
|
||
|
|
||
|
/**
|
||
|
* <code>uint32 ALBELDPNILM = 7;</code>
|
||
|
* @return The aLBELDPNILM.
|
||
|
*/
|
||
|
int getALBELDPNILM();
|
||
|
|
||
|
/**
|
||
|
* <code>uint32 face_type = 9;</code>
|
||
|
* @return The faceType.
|
||
|
*/
|
||
|
int getFaceType();
|
||
|
|
||
|
/**
|
||
|
* <code>uint32 card_id = 6;</code>
|
||
|
* @return The cardId.
|
||
|
*/
|
||
|
int getCardId();
|
||
|
|
||
|
/**
|
||
|
* <code>uint32 card_guid = 4;</code>
|
||
|
* @return The cardGuid.
|
||
|
*/
|
||
|
int getCardGuid();
|
||
|
|
||
|
/**
|
||
|
* <code>uint32 controller_id = 11;</code>
|
||
|
* @return The controllerId.
|
||
|
*/
|
||
|
int getControllerId();
|
||
|
}
|
||
|
/**
|
||
|
* <pre>
|
||
|
* Obf: FOFECGMPFKJ
|
||
|
* </pre>
|
||
|
*
|
||
|
* Protobuf type {@code GCGSkillPreviewCardInfo}
|
||
|
*/
|
||
|
public static final class GCGSkillPreviewCardInfo extends
|
||
|
com.google.protobuf.GeneratedMessageV3 implements
|
||
|
// @@protoc_insertion_point(message_implements:GCGSkillPreviewCardInfo)
|
||
|
GCGSkillPreviewCardInfoOrBuilder {
|
||
|
private static final long serialVersionUID = 0L;
|
||
|
// Use GCGSkillPreviewCardInfo.newBuilder() to construct.
|
||
|
private GCGSkillPreviewCardInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||
|
super(builder);
|
||
|
}
|
||
|
private GCGSkillPreviewCardInfo() {
|
||
|
jIDNEOMFFLG_ = 0;
|
||
|
}
|
||
|
|
||
|
@java.lang.Override
|
||
|
@SuppressWarnings({"unused"})
|
||
|
protected java.lang.Object newInstance(
|
||
|
UnusedPrivateParameter unused) {
|
||
|
return new GCGSkillPreviewCardInfo();
|
||
|
}
|
||
|
|
||
|
@java.lang.Override
|
||
|
public final com.google.protobuf.UnknownFieldSet
|
||
|
getUnknownFields() {
|
||
|
return this.unknownFields;
|
||
|
}
|
||
|
private GCGSkillPreviewCardInfo(
|
||
|
com.google.protobuf.CodedInputStream input,
|
||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
this();
|
||
|
if (extensionRegistry == null) {
|
||
|
throw new java.lang.NullPointerException();
|
||
|
}
|
||
|
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
||
|
com.google.protobuf.UnknownFieldSet.newBuilder();
|
||
|
try {
|
||
|
boolean done = false;
|
||
|
while (!done) {
|
||
|
int tag = input.readTag();
|
||
|
switch (tag) {
|
||
|
case 0:
|
||
|
done = true;
|
||
|
break;
|
||
|
case 32: {
|
||
|
|
||
|
cardGuid_ = input.readUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 40: {
|
||
|
|
||
|
ownerCardGuid_ = input.readUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 48: {
|
||
|
|
||
|
cardId_ = input.readUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 56: {
|
||
|
|
||
|
aLBELDPNILM_ = input.readUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 64: {
|
||
|
int rawValue = input.readEnum();
|
||
|
|
||
|
jIDNEOMFFLG_ = rawValue;
|
||
|
break;
|
||
|
}
|
||
|
case 72: {
|
||
|
|
||
|
faceType_ = input.readUInt32();
|
||
|
break;
|
||
|
}
|
||
|
case 88: {
|
||
|
|
||
|
controllerId_ = input.readUInt32();
|
||
|
break;
|
||
|
}
|
||
|
default: {
|
||
|
if (!parseUnknownField(
|
||
|
input, unknownFields, extensionRegistry, tag)) {
|
||
|
done = true;
|
||
|
}
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||
|
throw e.setUnfinishedMessage(this);
|
||
|
} catch (java.io.IOException e) {
|
||
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
||
|
e).setUnfinishedMessage(this);
|
||
|
} finally {
|
||
|
this.unknownFields = unknownFields.build();
|
||
|
makeExtensionsImmutable();
|
||
|
}
|
||
|
}
|
||
|
public static final com.google.protobuf.Descriptors.Descriptor
|
||
|
getDescriptor() {
|
||
|
return emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.internal_static_GCGSkillPreviewCardInfo_descriptor;
|
||
|
}
|
||
|
|
||
|
@java.lang.Override
|
||
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||
|
internalGetFieldAccessorTable() {
|
||
|
return emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.internal_static_GCGSkillPreviewCardInfo_fieldAccessorTable
|
||
|
.ensureFieldAccessorsInitialized(
|
||
|
emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo.class, emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo.Builder.class);
|
||
|
}
|
||
|
|
||
|
public static final int OWNER_CARD_GUID_FIELD_NUMBER = 5;
|
||
|
private int ownerCardGuid_;
|
||
|
/**
|
||
|
* <code>uint32 owner_card_guid = 5;</code>
|
||
|
* @return The ownerCardGuid.
|
||
|
*/
|
||
|
@java.lang.Override
|
||
|
public int getOwnerCardGuid() {
|
||
|
return ownerCardGuid_;
|
||
|
}
|
||
|
|
||
|
public static final int JIDNEOMFFLG_FIELD_NUMBER = 8;
|
||
|
private int jIDNEOMFFLG_;
|
||
|
/**
|
||
|
* <code>.GCGZoneType JIDNEOMFFLG = 8;</code>
|
||
|
* @return The enum numeric value on the wire for jIDNEOMFFLG.
|
||
|
*/
|
||
|
@java.lang.Override public int getJIDNEOMFFLGValue() {
|
||
|
return jIDNEOMFFLG_;
|
||
|
}
|
||
|
/**
|
||
|
* <code>.GCGZoneType JIDNEOMFFLG = 8;</code>
|
||
|
* @return The jIDNEOMFFLG.
|
||
|
*/
|
||
|
@java.lang.Override public emu.grasscutter.net.proto.GCGZoneTypeOuterClass.GCGZoneType getJIDNEOMFFLG() {
|
||
|
@SuppressWarnings("deprecation")
|
||
|
emu.grasscutter.net.proto.GCGZoneTypeOuterClass.GCGZoneType result = emu.grasscutter.net.proto.GCGZoneTypeOuterClass.GCGZoneType.valueOf(jIDNEOMFFLG_);
|
||
|
return result == null ? emu.grasscutter.net.proto.GCGZoneTypeOuterClass.GCGZoneType.UNRECOGNIZED : result;
|
||
|
}
|
||
|
|
||
|
public static final int ALBELDPNILM_FIELD_NUMBER = 7;
|
||
|
private int aLBELDPNILM_;
|
||
|
/**
|
||
|
* <code>uint32 ALBELDPNILM = 7;</code>
|
||
|
* @return The aLBELDPNILM.
|
||
|
*/
|
||
|
@java.lang.Override
|
||
|
public int getALBELDPNILM() {
|
||
|
return aLBELDPNILM_;
|
||
|
}
|
||
|
|
||
|
public static final int FACE_TYPE_FIELD_NUMBER = 9;
|
||
|
private int faceType_;
|
||
|
/**
|
||
|
* <code>uint32 face_type = 9;</code>
|
||
|
* @return The faceType.
|
||
|
*/
|
||
|
@java.lang.Override
|
||
|
public int getFaceType() {
|
||
|
return faceType_;
|
||
|
}
|
||
|
|
||
|
public static final int CARD_ID_FIELD_NUMBER = 6;
|
||
|
private int cardId_;
|
||
|
/**
|
||
|
* <code>uint32 card_id = 6;</code>
|
||
|
* @return The cardId.
|
||
|
*/
|
||
|
@java.lang.Override
|
||
|
public int getCardId() {
|
||
|
return cardId_;
|
||
|
}
|
||
|
|
||
|
public static final int CARD_GUID_FIELD_NUMBER = 4;
|
||
|
private int cardGuid_;
|
||
|
/**
|
||
|
* <code>uint32 card_guid = 4;</code>
|
||
|
* @return The cardGuid.
|
||
|
*/
|
||
|
@java.lang.Override
|
||
|
public int getCardGuid() {
|
||
|
return cardGuid_;
|
||
|
}
|
||
|
|
||
|
public static final int CONTROLLER_ID_FIELD_NUMBER = 11;
|
||
|
private int controllerId_;
|
||
|
/**
|
||
|
* <code>uint32 controller_id = 11;</code>
|
||
|
* @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 {
|
||
|
if (cardGuid_ != 0) {
|
||
|
output.writeUInt32(4, cardGuid_);
|
||
|
}
|
||
|
if (ownerCardGuid_ != 0) {
|
||
|
output.writeUInt32(5, ownerCardGuid_);
|
||
|
}
|
||
|
if (cardId_ != 0) {
|
||
|
output.writeUInt32(6, cardId_);
|
||
|
}
|
||
|
if (aLBELDPNILM_ != 0) {
|
||
|
output.writeUInt32(7, aLBELDPNILM_);
|
||
|
}
|
||
|
if (jIDNEOMFFLG_ != emu.grasscutter.net.proto.GCGZoneTypeOuterClass.GCGZoneType.GCG_ZONE_INVALID.getNumber()) {
|
||
|
output.writeEnum(8, jIDNEOMFFLG_);
|
||
|
}
|
||
|
if (faceType_ != 0) {
|
||
|
output.writeUInt32(9, faceType_);
|
||
|
}
|
||
|
if (controllerId_ != 0) {
|
||
|
output.writeUInt32(11, controllerId_);
|
||
|
}
|
||
|
unknownFields.writeTo(output);
|
||
|
}
|
||
|
|
||
|
@java.lang.Override
|
||
|
public int getSerializedSize() {
|
||
|
int size = memoizedSize;
|
||
|
if (size != -1) return size;
|
||
|
|
||
|
size = 0;
|
||
|
if (cardGuid_ != 0) {
|
||
|
size += com.google.protobuf.CodedOutputStream
|
||
|
.computeUInt32Size(4, cardGuid_);
|
||
|
}
|
||
|
if (ownerCardGuid_ != 0) {
|
||
|
size += com.google.protobuf.CodedOutputStream
|
||
|
.computeUInt32Size(5, ownerCardGuid_);
|
||
|
}
|
||
|
if (cardId_ != 0) {
|
||
|
size += com.google.protobuf.CodedOutputStream
|
||
|
.computeUInt32Size(6, cardId_);
|
||
|
}
|
||
|
if (aLBELDPNILM_ != 0) {
|
||
|
size += com.google.protobuf.CodedOutputStream
|
||
|
.computeUInt32Size(7, aLBELDPNILM_);
|
||
|
}
|
||
|
if (jIDNEOMFFLG_ != emu.grasscutter.net.proto.GCGZoneTypeOuterClass.GCGZoneType.GCG_ZONE_INVALID.getNumber()) {
|
||
|
size += com.google.protobuf.CodedOutputStream
|
||
|
.computeEnumSize(8, jIDNEOMFFLG_);
|
||
|
}
|
||
|
if (faceType_ != 0) {
|
||
|
size += com.google.protobuf.CodedOutputStream
|
||
|
.computeUInt32Size(9, faceType_);
|
||
|
}
|
||
|
if (controllerId_ != 0) {
|
||
|
size += com.google.protobuf.CodedOutputStream
|
||
|
.computeUInt32Size(11, controllerId_);
|
||
|
}
|
||
|
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.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo)) {
|
||
|
return super.equals(obj);
|
||
|
}
|
||
|
emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo other = (emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo) obj;
|
||
|
|
||
|
if (getOwnerCardGuid()
|
||
|
!= other.getOwnerCardGuid()) return false;
|
||
|
if (jIDNEOMFFLG_ != other.jIDNEOMFFLG_) return false;
|
||
|
if (getALBELDPNILM()
|
||
|
!= other.getALBELDPNILM()) return false;
|
||
|
if (getFaceType()
|
||
|
!= other.getFaceType()) return false;
|
||
|
if (getCardId()
|
||
|
!= other.getCardId()) return false;
|
||
|
if (getCardGuid()
|
||
|
!= other.getCardGuid()) 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();
|
||
|
hash = (37 * hash) + OWNER_CARD_GUID_FIELD_NUMBER;
|
||
|
hash = (53 * hash) + getOwnerCardGuid();
|
||
|
hash = (37 * hash) + JIDNEOMFFLG_FIELD_NUMBER;
|
||
|
hash = (53 * hash) + jIDNEOMFFLG_;
|
||
|
hash = (37 * hash) + ALBELDPNILM_FIELD_NUMBER;
|
||
|
hash = (53 * hash) + getALBELDPNILM();
|
||
|
hash = (37 * hash) + FACE_TYPE_FIELD_NUMBER;
|
||
|
hash = (53 * hash) + getFaceType();
|
||
|
hash = (37 * hash) + CARD_ID_FIELD_NUMBER;
|
||
|
hash = (53 * hash) + getCardId();
|
||
|
hash = (37 * hash) + CARD_GUID_FIELD_NUMBER;
|
||
|
hash = (53 * hash) + getCardGuid();
|
||
|
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.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo parseFrom(
|
||
|
java.nio.ByteBuffer data)
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
return PARSER.parseFrom(data);
|
||
|
}
|
||
|
public static emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo 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.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo parseFrom(
|
||
|
com.google.protobuf.ByteString data)
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
return PARSER.parseFrom(data);
|
||
|
}
|
||
|
public static emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo 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.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo parseFrom(byte[] data)
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
return PARSER.parseFrom(data);
|
||
|
}
|
||
|
public static emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo parseFrom(
|
||
|
byte[] data,
|
||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||
|
}
|
||
|
public static emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo parseFrom(java.io.InputStream input)
|
||
|
throws java.io.IOException {
|
||
|
return com.google.protobuf.GeneratedMessageV3
|
||
|
.parseWithIOException(PARSER, input);
|
||
|
}
|
||
|
public static emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo 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.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo parseDelimitedFrom(java.io.InputStream input)
|
||
|
throws java.io.IOException {
|
||
|
return com.google.protobuf.GeneratedMessageV3
|
||
|
.parseDelimitedWithIOException(PARSER, input);
|
||
|
}
|
||
|
public static emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo 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.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo parseFrom(
|
||
|
com.google.protobuf.CodedInputStream input)
|
||
|
throws java.io.IOException {
|
||
|
return com.google.protobuf.GeneratedMessageV3
|
||
|
.parseWithIOException(PARSER, input);
|
||
|
}
|
||
|
public static emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo 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.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo 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;
|
||
|
}
|
||
|
/**
|
||
|
* <pre>
|
||
|
* Obf: FOFECGMPFKJ
|
||
|
* </pre>
|
||
|
*
|
||
|
* Protobuf type {@code GCGSkillPreviewCardInfo}
|
||
|
*/
|
||
|
public static final class Builder extends
|
||
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||
|
// @@protoc_insertion_point(builder_implements:GCGSkillPreviewCardInfo)
|
||
|
emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfoOrBuilder {
|
||
|
public static final com.google.protobuf.Descriptors.Descriptor
|
||
|
getDescriptor() {
|
||
|
return emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.internal_static_GCGSkillPreviewCardInfo_descriptor;
|
||
|
}
|
||
|
|
||
|
@java.lang.Override
|
||
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||
|
internalGetFieldAccessorTable() {
|
||
|
return emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.internal_static_GCGSkillPreviewCardInfo_fieldAccessorTable
|
||
|
.ensureFieldAccessorsInitialized(
|
||
|
emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo.class, emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo.Builder.class);
|
||
|
}
|
||
|
|
||
|
// Construct using emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo.newBuilder()
|
||
|
private Builder() {
|
||
|
maybeForceBuilderInitialization();
|
||
|
}
|
||
|
|
||
|
private Builder(
|
||
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||
|
super(parent);
|
||
|
maybeForceBuilderInitialization();
|
||
|
}
|
||
|
private void maybeForceBuilderInitialization() {
|
||
|
if (com.google.protobuf.GeneratedMessageV3
|
||
|
.alwaysUseFieldBuilders) {
|
||
|
}
|
||
|
}
|
||
|
@java.lang.Override
|
||
|
public Builder clear() {
|
||
|
super.clear();
|
||
|
ownerCardGuid_ = 0;
|
||
|
|
||
|
jIDNEOMFFLG_ = 0;
|
||
|
|
||
|
aLBELDPNILM_ = 0;
|
||
|
|
||
|
faceType_ = 0;
|
||
|
|
||
|
cardId_ = 0;
|
||
|
|
||
|
cardGuid_ = 0;
|
||
|
|
||
|
controllerId_ = 0;
|
||
|
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
@java.lang.Override
|
||
|
public com.google.protobuf.Descriptors.Descriptor
|
||
|
getDescriptorForType() {
|
||
|
return emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.internal_static_GCGSkillPreviewCardInfo_descriptor;
|
||
|
}
|
||
|
|
||
|
@java.lang.Override
|
||
|
public emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo getDefaultInstanceForType() {
|
||
|
return emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo.getDefaultInstance();
|
||
|
}
|
||
|
|
||
|
@java.lang.Override
|
||
|
public emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo build() {
|
||
|
emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo result = buildPartial();
|
||
|
if (!result.isInitialized()) {
|
||
|
throw newUninitializedMessageException(result);
|
||
|
}
|
||
|
return result;
|
||
|
}
|
||
|
|
||
|
@java.lang.Override
|
||
|
public emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo buildPartial() {
|
||
|
emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo result = new emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo(this);
|
||
|
result.ownerCardGuid_ = ownerCardGuid_;
|
||
|
result.jIDNEOMFFLG_ = jIDNEOMFFLG_;
|
||
|
result.aLBELDPNILM_ = aLBELDPNILM_;
|
||
|
result.faceType_ = faceType_;
|
||
|
result.cardId_ = cardId_;
|
||
|
result.cardGuid_ = cardGuid_;
|
||
|
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.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo) {
|
||
|
return mergeFrom((emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo)other);
|
||
|
} else {
|
||
|
super.mergeFrom(other);
|
||
|
return this;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public Builder mergeFrom(emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo other) {
|
||
|
if (other == emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo.getDefaultInstance()) return this;
|
||
|
if (other.getOwnerCardGuid() != 0) {
|
||
|
setOwnerCardGuid(other.getOwnerCardGuid());
|
||
|
}
|
||
|
if (other.jIDNEOMFFLG_ != 0) {
|
||
|
setJIDNEOMFFLGValue(other.getJIDNEOMFFLGValue());
|
||
|
}
|
||
|
if (other.getALBELDPNILM() != 0) {
|
||
|
setALBELDPNILM(other.getALBELDPNILM());
|
||
|
}
|
||
|
if (other.getFaceType() != 0) {
|
||
|
setFaceType(other.getFaceType());
|
||
|
}
|
||
|
if (other.getCardId() != 0) {
|
||
|
setCardId(other.getCardId());
|
||
|
}
|
||
|
if (other.getCardGuid() != 0) {
|
||
|
setCardGuid(other.getCardGuid());
|
||
|
}
|
||
|
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.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo parsedMessage = null;
|
||
|
try {
|
||
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||
|
parsedMessage = (emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo) e.getUnfinishedMessage();
|
||
|
throw e.unwrapIOException();
|
||
|
} finally {
|
||
|
if (parsedMessage != null) {
|
||
|
mergeFrom(parsedMessage);
|
||
|
}
|
||
|
}
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
private int ownerCardGuid_ ;
|
||
|
/**
|
||
|
* <code>uint32 owner_card_guid = 5;</code>
|
||
|
* @return The ownerCardGuid.
|
||
|
*/
|
||
|
@java.lang.Override
|
||
|
public int getOwnerCardGuid() {
|
||
|
return ownerCardGuid_;
|
||
|
}
|
||
|
/**
|
||
|
* <code>uint32 owner_card_guid = 5;</code>
|
||
|
* @param value The ownerCardGuid to set.
|
||
|
* @return This builder for chaining.
|
||
|
*/
|
||
|
public Builder setOwnerCardGuid(int value) {
|
||
|
|
||
|
ownerCardGuid_ = value;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
/**
|
||
|
* <code>uint32 owner_card_guid = 5;</code>
|
||
|
* @return This builder for chaining.
|
||
|
*/
|
||
|
public Builder clearOwnerCardGuid() {
|
||
|
|
||
|
ownerCardGuid_ = 0;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
private int jIDNEOMFFLG_ = 0;
|
||
|
/**
|
||
|
* <code>.GCGZoneType JIDNEOMFFLG = 8;</code>
|
||
|
* @return The enum numeric value on the wire for jIDNEOMFFLG.
|
||
|
*/
|
||
|
@java.lang.Override public int getJIDNEOMFFLGValue() {
|
||
|
return jIDNEOMFFLG_;
|
||
|
}
|
||
|
/**
|
||
|
* <code>.GCGZoneType JIDNEOMFFLG = 8;</code>
|
||
|
* @param value The enum numeric value on the wire for jIDNEOMFFLG to set.
|
||
|
* @return This builder for chaining.
|
||
|
*/
|
||
|
public Builder setJIDNEOMFFLGValue(int value) {
|
||
|
|
||
|
jIDNEOMFFLG_ = value;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
/**
|
||
|
* <code>.GCGZoneType JIDNEOMFFLG = 8;</code>
|
||
|
* @return The jIDNEOMFFLG.
|
||
|
*/
|
||
|
@java.lang.Override
|
||
|
public emu.grasscutter.net.proto.GCGZoneTypeOuterClass.GCGZoneType getJIDNEOMFFLG() {
|
||
|
@SuppressWarnings("deprecation")
|
||
|
emu.grasscutter.net.proto.GCGZoneTypeOuterClass.GCGZoneType result = emu.grasscutter.net.proto.GCGZoneTypeOuterClass.GCGZoneType.valueOf(jIDNEOMFFLG_);
|
||
|
return result == null ? emu.grasscutter.net.proto.GCGZoneTypeOuterClass.GCGZoneType.UNRECOGNIZED : result;
|
||
|
}
|
||
|
/**
|
||
|
* <code>.GCGZoneType JIDNEOMFFLG = 8;</code>
|
||
|
* @param value The jIDNEOMFFLG to set.
|
||
|
* @return This builder for chaining.
|
||
|
*/
|
||
|
public Builder setJIDNEOMFFLG(emu.grasscutter.net.proto.GCGZoneTypeOuterClass.GCGZoneType value) {
|
||
|
if (value == null) {
|
||
|
throw new NullPointerException();
|
||
|
}
|
||
|
|
||
|
jIDNEOMFFLG_ = value.getNumber();
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
/**
|
||
|
* <code>.GCGZoneType JIDNEOMFFLG = 8;</code>
|
||
|
* @return This builder for chaining.
|
||
|
*/
|
||
|
public Builder clearJIDNEOMFFLG() {
|
||
|
|
||
|
jIDNEOMFFLG_ = 0;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
private int aLBELDPNILM_ ;
|
||
|
/**
|
||
|
* <code>uint32 ALBELDPNILM = 7;</code>
|
||
|
* @return The aLBELDPNILM.
|
||
|
*/
|
||
|
@java.lang.Override
|
||
|
public int getALBELDPNILM() {
|
||
|
return aLBELDPNILM_;
|
||
|
}
|
||
|
/**
|
||
|
* <code>uint32 ALBELDPNILM = 7;</code>
|
||
|
* @param value The aLBELDPNILM to set.
|
||
|
* @return This builder for chaining.
|
||
|
*/
|
||
|
public Builder setALBELDPNILM(int value) {
|
||
|
|
||
|
aLBELDPNILM_ = value;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
/**
|
||
|
* <code>uint32 ALBELDPNILM = 7;</code>
|
||
|
* @return This builder for chaining.
|
||
|
*/
|
||
|
public Builder clearALBELDPNILM() {
|
||
|
|
||
|
aLBELDPNILM_ = 0;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
private int faceType_ ;
|
||
|
/**
|
||
|
* <code>uint32 face_type = 9;</code>
|
||
|
* @return The faceType.
|
||
|
*/
|
||
|
@java.lang.Override
|
||
|
public int getFaceType() {
|
||
|
return faceType_;
|
||
|
}
|
||
|
/**
|
||
|
* <code>uint32 face_type = 9;</code>
|
||
|
* @param value The faceType to set.
|
||
|
* @return This builder for chaining.
|
||
|
*/
|
||
|
public Builder setFaceType(int value) {
|
||
|
|
||
|
faceType_ = value;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
/**
|
||
|
* <code>uint32 face_type = 9;</code>
|
||
|
* @return This builder for chaining.
|
||
|
*/
|
||
|
public Builder clearFaceType() {
|
||
|
|
||
|
faceType_ = 0;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
private int cardId_ ;
|
||
|
/**
|
||
|
* <code>uint32 card_id = 6;</code>
|
||
|
* @return The cardId.
|
||
|
*/
|
||
|
@java.lang.Override
|
||
|
public int getCardId() {
|
||
|
return cardId_;
|
||
|
}
|
||
|
/**
|
||
|
* <code>uint32 card_id = 6;</code>
|
||
|
* @param value The cardId to set.
|
||
|
* @return This builder for chaining.
|
||
|
*/
|
||
|
public Builder setCardId(int value) {
|
||
|
|
||
|
cardId_ = value;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
/**
|
||
|
* <code>uint32 card_id = 6;</code>
|
||
|
* @return This builder for chaining.
|
||
|
*/
|
||
|
public Builder clearCardId() {
|
||
|
|
||
|
cardId_ = 0;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
private int cardGuid_ ;
|
||
|
/**
|
||
|
* <code>uint32 card_guid = 4;</code>
|
||
|
* @return The cardGuid.
|
||
|
*/
|
||
|
@java.lang.Override
|
||
|
public int getCardGuid() {
|
||
|
return cardGuid_;
|
||
|
}
|
||
|
/**
|
||
|
* <code>uint32 card_guid = 4;</code>
|
||
|
* @param value The cardGuid to set.
|
||
|
* @return This builder for chaining.
|
||
|
*/
|
||
|
public Builder setCardGuid(int value) {
|
||
|
|
||
|
cardGuid_ = value;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
/**
|
||
|
* <code>uint32 card_guid = 4;</code>
|
||
|
* @return This builder for chaining.
|
||
|
*/
|
||
|
public Builder clearCardGuid() {
|
||
|
|
||
|
cardGuid_ = 0;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
private int controllerId_ ;
|
||
|
/**
|
||
|
* <code>uint32 controller_id = 11;</code>
|
||
|
* @return The controllerId.
|
||
|
*/
|
||
|
@java.lang.Override
|
||
|
public int getControllerId() {
|
||
|
return controllerId_;
|
||
|
}
|
||
|
/**
|
||
|
* <code>uint32 controller_id = 11;</code>
|
||
|
* @param value The controllerId to set.
|
||
|
* @return This builder for chaining.
|
||
|
*/
|
||
|
public Builder setControllerId(int value) {
|
||
|
|
||
|
controllerId_ = value;
|
||
|
onChanged();
|
||
|
return this;
|
||
|
}
|
||
|
/**
|
||
|
* <code>uint32 controller_id = 11;</code>
|
||
|
* @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:GCGSkillPreviewCardInfo)
|
||
|
}
|
||
|
|
||
|
// @@protoc_insertion_point(class_scope:GCGSkillPreviewCardInfo)
|
||
|
private static final emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo DEFAULT_INSTANCE;
|
||
|
static {
|
||
|
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo();
|
||
|
}
|
||
|
|
||
|
public static emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo getDefaultInstance() {
|
||
|
return DEFAULT_INSTANCE;
|
||
|
}
|
||
|
|
||
|
private static final com.google.protobuf.Parser<GCGSkillPreviewCardInfo>
|
||
|
PARSER = new com.google.protobuf.AbstractParser<GCGSkillPreviewCardInfo>() {
|
||
|
@java.lang.Override
|
||
|
public GCGSkillPreviewCardInfo parsePartialFrom(
|
||
|
com.google.protobuf.CodedInputStream input,
|
||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||
|
return new GCGSkillPreviewCardInfo(input, extensionRegistry);
|
||
|
}
|
||
|
};
|
||
|
|
||
|
public static com.google.protobuf.Parser<GCGSkillPreviewCardInfo> parser() {
|
||
|
return PARSER;
|
||
|
}
|
||
|
|
||
|
@java.lang.Override
|
||
|
public com.google.protobuf.Parser<GCGSkillPreviewCardInfo> getParserForType() {
|
||
|
return PARSER;
|
||
|
}
|
||
|
|
||
|
@java.lang.Override
|
||
|
public emu.grasscutter.net.proto.GCGSkillPreviewCardInfoOuterClass.GCGSkillPreviewCardInfo getDefaultInstanceForType() {
|
||
|
return DEFAULT_INSTANCE;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
private static final com.google.protobuf.Descriptors.Descriptor
|
||
|
internal_static_GCGSkillPreviewCardInfo_descriptor;
|
||
|
private static final
|
||
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||
|
internal_static_GCGSkillPreviewCardInfo_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\035GCGSkillPreviewCardInfo.proto\032\021GCGZone" +
|
||
|
"Type.proto\"\270\001\n\027GCGSkillPreviewCardInfo\022\027" +
|
||
|
"\n\017owner_card_guid\030\005 \001(\r\022!\n\013JIDNEOMFFLG\030\010" +
|
||
|
" \001(\0162\014.GCGZoneType\022\023\n\013ALBELDPNILM\030\007 \001(\r\022" +
|
||
|
"\021\n\tface_type\030\t \001(\r\022\017\n\007card_id\030\006 \001(\r\022\021\n\tc" +
|
||
|
"ard_guid\030\004 \001(\r\022\025\n\rcontroller_id\030\013 \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.GCGZoneTypeOuterClass.getDescriptor(),
|
||
|
});
|
||
|
internal_static_GCGSkillPreviewCardInfo_descriptor =
|
||
|
getDescriptor().getMessageTypes().get(0);
|
||
|
internal_static_GCGSkillPreviewCardInfo_fieldAccessorTable = new
|
||
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||
|
internal_static_GCGSkillPreviewCardInfo_descriptor,
|
||
|
new java.lang.String[] { "OwnerCardGuid", "JIDNEOMFFLG", "ALBELDPNILM", "FaceType", "CardId", "CardGuid", "ControllerId", });
|
||
|
emu.grasscutter.net.proto.GCGZoneTypeOuterClass.getDescriptor();
|
||
|
}
|
||
|
|
||
|
// @@protoc_insertion_point(outer_class_scope)
|
||
|
}
|