All Downloads are FREE. Search and download functionalities are using the official Maven repository.

emu.grasscutter.net.proto.AiSkillCdInfoOuterClass Maven / Gradle / Ivy

There is a newer version: 1.7.3
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: AiSkillCdInfo.proto

package emu.grasscutter.net.proto;

public final class AiSkillCdInfoOuterClass {
  private AiSkillCdInfoOuterClass() {}
  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 AiSkillCdInfoOrBuilder extends
      // @@protoc_insertion_point(interface_extends:AiSkillCdInfo)
      com.google.protobuf.MessageOrBuilder {

    /**
     * map<uint32, uint32> skill_cd_map = 6;
     */
    int getSkillCdMapCount();
    /**
     * map<uint32, uint32> skill_cd_map = 6;
     */
    boolean containsSkillCdMap(
        int key);
    /**
     * Use {@link #getSkillCdMapMap()} instead.
     */
    @java.lang.Deprecated
    java.util.Map
    getSkillCdMap();
    /**
     * map<uint32, uint32> skill_cd_map = 6;
     */
    java.util.Map
    getSkillCdMapMap();
    /**
     * map<uint32, uint32> skill_cd_map = 6;
     */

    int getSkillCdMapOrDefault(
        int key,
        int defaultValue);
    /**
     * map<uint32, uint32> skill_cd_map = 6;
     */

    int getSkillCdMapOrThrow(
        int key);

    /**
     * map<uint32, uint32> skill_group_cd_map = 11;
     */
    int getSkillGroupCdMapCount();
    /**
     * map<uint32, uint32> skill_group_cd_map = 11;
     */
    boolean containsSkillGroupCdMap(
        int key);
    /**
     * Use {@link #getSkillGroupCdMapMap()} instead.
     */
    @java.lang.Deprecated
    java.util.Map
    getSkillGroupCdMap();
    /**
     * map<uint32, uint32> skill_group_cd_map = 11;
     */
    java.util.Map
    getSkillGroupCdMapMap();
    /**
     * map<uint32, uint32> skill_group_cd_map = 11;
     */

    int getSkillGroupCdMapOrDefault(
        int key,
        int defaultValue);
    /**
     * map<uint32, uint32> skill_group_cd_map = 11;
     */

    int getSkillGroupCdMapOrThrow(
        int key);
  }
  /**
   * 
   * Obf: AJLFKACFMII
   * 
* * Protobuf type {@code AiSkillCdInfo} */ public static final class AiSkillCdInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:AiSkillCdInfo) AiSkillCdInfoOrBuilder { private static final long serialVersionUID = 0L; // Use AiSkillCdInfo.newBuilder() to construct. private AiSkillCdInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AiSkillCdInfo() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AiSkillCdInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AiSkillCdInfo( 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 50: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { skillCdMap_ = com.google.protobuf.MapField.newMapField( SkillCdMapDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry skillCdMap__ = input.readMessage( SkillCdMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); skillCdMap_.getMutableMap().put( skillCdMap__.getKey(), skillCdMap__.getValue()); break; } case 90: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { skillGroupCdMap_ = com.google.protobuf.MapField.newMapField( SkillGroupCdMapDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry skillGroupCdMap__ = input.readMessage( SkillGroupCdMapDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); skillGroupCdMap_.getMutableMap().put( skillGroupCdMap__.getKey(), skillGroupCdMap__.getValue()); 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.AiSkillCdInfoOuterClass.internal_static_AiSkillCdInfo_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 6: return internalGetSkillCdMap(); case 11: return internalGetSkillGroupCdMap(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.internal_static_AiSkillCdInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo.class, emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo.Builder.class); } public static final int SKILL_CD_MAP_FIELD_NUMBER = 6; private static final class SkillCdMapDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.Integer, java.lang.Integer> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.internal_static_AiSkillCdInfo_SkillCdMapEntry_descriptor, com.google.protobuf.WireFormat.FieldType.UINT32, 0, com.google.protobuf.WireFormat.FieldType.UINT32, 0); } private com.google.protobuf.MapField< java.lang.Integer, java.lang.Integer> skillCdMap_; private com.google.protobuf.MapField internalGetSkillCdMap() { if (skillCdMap_ == null) { return com.google.protobuf.MapField.emptyMapField( SkillCdMapDefaultEntryHolder.defaultEntry); } return skillCdMap_; } public int getSkillCdMapCount() { return internalGetSkillCdMap().getMap().size(); } /** * map<uint32, uint32> skill_cd_map = 6; */ @java.lang.Override public boolean containsSkillCdMap( int key) { return internalGetSkillCdMap().getMap().containsKey(key); } /** * Use {@link #getSkillCdMapMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getSkillCdMap() { return getSkillCdMapMap(); } /** * map<uint32, uint32> skill_cd_map = 6; */ @java.lang.Override public java.util.Map getSkillCdMapMap() { return internalGetSkillCdMap().getMap(); } /** * map<uint32, uint32> skill_cd_map = 6; */ @java.lang.Override public int getSkillCdMapOrDefault( int key, int defaultValue) { java.util.Map map = internalGetSkillCdMap().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<uint32, uint32> skill_cd_map = 6; */ @java.lang.Override public int getSkillCdMapOrThrow( int key) { java.util.Map map = internalGetSkillCdMap().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int SKILL_GROUP_CD_MAP_FIELD_NUMBER = 11; private static final class SkillGroupCdMapDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.Integer, java.lang.Integer> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.internal_static_AiSkillCdInfo_SkillGroupCdMapEntry_descriptor, com.google.protobuf.WireFormat.FieldType.UINT32, 0, com.google.protobuf.WireFormat.FieldType.UINT32, 0); } private com.google.protobuf.MapField< java.lang.Integer, java.lang.Integer> skillGroupCdMap_; private com.google.protobuf.MapField internalGetSkillGroupCdMap() { if (skillGroupCdMap_ == null) { return com.google.protobuf.MapField.emptyMapField( SkillGroupCdMapDefaultEntryHolder.defaultEntry); } return skillGroupCdMap_; } public int getSkillGroupCdMapCount() { return internalGetSkillGroupCdMap().getMap().size(); } /** * map<uint32, uint32> skill_group_cd_map = 11; */ @java.lang.Override public boolean containsSkillGroupCdMap( int key) { return internalGetSkillGroupCdMap().getMap().containsKey(key); } /** * Use {@link #getSkillGroupCdMapMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getSkillGroupCdMap() { return getSkillGroupCdMapMap(); } /** * map<uint32, uint32> skill_group_cd_map = 11; */ @java.lang.Override public java.util.Map getSkillGroupCdMapMap() { return internalGetSkillGroupCdMap().getMap(); } /** * map<uint32, uint32> skill_group_cd_map = 11; */ @java.lang.Override public int getSkillGroupCdMapOrDefault( int key, int defaultValue) { java.util.Map map = internalGetSkillGroupCdMap().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<uint32, uint32> skill_group_cd_map = 11; */ @java.lang.Override public int getSkillGroupCdMapOrThrow( int key) { java.util.Map map = internalGetSkillGroupCdMap().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } 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 { com.google.protobuf.GeneratedMessageV3 .serializeIntegerMapTo( output, internalGetSkillCdMap(), SkillCdMapDefaultEntryHolder.defaultEntry, 6); com.google.protobuf.GeneratedMessageV3 .serializeIntegerMapTo( output, internalGetSkillGroupCdMap(), SkillGroupCdMapDefaultEntryHolder.defaultEntry, 11); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (java.util.Map.Entry entry : internalGetSkillCdMap().getMap().entrySet()) { com.google.protobuf.MapEntry skillCdMap__ = SkillCdMapDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, skillCdMap__); } for (java.util.Map.Entry entry : internalGetSkillGroupCdMap().getMap().entrySet()) { com.google.protobuf.MapEntry skillGroupCdMap__ = SkillGroupCdMapDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, skillGroupCdMap__); } 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.AiSkillCdInfoOuterClass.AiSkillCdInfo)) { return super.equals(obj); } emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo other = (emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo) obj; if (!internalGetSkillCdMap().equals( other.internalGetSkillCdMap())) return false; if (!internalGetSkillGroupCdMap().equals( other.internalGetSkillGroupCdMap())) 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 (!internalGetSkillCdMap().getMap().isEmpty()) { hash = (37 * hash) + SKILL_CD_MAP_FIELD_NUMBER; hash = (53 * hash) + internalGetSkillCdMap().hashCode(); } if (!internalGetSkillGroupCdMap().getMap().isEmpty()) { hash = (37 * hash) + SKILL_GROUP_CD_MAP_FIELD_NUMBER; hash = (53 * hash) + internalGetSkillGroupCdMap().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo 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.AiSkillCdInfoOuterClass.AiSkillCdInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo 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.AiSkillCdInfoOuterClass.AiSkillCdInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo 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.AiSkillCdInfoOuterClass.AiSkillCdInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo 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.AiSkillCdInfoOuterClass.AiSkillCdInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo 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.AiSkillCdInfoOuterClass.AiSkillCdInfo 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; } /** *
     * Obf: AJLFKACFMII
     * 
* * Protobuf type {@code AiSkillCdInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:AiSkillCdInfo) emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.internal_static_AiSkillCdInfo_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 6: return internalGetSkillCdMap(); case 11: return internalGetSkillGroupCdMap(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 6: return internalGetMutableSkillCdMap(); case 11: return internalGetMutableSkillGroupCdMap(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.internal_static_AiSkillCdInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo.class, emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo.Builder.class); } // Construct using emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo.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(); internalGetMutableSkillCdMap().clear(); internalGetMutableSkillGroupCdMap().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.internal_static_AiSkillCdInfo_descriptor; } @java.lang.Override public emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo getDefaultInstanceForType() { return emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo.getDefaultInstance(); } @java.lang.Override public emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo build() { emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo buildPartial() { emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo result = new emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo(this); int from_bitField0_ = bitField0_; result.skillCdMap_ = internalGetSkillCdMap(); result.skillCdMap_.makeImmutable(); result.skillGroupCdMap_ = internalGetSkillGroupCdMap(); result.skillGroupCdMap_.makeImmutable(); 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.AiSkillCdInfoOuterClass.AiSkillCdInfo) { return mergeFrom((emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo other) { if (other == emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo.getDefaultInstance()) return this; internalGetMutableSkillCdMap().mergeFrom( other.internalGetSkillCdMap()); internalGetMutableSkillGroupCdMap().mergeFrom( other.internalGetSkillGroupCdMap()); 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.AiSkillCdInfoOuterClass.AiSkillCdInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.MapField< java.lang.Integer, java.lang.Integer> skillCdMap_; private com.google.protobuf.MapField internalGetSkillCdMap() { if (skillCdMap_ == null) { return com.google.protobuf.MapField.emptyMapField( SkillCdMapDefaultEntryHolder.defaultEntry); } return skillCdMap_; } private com.google.protobuf.MapField internalGetMutableSkillCdMap() { onChanged();; if (skillCdMap_ == null) { skillCdMap_ = com.google.protobuf.MapField.newMapField( SkillCdMapDefaultEntryHolder.defaultEntry); } if (!skillCdMap_.isMutable()) { skillCdMap_ = skillCdMap_.copy(); } return skillCdMap_; } public int getSkillCdMapCount() { return internalGetSkillCdMap().getMap().size(); } /** * map<uint32, uint32> skill_cd_map = 6; */ @java.lang.Override public boolean containsSkillCdMap( int key) { return internalGetSkillCdMap().getMap().containsKey(key); } /** * Use {@link #getSkillCdMapMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getSkillCdMap() { return getSkillCdMapMap(); } /** * map<uint32, uint32> skill_cd_map = 6; */ @java.lang.Override public java.util.Map getSkillCdMapMap() { return internalGetSkillCdMap().getMap(); } /** * map<uint32, uint32> skill_cd_map = 6; */ @java.lang.Override public int getSkillCdMapOrDefault( int key, int defaultValue) { java.util.Map map = internalGetSkillCdMap().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<uint32, uint32> skill_cd_map = 6; */ @java.lang.Override public int getSkillCdMapOrThrow( int key) { java.util.Map map = internalGetSkillCdMap().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearSkillCdMap() { internalGetMutableSkillCdMap().getMutableMap() .clear(); return this; } /** * map<uint32, uint32> skill_cd_map = 6; */ public Builder removeSkillCdMap( int key) { internalGetMutableSkillCdMap().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableSkillCdMap() { return internalGetMutableSkillCdMap().getMutableMap(); } /** * map<uint32, uint32> skill_cd_map = 6; */ public Builder putSkillCdMap( int key, int value) { internalGetMutableSkillCdMap().getMutableMap() .put(key, value); return this; } /** * map<uint32, uint32> skill_cd_map = 6; */ public Builder putAllSkillCdMap( java.util.Map values) { internalGetMutableSkillCdMap().getMutableMap() .putAll(values); return this; } private com.google.protobuf.MapField< java.lang.Integer, java.lang.Integer> skillGroupCdMap_; private com.google.protobuf.MapField internalGetSkillGroupCdMap() { if (skillGroupCdMap_ == null) { return com.google.protobuf.MapField.emptyMapField( SkillGroupCdMapDefaultEntryHolder.defaultEntry); } return skillGroupCdMap_; } private com.google.protobuf.MapField internalGetMutableSkillGroupCdMap() { onChanged();; if (skillGroupCdMap_ == null) { skillGroupCdMap_ = com.google.protobuf.MapField.newMapField( SkillGroupCdMapDefaultEntryHolder.defaultEntry); } if (!skillGroupCdMap_.isMutable()) { skillGroupCdMap_ = skillGroupCdMap_.copy(); } return skillGroupCdMap_; } public int getSkillGroupCdMapCount() { return internalGetSkillGroupCdMap().getMap().size(); } /** * map<uint32, uint32> skill_group_cd_map = 11; */ @java.lang.Override public boolean containsSkillGroupCdMap( int key) { return internalGetSkillGroupCdMap().getMap().containsKey(key); } /** * Use {@link #getSkillGroupCdMapMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getSkillGroupCdMap() { return getSkillGroupCdMapMap(); } /** * map<uint32, uint32> skill_group_cd_map = 11; */ @java.lang.Override public java.util.Map getSkillGroupCdMapMap() { return internalGetSkillGroupCdMap().getMap(); } /** * map<uint32, uint32> skill_group_cd_map = 11; */ @java.lang.Override public int getSkillGroupCdMapOrDefault( int key, int defaultValue) { java.util.Map map = internalGetSkillGroupCdMap().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<uint32, uint32> skill_group_cd_map = 11; */ @java.lang.Override public int getSkillGroupCdMapOrThrow( int key) { java.util.Map map = internalGetSkillGroupCdMap().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearSkillGroupCdMap() { internalGetMutableSkillGroupCdMap().getMutableMap() .clear(); return this; } /** * map<uint32, uint32> skill_group_cd_map = 11; */ public Builder removeSkillGroupCdMap( int key) { internalGetMutableSkillGroupCdMap().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableSkillGroupCdMap() { return internalGetMutableSkillGroupCdMap().getMutableMap(); } /** * map<uint32, uint32> skill_group_cd_map = 11; */ public Builder putSkillGroupCdMap( int key, int value) { internalGetMutableSkillGroupCdMap().getMutableMap() .put(key, value); return this; } /** * map<uint32, uint32> skill_group_cd_map = 11; */ public Builder putAllSkillGroupCdMap( java.util.Map values) { internalGetMutableSkillGroupCdMap().getMutableMap() .putAll(values); 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:AiSkillCdInfo) } // @@protoc_insertion_point(class_scope:AiSkillCdInfo) private static final emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo(); } public static emu.grasscutter.net.proto.AiSkillCdInfoOuterClass.AiSkillCdInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AiSkillCdInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AiSkillCdInfo(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.AiSkillCdInfoOuterClass.AiSkillCdInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_AiSkillCdInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_AiSkillCdInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_AiSkillCdInfo_SkillCdMapEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_AiSkillCdInfo_SkillCdMapEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_AiSkillCdInfo_SkillGroupCdMapEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_AiSkillCdInfo_SkillGroupCdMapEntry_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\023AiSkillCdInfo.proto\"\361\001\n\rAiSkillCdInfo\022" + "4\n\014skill_cd_map\030\006 \003(\0132\036.AiSkillCdInfo.Sk" + "illCdMapEntry\022?\n\022skill_group_cd_map\030\013 \003(" + "\0132#.AiSkillCdInfo.SkillGroupCdMapEntry\0321" + "\n\017SkillCdMapEntry\022\013\n\003key\030\001 \001(\r\022\r\n\005value\030" + "\002 \001(\r:\0028\001\0326\n\024SkillGroupCdMapEntry\022\013\n\003key" + "\030\001 \001(\r\022\r\n\005value\030\002 \001(\r:\0028\001B\033\n\031emu.grasscu" + "tter.net.protob\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }); internal_static_AiSkillCdInfo_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_AiSkillCdInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_AiSkillCdInfo_descriptor, new java.lang.String[] { "SkillCdMap", "SkillGroupCdMap", }); internal_static_AiSkillCdInfo_SkillCdMapEntry_descriptor = internal_static_AiSkillCdInfo_descriptor.getNestedTypes().get(0); internal_static_AiSkillCdInfo_SkillCdMapEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_AiSkillCdInfo_SkillCdMapEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_AiSkillCdInfo_SkillGroupCdMapEntry_descriptor = internal_static_AiSkillCdInfo_descriptor.getNestedTypes().get(1); internal_static_AiSkillCdInfo_SkillGroupCdMapEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_AiSkillCdInfo_SkillGroupCdMapEntry_descriptor, new java.lang.String[] { "Key", "Value", }); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy