|
@@ -0,0 +1,1387 @@
|
|
|
+// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
|
+// source: com/tzld/piaoquan/recommend/server/recommend.proto
|
|
|
+
|
|
|
+package com.tzld.piaoquan.recommend.server.gen.recommend;
|
|
|
+
|
|
|
+/**
|
|
|
+ * Protobuf type {@code MachineInfoProto}
|
|
|
+ */
|
|
|
+public final class MachineInfoProto extends
|
|
|
+ com.google.protobuf.GeneratedMessageV3 implements
|
|
|
+ // @@protoc_insertion_point(message_implements:MachineInfoProto)
|
|
|
+ MachineInfoProtoOrBuilder {
|
|
|
+private static final long serialVersionUID = 0L;
|
|
|
+ // Use MachineInfoProto.newBuilder() to construct.
|
|
|
+ private MachineInfoProto(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
|
+ super(builder);
|
|
|
+ }
|
|
|
+ private MachineInfoProto() {
|
|
|
+ brand_ = "";
|
|
|
+ model_ = "";
|
|
|
+ platform_ = "";
|
|
|
+ sdkVersion_ = "";
|
|
|
+ system_ = "";
|
|
|
+ wechatVersion_ = "";
|
|
|
+ }
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ @SuppressWarnings({"unused"})
|
|
|
+ protected java.lang.Object newInstance(
|
|
|
+ UnusedPrivateParameter unused) {
|
|
|
+ return new MachineInfoProto();
|
|
|
+ }
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ public final com.google.protobuf.UnknownFieldSet
|
|
|
+ getUnknownFields() {
|
|
|
+ return this.unknownFields;
|
|
|
+ }
|
|
|
+ private MachineInfoProto(
|
|
|
+ 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 10: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ brand_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 18: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ model_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 26: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ platform_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 34: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ sdkVersion_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 42: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ system_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 50: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ wechatVersion_ = s;
|
|
|
+ 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 com.tzld.piaoquan.recommend.server.gen.recommend.Recommend.internal_static_MachineInfoProto_descriptor;
|
|
|
+ }
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
|
+ internalGetFieldAccessorTable() {
|
|
|
+ return com.tzld.piaoquan.recommend.server.gen.recommend.Recommend.internal_static_MachineInfoProto_fieldAccessorTable
|
|
|
+ .ensureFieldAccessorsInitialized(
|
|
|
+ com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto.class, com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto.Builder.class);
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int BRAND_FIELD_NUMBER = 1;
|
|
|
+ private volatile java.lang.Object brand_;
|
|
|
+ /**
|
|
|
+ * <code>string brand = 1;</code>
|
|
|
+ * @return The brand.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public java.lang.String getBrand() {
|
|
|
+ java.lang.Object ref = brand_;
|
|
|
+ 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();
|
|
|
+ brand_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string brand = 1;</code>
|
|
|
+ * @return The bytes for brand.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getBrandBytes() {
|
|
|
+ java.lang.Object ref = brand_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ brand_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int MODEL_FIELD_NUMBER = 2;
|
|
|
+ private volatile java.lang.Object model_;
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * NZA-AL00
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string model = 2;</code>
|
|
|
+ * @return The model.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public java.lang.String getModel() {
|
|
|
+ java.lang.Object ref = model_;
|
|
|
+ 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();
|
|
|
+ model_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * NZA-AL00
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string model = 2;</code>
|
|
|
+ * @return The bytes for model.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getModelBytes() {
|
|
|
+ java.lang.Object ref = model_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ model_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int PLATFORM_FIELD_NUMBER = 3;
|
|
|
+ private volatile java.lang.Object platform_;
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * android
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string platform = 3;</code>
|
|
|
+ * @return The platform.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public java.lang.String getPlatform() {
|
|
|
+ java.lang.Object ref = platform_;
|
|
|
+ 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();
|
|
|
+ platform_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * android
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string platform = 3;</code>
|
|
|
+ * @return The bytes for platform.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getPlatformBytes() {
|
|
|
+ java.lang.Object ref = platform_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ platform_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int SDK_VERSION_FIELD_NUMBER = 4;
|
|
|
+ private volatile java.lang.Object sdkVersion_;
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 3.2.4
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string sdk_version = 4;</code>
|
|
|
+ * @return The sdkVersion.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public java.lang.String getSdkVersion() {
|
|
|
+ java.lang.Object ref = sdkVersion_;
|
|
|
+ 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();
|
|
|
+ sdkVersion_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 3.2.4
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string sdk_version = 4;</code>
|
|
|
+ * @return The bytes for sdkVersion.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getSdkVersionBytes() {
|
|
|
+ java.lang.Object ref = sdkVersion_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ sdkVersion_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int SYSTEM_FIELD_NUMBER = 5;
|
|
|
+ private volatile java.lang.Object system_;
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * Android 10
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string system = 5;</code>
|
|
|
+ * @return The system.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public java.lang.String getSystem() {
|
|
|
+ java.lang.Object ref = system_;
|
|
|
+ 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();
|
|
|
+ system_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * Android 10
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string system = 5;</code>
|
|
|
+ * @return The bytes for system.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getSystemBytes() {
|
|
|
+ java.lang.Object ref = system_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ system_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int WECHAT_VERSION_FIELD_NUMBER = 6;
|
|
|
+ private volatile java.lang.Object wechatVersion_;
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 8.0.43
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string wechat_version = 6;</code>
|
|
|
+ * @return The wechatVersion.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public java.lang.String getWechatVersion() {
|
|
|
+ java.lang.Object ref = wechatVersion_;
|
|
|
+ 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();
|
|
|
+ wechatVersion_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 8.0.43
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string wechat_version = 6;</code>
|
|
|
+ * @return The bytes for wechatVersion.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getWechatVersionBytes() {
|
|
|
+ java.lang.Object ref = wechatVersion_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ wechatVersion_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ 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 (!getBrandBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, brand_);
|
|
|
+ }
|
|
|
+ if (!getModelBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, model_);
|
|
|
+ }
|
|
|
+ if (!getPlatformBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, platform_);
|
|
|
+ }
|
|
|
+ if (!getSdkVersionBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, sdkVersion_);
|
|
|
+ }
|
|
|
+ if (!getSystemBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, system_);
|
|
|
+ }
|
|
|
+ if (!getWechatVersionBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, wechatVersion_);
|
|
|
+ }
|
|
|
+ unknownFields.writeTo(output);
|
|
|
+ }
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ public int getSerializedSize() {
|
|
|
+ int size = memoizedSize;
|
|
|
+ if (size != -1) return size;
|
|
|
+
|
|
|
+ size = 0;
|
|
|
+ if (!getBrandBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, brand_);
|
|
|
+ }
|
|
|
+ if (!getModelBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, model_);
|
|
|
+ }
|
|
|
+ if (!getPlatformBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, platform_);
|
|
|
+ }
|
|
|
+ if (!getSdkVersionBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, sdkVersion_);
|
|
|
+ }
|
|
|
+ if (!getSystemBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, system_);
|
|
|
+ }
|
|
|
+ if (!getWechatVersionBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, wechatVersion_);
|
|
|
+ }
|
|
|
+ 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 com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto)) {
|
|
|
+ return super.equals(obj);
|
|
|
+ }
|
|
|
+ com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto other = (com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto) obj;
|
|
|
+
|
|
|
+ if (!getBrand()
|
|
|
+ .equals(other.getBrand())) return false;
|
|
|
+ if (!getModel()
|
|
|
+ .equals(other.getModel())) return false;
|
|
|
+ if (!getPlatform()
|
|
|
+ .equals(other.getPlatform())) return false;
|
|
|
+ if (!getSdkVersion()
|
|
|
+ .equals(other.getSdkVersion())) return false;
|
|
|
+ if (!getSystem()
|
|
|
+ .equals(other.getSystem())) return false;
|
|
|
+ if (!getWechatVersion()
|
|
|
+ .equals(other.getWechatVersion())) 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) + BRAND_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getBrand().hashCode();
|
|
|
+ hash = (37 * hash) + MODEL_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getModel().hashCode();
|
|
|
+ hash = (37 * hash) + PLATFORM_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getPlatform().hashCode();
|
|
|
+ hash = (37 * hash) + SDK_VERSION_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getSdkVersion().hashCode();
|
|
|
+ hash = (37 * hash) + SYSTEM_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getSystem().hashCode();
|
|
|
+ hash = (37 * hash) + WECHAT_VERSION_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getWechatVersion().hashCode();
|
|
|
+ hash = (29 * hash) + unknownFields.hashCode();
|
|
|
+ memoizedHashCode = hash;
|
|
|
+ return hash;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto parseFrom(
|
|
|
+ java.nio.ByteBuffer data)
|
|
|
+ throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
+ return PARSER.parseFrom(data);
|
|
|
+ }
|
|
|
+ public static com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto parseFrom(
|
|
|
+ java.nio.ByteBuffer data,
|
|
|
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
+ throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
+ return PARSER.parseFrom(data, extensionRegistry);
|
|
|
+ }
|
|
|
+ public static com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto parseFrom(
|
|
|
+ com.google.protobuf.ByteString data)
|
|
|
+ throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
+ return PARSER.parseFrom(data);
|
|
|
+ }
|
|
|
+ public static com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto parseFrom(
|
|
|
+ com.google.protobuf.ByteString data,
|
|
|
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
+ throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
+ return PARSER.parseFrom(data, extensionRegistry);
|
|
|
+ }
|
|
|
+ public static com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto parseFrom(byte[] data)
|
|
|
+ throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
+ return PARSER.parseFrom(data);
|
|
|
+ }
|
|
|
+ public static com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto parseFrom(
|
|
|
+ byte[] data,
|
|
|
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
+ throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
+ return PARSER.parseFrom(data, extensionRegistry);
|
|
|
+ }
|
|
|
+ public static com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto parseFrom(java.io.InputStream input)
|
|
|
+ throws java.io.IOException {
|
|
|
+ return com.google.protobuf.GeneratedMessageV3
|
|
|
+ .parseWithIOException(PARSER, input);
|
|
|
+ }
|
|
|
+ public static com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto 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 com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto parseDelimitedFrom(java.io.InputStream input)
|
|
|
+ throws java.io.IOException {
|
|
|
+ return com.google.protobuf.GeneratedMessageV3
|
|
|
+ .parseDelimitedWithIOException(PARSER, input);
|
|
|
+ }
|
|
|
+ public static com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto 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 com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto parseFrom(
|
|
|
+ com.google.protobuf.CodedInputStream input)
|
|
|
+ throws java.io.IOException {
|
|
|
+ return com.google.protobuf.GeneratedMessageV3
|
|
|
+ .parseWithIOException(PARSER, input);
|
|
|
+ }
|
|
|
+ public static com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto 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(com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto 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 MachineInfoProto}
|
|
|
+ */
|
|
|
+ public static final class Builder extends
|
|
|
+ com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
|
+ // @@protoc_insertion_point(builder_implements:MachineInfoProto)
|
|
|
+ com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProtoOrBuilder {
|
|
|
+ public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
+ getDescriptor() {
|
|
|
+ return com.tzld.piaoquan.recommend.server.gen.recommend.Recommend.internal_static_MachineInfoProto_descriptor;
|
|
|
+ }
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
|
+ internalGetFieldAccessorTable() {
|
|
|
+ return com.tzld.piaoquan.recommend.server.gen.recommend.Recommend.internal_static_MachineInfoProto_fieldAccessorTable
|
|
|
+ .ensureFieldAccessorsInitialized(
|
|
|
+ com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto.class, com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto.Builder.class);
|
|
|
+ }
|
|
|
+
|
|
|
+ // Construct using com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto.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();
|
|
|
+ brand_ = "";
|
|
|
+
|
|
|
+ model_ = "";
|
|
|
+
|
|
|
+ platform_ = "";
|
|
|
+
|
|
|
+ sdkVersion_ = "";
|
|
|
+
|
|
|
+ system_ = "";
|
|
|
+
|
|
|
+ wechatVersion_ = "";
|
|
|
+
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.Descriptors.Descriptor
|
|
|
+ getDescriptorForType() {
|
|
|
+ return com.tzld.piaoquan.recommend.server.gen.recommend.Recommend.internal_static_MachineInfoProto_descriptor;
|
|
|
+ }
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ public com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto getDefaultInstanceForType() {
|
|
|
+ return com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto.getDefaultInstance();
|
|
|
+ }
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ public com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto build() {
|
|
|
+ com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto result = buildPartial();
|
|
|
+ if (!result.isInitialized()) {
|
|
|
+ throw newUninitializedMessageException(result);
|
|
|
+ }
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ public com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto buildPartial() {
|
|
|
+ com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto result = new com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto(this);
|
|
|
+ result.brand_ = brand_;
|
|
|
+ result.model_ = model_;
|
|
|
+ result.platform_ = platform_;
|
|
|
+ result.sdkVersion_ = sdkVersion_;
|
|
|
+ result.system_ = system_;
|
|
|
+ result.wechatVersion_ = wechatVersion_;
|
|
|
+ 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 com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto) {
|
|
|
+ return mergeFrom((com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto)other);
|
|
|
+ } else {
|
|
|
+ super.mergeFrom(other);
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public Builder mergeFrom(com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto other) {
|
|
|
+ if (other == com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto.getDefaultInstance()) return this;
|
|
|
+ if (!other.getBrand().isEmpty()) {
|
|
|
+ brand_ = other.brand_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (!other.getModel().isEmpty()) {
|
|
|
+ model_ = other.model_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (!other.getPlatform().isEmpty()) {
|
|
|
+ platform_ = other.platform_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (!other.getSdkVersion().isEmpty()) {
|
|
|
+ sdkVersion_ = other.sdkVersion_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (!other.getSystem().isEmpty()) {
|
|
|
+ system_ = other.system_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (!other.getWechatVersion().isEmpty()) {
|
|
|
+ wechatVersion_ = other.wechatVersion_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ 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 {
|
|
|
+ com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto parsedMessage = null;
|
|
|
+ try {
|
|
|
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
|
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
|
+ parsedMessage = (com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto) e.getUnfinishedMessage();
|
|
|
+ throw e.unwrapIOException();
|
|
|
+ } finally {
|
|
|
+ if (parsedMessage != null) {
|
|
|
+ mergeFrom(parsedMessage);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object brand_ = "";
|
|
|
+ /**
|
|
|
+ * <code>string brand = 1;</code>
|
|
|
+ * @return The brand.
|
|
|
+ */
|
|
|
+ public java.lang.String getBrand() {
|
|
|
+ java.lang.Object ref = brand_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ brand_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string brand = 1;</code>
|
|
|
+ * @return The bytes for brand.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getBrandBytes() {
|
|
|
+ java.lang.Object ref = brand_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ brand_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string brand = 1;</code>
|
|
|
+ * @param value The brand to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setBrand(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ brand_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string brand = 1;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearBrand() {
|
|
|
+
|
|
|
+ brand_ = getDefaultInstance().getBrand();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string brand = 1;</code>
|
|
|
+ * @param value The bytes for brand to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setBrandBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ brand_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object model_ = "";
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * NZA-AL00
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string model = 2;</code>
|
|
|
+ * @return The model.
|
|
|
+ */
|
|
|
+ public java.lang.String getModel() {
|
|
|
+ java.lang.Object ref = model_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ model_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * NZA-AL00
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string model = 2;</code>
|
|
|
+ * @return The bytes for model.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getModelBytes() {
|
|
|
+ java.lang.Object ref = model_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ model_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * NZA-AL00
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string model = 2;</code>
|
|
|
+ * @param value The model to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setModel(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ model_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * NZA-AL00
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string model = 2;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearModel() {
|
|
|
+
|
|
|
+ model_ = getDefaultInstance().getModel();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * NZA-AL00
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string model = 2;</code>
|
|
|
+ * @param value The bytes for model to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setModelBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ model_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object platform_ = "";
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * android
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string platform = 3;</code>
|
|
|
+ * @return The platform.
|
|
|
+ */
|
|
|
+ public java.lang.String getPlatform() {
|
|
|
+ java.lang.Object ref = platform_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ platform_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * android
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string platform = 3;</code>
|
|
|
+ * @return The bytes for platform.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getPlatformBytes() {
|
|
|
+ java.lang.Object ref = platform_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ platform_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * android
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string platform = 3;</code>
|
|
|
+ * @param value The platform to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setPlatform(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ platform_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * android
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string platform = 3;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearPlatform() {
|
|
|
+
|
|
|
+ platform_ = getDefaultInstance().getPlatform();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * android
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string platform = 3;</code>
|
|
|
+ * @param value The bytes for platform to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setPlatformBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ platform_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object sdkVersion_ = "";
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 3.2.4
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string sdk_version = 4;</code>
|
|
|
+ * @return The sdkVersion.
|
|
|
+ */
|
|
|
+ public java.lang.String getSdkVersion() {
|
|
|
+ java.lang.Object ref = sdkVersion_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ sdkVersion_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 3.2.4
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string sdk_version = 4;</code>
|
|
|
+ * @return The bytes for sdkVersion.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getSdkVersionBytes() {
|
|
|
+ java.lang.Object ref = sdkVersion_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ sdkVersion_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 3.2.4
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string sdk_version = 4;</code>
|
|
|
+ * @param value The sdkVersion to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setSdkVersion(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ sdkVersion_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 3.2.4
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string sdk_version = 4;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearSdkVersion() {
|
|
|
+
|
|
|
+ sdkVersion_ = getDefaultInstance().getSdkVersion();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 3.2.4
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string sdk_version = 4;</code>
|
|
|
+ * @param value The bytes for sdkVersion to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setSdkVersionBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ sdkVersion_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object system_ = "";
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * Android 10
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string system = 5;</code>
|
|
|
+ * @return The system.
|
|
|
+ */
|
|
|
+ public java.lang.String getSystem() {
|
|
|
+ java.lang.Object ref = system_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ system_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * Android 10
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string system = 5;</code>
|
|
|
+ * @return The bytes for system.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getSystemBytes() {
|
|
|
+ java.lang.Object ref = system_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ system_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * Android 10
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string system = 5;</code>
|
|
|
+ * @param value The system to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setSystem(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ system_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * Android 10
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string system = 5;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearSystem() {
|
|
|
+
|
|
|
+ system_ = getDefaultInstance().getSystem();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * Android 10
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string system = 5;</code>
|
|
|
+ * @param value The bytes for system to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setSystemBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ system_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object wechatVersion_ = "";
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 8.0.43
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string wechat_version = 6;</code>
|
|
|
+ * @return The wechatVersion.
|
|
|
+ */
|
|
|
+ public java.lang.String getWechatVersion() {
|
|
|
+ java.lang.Object ref = wechatVersion_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ wechatVersion_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 8.0.43
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string wechat_version = 6;</code>
|
|
|
+ * @return The bytes for wechatVersion.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getWechatVersionBytes() {
|
|
|
+ java.lang.Object ref = wechatVersion_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ wechatVersion_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 8.0.43
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string wechat_version = 6;</code>
|
|
|
+ * @param value The wechatVersion to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setWechatVersion(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ wechatVersion_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 8.0.43
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string wechat_version = 6;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearWechatVersion() {
|
|
|
+
|
|
|
+ wechatVersion_ = getDefaultInstance().getWechatVersion();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 8.0.43
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string wechat_version = 6;</code>
|
|
|
+ * @param value The bytes for wechatVersion to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setWechatVersionBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ wechatVersion_ = value;
|
|
|
+ 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:MachineInfoProto)
|
|
|
+ }
|
|
|
+
|
|
|
+ // @@protoc_insertion_point(class_scope:MachineInfoProto)
|
|
|
+ private static final com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto DEFAULT_INSTANCE;
|
|
|
+ static {
|
|
|
+ DEFAULT_INSTANCE = new com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto();
|
|
|
+ }
|
|
|
+
|
|
|
+ public static com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto getDefaultInstance() {
|
|
|
+ return DEFAULT_INSTANCE;
|
|
|
+ }
|
|
|
+
|
|
|
+ private static final com.google.protobuf.Parser<MachineInfoProto>
|
|
|
+ PARSER = new com.google.protobuf.AbstractParser<MachineInfoProto>() {
|
|
|
+ @java.lang.Override
|
|
|
+ public MachineInfoProto parsePartialFrom(
|
|
|
+ com.google.protobuf.CodedInputStream input,
|
|
|
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
+ throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
+ return new MachineInfoProto(input, extensionRegistry);
|
|
|
+ }
|
|
|
+ };
|
|
|
+
|
|
|
+ public static com.google.protobuf.Parser<MachineInfoProto> parser() {
|
|
|
+ return PARSER;
|
|
|
+ }
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.Parser<MachineInfoProto> getParserForType() {
|
|
|
+ return PARSER;
|
|
|
+ }
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ public com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto getDefaultInstanceForType() {
|
|
|
+ return DEFAULT_INSTANCE;
|
|
|
+ }
|
|
|
+
|
|
|
+}
|
|
|
+
|