// Generated by the protocol buffer compiler. DO NOT EDIT! // source: WPhoneStateTaskResultNotice.proto package Im.Scrm.Ww.Proto; public final class WPhoneStateTaskResultNotice { private WPhoneStateTaskResultNotice() {} 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 PhoneStateTaskResultNoticeMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:Im.Scrm.Ww.Proto.PhoneStateTaskResultNoticeMessage) com.google.protobuf.MessageOrBuilder { /** *
     * 
* * int64 WxId = 1; * @return The wxId. */ long getWxId(); /** *
     * 
* * string Imei = 2; * @return The imei. */ java.lang.String getImei(); /** *
     * 
* * string Imei = 2; * @return The bytes for imei. */ com.google.protobuf.ByteString getImeiBytes(); /** *
     * 剩余电量百分比
     * 
* * int32 BatteryLevel = 3; * @return The batteryLevel. */ int getBatteryLevel(); /** *
     * 0 未知 1 充电 2 满电 3 未充电
     * 
* * int32 ChargingState = 4; * @return The chargingState. */ int getChargingState(); /** *
     * 联网方式 4G WIFI
     * 
* * string NetType = 5; * @return The netType. */ java.lang.String getNetType(); /** *
     * 联网方式 4G WIFI
     * 
* * string NetType = 5; * @return The bytes for netType. */ com.google.protobuf.ByteString getNetTypeBytes(); /** *
     * 外部存储(sdcard)剩余空间字节数
     * 
* * int64 SdcardFree = 6; * @return The sdcardFree. */ long getSdcardFree(); /** *
     * 外部存储(sdcard)总空间字节数
     * 
* * int64 SdcardTotal = 7; * @return The sdcardTotal. */ long getSdcardTotal(); } /** * Protobuf type {@code Im.Scrm.Ww.Proto.PhoneStateTaskResultNoticeMessage} */ public static final class PhoneStateTaskResultNoticeMessage extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Im.Scrm.Ww.Proto.PhoneStateTaskResultNoticeMessage) PhoneStateTaskResultNoticeMessageOrBuilder { private static final long serialVersionUID = 0L; // Use PhoneStateTaskResultNoticeMessage.newBuilder() to construct. private PhoneStateTaskResultNoticeMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PhoneStateTaskResultNoticeMessage() { imei_ = ""; netType_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PhoneStateTaskResultNoticeMessage(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PhoneStateTaskResultNoticeMessage( 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 8: { wxId_ = input.readInt64(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); imei_ = s; break; } case 24: { batteryLevel_ = input.readInt32(); break; } case 32: { chargingState_ = input.readInt32(); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); netType_ = s; break; } case 48: { sdcardFree_ = input.readInt64(); break; } case 56: { sdcardTotal_ = input.readInt64(); 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 Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_PhoneStateTaskResultNoticeMessage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_PhoneStateTaskResultNoticeMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage.class, Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage.Builder.class); } public static final int WXID_FIELD_NUMBER = 1; private long wxId_; /** *
     * 
* * int64 WxId = 1; * @return The wxId. */ public long getWxId() { return wxId_; } public static final int IMEI_FIELD_NUMBER = 2; private volatile java.lang.Object imei_; /** *
     * 
* * string Imei = 2; * @return The imei. */ public java.lang.String getImei() { java.lang.Object ref = imei_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imei_ = s; return s; } } /** *
     * 
* * string Imei = 2; * @return The bytes for imei. */ public com.google.protobuf.ByteString getImeiBytes() { java.lang.Object ref = imei_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); imei_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int BATTERYLEVEL_FIELD_NUMBER = 3; private int batteryLevel_; /** *
     * 剩余电量百分比
     * 
* * int32 BatteryLevel = 3; * @return The batteryLevel. */ public int getBatteryLevel() { return batteryLevel_; } public static final int CHARGINGSTATE_FIELD_NUMBER = 4; private int chargingState_; /** *
     * 0 未知 1 充电 2 满电 3 未充电
     * 
* * int32 ChargingState = 4; * @return The chargingState. */ public int getChargingState() { return chargingState_; } public static final int NETTYPE_FIELD_NUMBER = 5; private volatile java.lang.Object netType_; /** *
     * 联网方式 4G WIFI
     * 
* * string NetType = 5; * @return The netType. */ public java.lang.String getNetType() { java.lang.Object ref = netType_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); netType_ = s; return s; } } /** *
     * 联网方式 4G WIFI
     * 
* * string NetType = 5; * @return The bytes for netType. */ public com.google.protobuf.ByteString getNetTypeBytes() { java.lang.Object ref = netType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); netType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SDCARDFREE_FIELD_NUMBER = 6; private long sdcardFree_; /** *
     * 外部存储(sdcard)剩余空间字节数
     * 
* * int64 SdcardFree = 6; * @return The sdcardFree. */ public long getSdcardFree() { return sdcardFree_; } public static final int SDCARDTOTAL_FIELD_NUMBER = 7; private long sdcardTotal_; /** *
     * 外部存储(sdcard)总空间字节数
     * 
* * int64 SdcardTotal = 7; * @return The sdcardTotal. */ public long getSdcardTotal() { return sdcardTotal_; } 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 (wxId_ != 0L) { output.writeInt64(1, wxId_); } if (!getImeiBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, imei_); } if (batteryLevel_ != 0) { output.writeInt32(3, batteryLevel_); } if (chargingState_ != 0) { output.writeInt32(4, chargingState_); } if (!getNetTypeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, netType_); } if (sdcardFree_ != 0L) { output.writeInt64(6, sdcardFree_); } if (sdcardTotal_ != 0L) { output.writeInt64(7, sdcardTotal_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (wxId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, wxId_); } if (!getImeiBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, imei_); } if (batteryLevel_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, batteryLevel_); } if (chargingState_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, chargingState_); } if (!getNetTypeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, netType_); } if (sdcardFree_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, sdcardFree_); } if (sdcardTotal_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, sdcardTotal_); } 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 Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage)) { return super.equals(obj); } Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage other = (Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage) obj; if (getWxId() != other.getWxId()) return false; if (!getImei() .equals(other.getImei())) return false; if (getBatteryLevel() != other.getBatteryLevel()) return false; if (getChargingState() != other.getChargingState()) return false; if (!getNetType() .equals(other.getNetType())) return false; if (getSdcardFree() != other.getSdcardFree()) return false; if (getSdcardTotal() != other.getSdcardTotal()) 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) + WXID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWxId()); hash = (37 * hash) + IMEI_FIELD_NUMBER; hash = (53 * hash) + getImei().hashCode(); hash = (37 * hash) + BATTERYLEVEL_FIELD_NUMBER; hash = (53 * hash) + getBatteryLevel(); hash = (37 * hash) + CHARGINGSTATE_FIELD_NUMBER; hash = (53 * hash) + getChargingState(); hash = (37 * hash) + NETTYPE_FIELD_NUMBER; hash = (53 * hash) + getNetType().hashCode(); hash = (37 * hash) + SDCARDFREE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSdcardFree()); hash = (37 * hash) + SDCARDTOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSdcardTotal()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage 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 Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage 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 Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage 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(Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage 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; } /** * Protobuf type {@code Im.Scrm.Ww.Proto.PhoneStateTaskResultNoticeMessage} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:Im.Scrm.Ww.Proto.PhoneStateTaskResultNoticeMessage) Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessageOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_PhoneStateTaskResultNoticeMessage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_PhoneStateTaskResultNoticeMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage.class, Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage.Builder.class); } // Construct using Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage.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(); wxId_ = 0L; imei_ = ""; batteryLevel_ = 0; chargingState_ = 0; netType_ = ""; sdcardFree_ = 0L; sdcardTotal_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.internal_static_Im_Scrm_Ww_Proto_PhoneStateTaskResultNoticeMessage_descriptor; } @java.lang.Override public Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage getDefaultInstanceForType() { return Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage.getDefaultInstance(); } @java.lang.Override public Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage build() { Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage buildPartial() { Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage result = new Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage(this); result.wxId_ = wxId_; result.imei_ = imei_; result.batteryLevel_ = batteryLevel_; result.chargingState_ = chargingState_; result.netType_ = netType_; result.sdcardFree_ = sdcardFree_; result.sdcardTotal_ = sdcardTotal_; 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 Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage) { return mergeFrom((Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage other) { if (other == Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage.getDefaultInstance()) return this; if (other.getWxId() != 0L) { setWxId(other.getWxId()); } if (!other.getImei().isEmpty()) { imei_ = other.imei_; onChanged(); } if (other.getBatteryLevel() != 0) { setBatteryLevel(other.getBatteryLevel()); } if (other.getChargingState() != 0) { setChargingState(other.getChargingState()); } if (!other.getNetType().isEmpty()) { netType_ = other.netType_; onChanged(); } if (other.getSdcardFree() != 0L) { setSdcardFree(other.getSdcardFree()); } if (other.getSdcardTotal() != 0L) { setSdcardTotal(other.getSdcardTotal()); } 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 { Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long wxId_ ; /** *
       * 
* * int64 WxId = 1; * @return The wxId. */ public long getWxId() { return wxId_; } /** *
       * 
* * int64 WxId = 1; * @param value The wxId to set. * @return This builder for chaining. */ public Builder setWxId(long value) { wxId_ = value; onChanged(); return this; } /** *
       * 
* * int64 WxId = 1; * @return This builder for chaining. */ public Builder clearWxId() { wxId_ = 0L; onChanged(); return this; } private java.lang.Object imei_ = ""; /** *
       * 
* * string Imei = 2; * @return The imei. */ public java.lang.String getImei() { java.lang.Object ref = imei_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); imei_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * 
* * string Imei = 2; * @return The bytes for imei. */ public com.google.protobuf.ByteString getImeiBytes() { java.lang.Object ref = imei_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); imei_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * 
* * string Imei = 2; * @param value The imei to set. * @return This builder for chaining. */ public Builder setImei( java.lang.String value) { if (value == null) { throw new NullPointerException(); } imei_ = value; onChanged(); return this; } /** *
       * 
* * string Imei = 2; * @return This builder for chaining. */ public Builder clearImei() { imei_ = getDefaultInstance().getImei(); onChanged(); return this; } /** *
       * 
* * string Imei = 2; * @param value The bytes for imei to set. * @return This builder for chaining. */ public Builder setImeiBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); imei_ = value; onChanged(); return this; } private int batteryLevel_ ; /** *
       * 剩余电量百分比
       * 
* * int32 BatteryLevel = 3; * @return The batteryLevel. */ public int getBatteryLevel() { return batteryLevel_; } /** *
       * 剩余电量百分比
       * 
* * int32 BatteryLevel = 3; * @param value The batteryLevel to set. * @return This builder for chaining. */ public Builder setBatteryLevel(int value) { batteryLevel_ = value; onChanged(); return this; } /** *
       * 剩余电量百分比
       * 
* * int32 BatteryLevel = 3; * @return This builder for chaining. */ public Builder clearBatteryLevel() { batteryLevel_ = 0; onChanged(); return this; } private int chargingState_ ; /** *
       * 0 未知 1 充电 2 满电 3 未充电
       * 
* * int32 ChargingState = 4; * @return The chargingState. */ public int getChargingState() { return chargingState_; } /** *
       * 0 未知 1 充电 2 满电 3 未充电
       * 
* * int32 ChargingState = 4; * @param value The chargingState to set. * @return This builder for chaining. */ public Builder setChargingState(int value) { chargingState_ = value; onChanged(); return this; } /** *
       * 0 未知 1 充电 2 满电 3 未充电
       * 
* * int32 ChargingState = 4; * @return This builder for chaining. */ public Builder clearChargingState() { chargingState_ = 0; onChanged(); return this; } private java.lang.Object netType_ = ""; /** *
       * 联网方式 4G WIFI
       * 
* * string NetType = 5; * @return The netType. */ public java.lang.String getNetType() { java.lang.Object ref = netType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); netType_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * 联网方式 4G WIFI
       * 
