コード例 #1
0
 public com.xinqihd.sns.gameserver.proto.XinqiBceUserConfig.BceUserConfig build() {
   com.xinqihd.sns.gameserver.proto.XinqiBceUserConfig.BceUserConfig result = buildPartial();
   if (!result.isInitialized()) {
     throw newUninitializedMessageException(result);
   }
   return result;
 }
コード例 #2
0
 private com.xinqihd.sns.gameserver.proto.XinqiBceUserConfig.BceUserConfig buildParsed()
     throws com.google.protobuf.InvalidProtocolBufferException {
   com.xinqihd.sns.gameserver.proto.XinqiBceUserConfig.BceUserConfig result = buildPartial();
   if (!result.isInitialized()) {
     throw newUninitializedMessageException(result).asInvalidProtocolBufferException();
   }
   return result;
 }
コード例 #3
0
 public com.xinqihd.sns.gameserver.proto.XinqiBceUserConfig.BceUserConfig buildPartial() {
   com.xinqihd.sns.gameserver.proto.XinqiBceUserConfig.BceUserConfig result =
       new com.xinqihd.sns.gameserver.proto.XinqiBceUserConfig.BceUserConfig(this);
   int from_bitField0_ = bitField0_;
   int to_bitField0_ = 0;
   if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
     to_bitField0_ |= 0x00000001;
   }
   result.hideHat_ = hideHat_;
   if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
     to_bitField0_ |= 0x00000002;
   }
   result.hideGlass_ = hideGlass_;
   if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
     to_bitField0_ |= 0x00000004;
   }
   result.hideSuit_ = hideSuit_;
   if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
     to_bitField0_ |= 0x00000008;
   }
   result.leadFinished_ = leadFinished_;
   if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
     to_bitField0_ |= 0x00000010;
   }
   result.musicSwitch_ = musicSwitch_;
   if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
     to_bitField0_ |= 0x00000020;
   }
   result.effectSwitch_ = effectSwitch_;
   if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
     to_bitField0_ |= 0x00000040;
   }
   result.musicVolume_ = musicVolume_;
   if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
     to_bitField0_ |= 0x00000080;
   }
   result.effectVolume_ = effectVolume_;
   result.bitField0_ = to_bitField0_;
   onBuilt();
   return result;
 }
コード例 #4
0
 public Builder mergeFrom(
     com.xinqihd.sns.gameserver.proto.XinqiBceUserConfig.BceUserConfig other) {
   if (other
       == com.xinqihd.sns.gameserver.proto.XinqiBceUserConfig.BceUserConfig
           .getDefaultInstance()) return this;
   if (other.hasHideHat()) {
     setHideHat(other.getHideHat());
   }
   if (other.hasHideGlass()) {
     setHideGlass(other.getHideGlass());
   }
   if (other.hasHideSuit()) {
     setHideSuit(other.getHideSuit());
   }
   if (other.hasLeadFinished()) {
     setLeadFinished(other.getLeadFinished());
   }
   if (other.hasMusicSwitch()) {
     setMusicSwitch(other.getMusicSwitch());
   }
   if (other.hasEffectSwitch()) {
     setEffectSwitch(other.getEffectSwitch());
   }
   if (other.hasMusicVolume()) {
     setMusicVolume(other.getMusicVolume());
   }
   if (other.hasEffectVolume()) {
     setEffectVolume(other.getEffectVolume());
   }
   this.mergeUnknownFields(other.getUnknownFields());
   return this;
 }
コード例 #5
0
 public com.xinqihd.sns.gameserver.proto.XinqiBceUserConfig.BceUserConfig
     getDefaultInstanceForType() {
   return com.xinqihd.sns.gameserver.proto.XinqiBceUserConfig.BceUserConfig
       .getDefaultInstance();
 }
コード例 #6
0
 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
   return com.xinqihd.sns.gameserver.proto.XinqiBceUserConfig.BceUserConfig.getDescriptor();
 }