* * string NetType = 5; * @return The bytes for netType. */ public com.google.protobuf.ByteString getNetTypeBytes() { java.lang.Object ref = netType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); netType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * 联网方式 4G WIFI
       * 
* * string NetType = 5; * @param value The netType to set. * @return This builder for chaining. */ public Builder setNetType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } netType_ = value; onChanged(); return this; } /** *
       * 联网方式 4G WIFI
       * 
* * string NetType = 5; * @return This builder for chaining. */ public Builder clearNetType() { netType_ = getDefaultInstance().getNetType(); onChanged(); return this; } /** *
       * 联网方式 4G WIFI
       * 
* * string NetType = 5; * @param value The bytes for netType to set. * @return This builder for chaining. */ public Builder setNetTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); netType_ = value; onChanged(); return this; } private long sdcardFree_ ; /** *
       * 外部存储(sdcard)剩余空间字节数
       * 
* * int64 SdcardFree = 6; * @return The sdcardFree. */ public long getSdcardFree() { return sdcardFree_; } /** *
       * 外部存储(sdcard)剩余空间字节数
       * 
* * int64 SdcardFree = 6; * @param value The sdcardFree to set. * @return This builder for chaining. */ public Builder setSdcardFree(long value) { sdcardFree_ = value; onChanged(); return this; } /** *
       * 外部存储(sdcard)剩余空间字节数
       * 
* * int64 SdcardFree = 6; * @return This builder for chaining. */ public Builder clearSdcardFree() { sdcardFree_ = 0L; onChanged(); return this; } private long sdcardTotal_ ; /** *
       * 外部存储(sdcard)总空间字节数
       * 
* * int64 SdcardTotal = 7; * @return The sdcardTotal. */ public long getSdcardTotal() { return sdcardTotal_; } /** *
       * 外部存储(sdcard)总空间字节数
       * 
* * int64 SdcardTotal = 7; * @param value The sdcardTotal to set. * @return This builder for chaining. */ public Builder setSdcardTotal(long value) { sdcardTotal_ = value; onChanged(); return this; } /** *
       * 外部存储(sdcard)总空间字节数
       * 
* * int64 SdcardTotal = 7; * @return This builder for chaining. */ public Builder clearSdcardTotal() { sdcardTotal_ = 0L; 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:Im.Scrm.Ww.Proto.PhoneStateTaskResultNoticeMessage) } // @@protoc_insertion_point(class_scope:Im.Scrm.Ww.Proto.PhoneStateTaskResultNoticeMessage) private static final Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage(); } public static Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PhoneStateTaskResultNoticeMessage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PhoneStateTaskResultNoticeMessage(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 Im.Scrm.Ww.Proto.WPhoneStateTaskResultNotice.PhoneStateTaskResultNoticeMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_Im_Scrm_Ww_Proto_PhoneStateTaskResultNoticeMessage_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_Im_Scrm_Ww_Proto_PhoneStateTaskResultNoticeMessage_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!WPhoneStateTaskResultNotice.proto\022\020Im." + "Scrm.Ww.Proto\"\246\001\n!PhoneStateTaskResultNo" + "ticeMessage\022\014\n\004WxId\030\001 \001(\003\022\014\n\004Imei\030\002 \001(\t\022" + "\024\n\014BatteryLevel\030\003 \001(\005\022\025\n\rChargingState\030\004" + " \001(\005\022\017\n\007NetType\030\005 \001(\t\022\022\n\nSdcardFree\030\006 \001(" + "\003\022\023\n\013SdcardTotal\030\007 \001(\003b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }); internal_static_Im_Scrm_Ww_Proto_PhoneStateTaskResultNoticeMessage_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_Im_Scrm_Ww_Proto_PhoneStateTaskResultNoticeMessage_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_Im_Scrm_Ww_Proto_PhoneStateTaskResultNoticeMessage_descriptor, new java.lang.String[] { "WxId", "Imei", "BatteryLevel", "ChargingState", "NetType", "SdcardFree", "SdcardTotal", }); } // @@protoc_insertion_point(outer_class_scope) }