|
@@ -0,0 +1,2494 @@
|
|
|
+// 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 RecommendRequest}
|
|
|
+ */
|
|
|
+public final class RecommendRequest extends
|
|
|
+ com.google.protobuf.GeneratedMessageV3 implements
|
|
|
+ // @@protoc_insertion_point(message_implements:RecommendRequest)
|
|
|
+ RecommendRequestOrBuilder {
|
|
|
+private static final long serialVersionUID = 0L;
|
|
|
+ // Use RecommendRequest.newBuilder() to construct.
|
|
|
+ private RecommendRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
|
+ super(builder);
|
|
|
+ }
|
|
|
+ private RecommendRequest() {
|
|
|
+ requestId_ = "";
|
|
|
+ mid_ = "";
|
|
|
+ uid_ = "";
|
|
|
+ cityCode_ = "";
|
|
|
+ provinceCode_ = "";
|
|
|
+ abExpCode_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
|
|
+ recommendTraceId_ = "";
|
|
|
+ city_ = "";
|
|
|
+ province_ = "";
|
|
|
+ }
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ @SuppressWarnings({"unused"})
|
|
|
+ protected java.lang.Object newInstance(
|
|
|
+ UnusedPrivateParameter unused) {
|
|
|
+ return new RecommendRequest();
|
|
|
+ }
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ public final com.google.protobuf.UnknownFieldSet
|
|
|
+ getUnknownFields() {
|
|
|
+ return this.unknownFields;
|
|
|
+ }
|
|
|
+ private RecommendRequest(
|
|
|
+ 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 10: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ requestId_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 18: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ mid_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 26: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ uid_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 32: {
|
|
|
+
|
|
|
+ size_ = input.readInt32();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 40: {
|
|
|
+
|
|
|
+ appType_ = input.readInt32();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 50: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ cityCode_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 58: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ provinceCode_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 66: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
|
|
+ abExpCode_ = new com.google.protobuf.LazyStringArrayList();
|
|
|
+ mutable_bitField0_ |= 0x00000001;
|
|
|
+ }
|
|
|
+ abExpCode_.add(s);
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 74: {
|
|
|
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
|
|
|
+ eventId_ = com.google.protobuf.MapField.newMapField(
|
|
|
+ EventIdDefaultEntryHolder.defaultEntry);
|
|
|
+ mutable_bitField0_ |= 0x00000002;
|
|
|
+ }
|
|
|
+ com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
|
|
|
+ eventId__ = input.readMessage(
|
|
|
+ EventIdDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
|
|
|
+ eventId_.getMutableMap().put(
|
|
|
+ eventId__.getKey(), eventId__.getValue());
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 80: {
|
|
|
+
|
|
|
+ versionAuditStatus_ = input.readInt32();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 90: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ recommendTraceId_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 96: {
|
|
|
+
|
|
|
+ videoId_ = input.readInt64();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 106: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ city_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 114: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ province_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 122: {
|
|
|
+ com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto.Builder subBuilder = null;
|
|
|
+ if (machineInfo_ != null) {
|
|
|
+ subBuilder = machineInfo_.toBuilder();
|
|
|
+ }
|
|
|
+ machineInfo_ = input.readMessage(com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto.parser(), extensionRegistry);
|
|
|
+ if (subBuilder != null) {
|
|
|
+ subBuilder.mergeFrom(machineInfo_);
|
|
|
+ machineInfo_ = subBuilder.buildPartial();
|
|
|
+ }
|
|
|
+
|
|
|
+ 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 {
|
|
|
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
|
|
|
+ abExpCode_ = abExpCode_.getUnmodifiableView();
|
|
|
+ }
|
|
|
+ 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_RecommendRequest_descriptor;
|
|
|
+ }
|
|
|
+
|
|
|
+ @SuppressWarnings({"rawtypes"})
|
|
|
+ @java.lang.Override
|
|
|
+ protected com.google.protobuf.MapField internalGetMapField(
|
|
|
+ int number) {
|
|
|
+ switch (number) {
|
|
|
+ case 9:
|
|
|
+ return internalGetEventId();
|
|
|
+ default:
|
|
|
+ throw new RuntimeException(
|
|
|
+ "Invalid map field number: " + number);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ @java.lang.Override
|
|
|
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
|
+ internalGetFieldAccessorTable() {
|
|
|
+ return com.tzld.piaoquan.recommend.server.gen.recommend.Recommend.internal_static_RecommendRequest_fieldAccessorTable
|
|
|
+ .ensureFieldAccessorsInitialized(
|
|
|
+ com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest.class, com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest.Builder.class);
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int REQUEST_ID_FIELD_NUMBER = 1;
|
|
|
+ private volatile java.lang.Object requestId_;
|
|
|
+ /**
|
|
|
+ * <code>string request_id = 1;</code>
|
|
|
+ * @return The requestId.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public java.lang.String getRequestId() {
|
|
|
+ java.lang.Object ref = requestId_;
|
|
|
+ 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();
|
|
|
+ requestId_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string request_id = 1;</code>
|
|
|
+ * @return The bytes for requestId.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getRequestIdBytes() {
|
|
|
+ java.lang.Object ref = requestId_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ requestId_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int MID_FIELD_NUMBER = 2;
|
|
|
+ private volatile java.lang.Object mid_;
|
|
|
+ /**
|
|
|
+ * <code>string mid = 2;</code>
|
|
|
+ * @return The mid.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public java.lang.String getMid() {
|
|
|
+ java.lang.Object ref = mid_;
|
|
|
+ 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();
|
|
|
+ mid_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string mid = 2;</code>
|
|
|
+ * @return The bytes for mid.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getMidBytes() {
|
|
|
+ java.lang.Object ref = mid_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ mid_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int UID_FIELD_NUMBER = 3;
|
|
|
+ private volatile java.lang.Object uid_;
|
|
|
+ /**
|
|
|
+ * <code>string uid = 3;</code>
|
|
|
+ * @return The uid.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public java.lang.String getUid() {
|
|
|
+ java.lang.Object ref = uid_;
|
|
|
+ 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();
|
|
|
+ uid_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string uid = 3;</code>
|
|
|
+ * @return The bytes for uid.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getUidBytes() {
|
|
|
+ java.lang.Object ref = uid_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ uid_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int SIZE_FIELD_NUMBER = 4;
|
|
|
+ private int size_;
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * default 4
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>int32 size = 4;</code>
|
|
|
+ * @return The size.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public int getSize() {
|
|
|
+ return size_;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int APP_TYPE_FIELD_NUMBER = 5;
|
|
|
+ private int appType_;
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * default 4
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>int32 app_type = 5;</code>
|
|
|
+ * @return The appType.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public int getAppType() {
|
|
|
+ return appType_;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int CITY_CODE_FIELD_NUMBER = 6;
|
|
|
+ private volatile java.lang.Object cityCode_;
|
|
|
+ /**
|
|
|
+ * <code>string city_code = 6;</code>
|
|
|
+ * @return The cityCode.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public java.lang.String getCityCode() {
|
|
|
+ java.lang.Object ref = cityCode_;
|
|
|
+ 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();
|
|
|
+ cityCode_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string city_code = 6;</code>
|
|
|
+ * @return The bytes for cityCode.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getCityCodeBytes() {
|
|
|
+ java.lang.Object ref = cityCode_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ cityCode_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int PROVINCE_CODE_FIELD_NUMBER = 7;
|
|
|
+ private volatile java.lang.Object provinceCode_;
|
|
|
+ /**
|
|
|
+ * <code>string province_code = 7;</code>
|
|
|
+ * @return The provinceCode.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public java.lang.String getProvinceCode() {
|
|
|
+ java.lang.Object ref = provinceCode_;
|
|
|
+ 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();
|
|
|
+ provinceCode_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string province_code = 7;</code>
|
|
|
+ * @return The bytes for provinceCode.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getProvinceCodeBytes() {
|
|
|
+ java.lang.Object ref = provinceCode_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ provinceCode_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int AB_EXP_CODE_FIELD_NUMBER = 8;
|
|
|
+ private com.google.protobuf.LazyStringList abExpCode_;
|
|
|
+ /**
|
|
|
+ * <code>repeated string ab_exp_code = 8;</code>
|
|
|
+ * @return A list containing the abExpCode.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ProtocolStringList
|
|
|
+ getAbExpCodeList() {
|
|
|
+ return abExpCode_;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>repeated string ab_exp_code = 8;</code>
|
|
|
+ * @return The count of abExpCode.
|
|
|
+ */
|
|
|
+ public int getAbExpCodeCount() {
|
|
|
+ return abExpCode_.size();
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>repeated string ab_exp_code = 8;</code>
|
|
|
+ * @param index The index of the element to return.
|
|
|
+ * @return The abExpCode at the given index.
|
|
|
+ */
|
|
|
+ public java.lang.String getAbExpCode(int index) {
|
|
|
+ return abExpCode_.get(index);
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>repeated string ab_exp_code = 8;</code>
|
|
|
+ * @param index The index of the value to return.
|
|
|
+ * @return The bytes of the abExpCode at the given index.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getAbExpCodeBytes(int index) {
|
|
|
+ return abExpCode_.getByteString(index);
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int EVENT_ID_FIELD_NUMBER = 9;
|
|
|
+ private static final class EventIdDefaultEntryHolder {
|
|
|
+ static final com.google.protobuf.MapEntry<
|
|
|
+ java.lang.String, java.lang.String> defaultEntry =
|
|
|
+ com.google.protobuf.MapEntry
|
|
|
+ .<java.lang.String, java.lang.String>newDefaultInstance(
|
|
|
+ com.tzld.piaoquan.recommend.server.gen.recommend.Recommend.internal_static_RecommendRequest_EventIdEntry_descriptor,
|
|
|
+ com.google.protobuf.WireFormat.FieldType.STRING,
|
|
|
+ "",
|
|
|
+ com.google.protobuf.WireFormat.FieldType.STRING,
|
|
|
+ "");
|
|
|
+ }
|
|
|
+ private com.google.protobuf.MapField<
|
|
|
+ java.lang.String, java.lang.String> eventId_;
|
|
|
+ private com.google.protobuf.MapField<java.lang.String, java.lang.String>
|
|
|
+ internalGetEventId() {
|
|
|
+ if (eventId_ == null) {
|
|
|
+ return com.google.protobuf.MapField.emptyMapField(
|
|
|
+ EventIdDefaultEntryHolder.defaultEntry);
|
|
|
+ }
|
|
|
+ return eventId_;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getEventIdCount() {
|
|
|
+ return internalGetEventId().getMap().size();
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>map<string, string> event_id = 9;</code>
|
|
|
+ */
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ public boolean containsEventId(
|
|
|
+ java.lang.String key) {
|
|
|
+ if (key == null) { throw new java.lang.NullPointerException(); }
|
|
|
+ return internalGetEventId().getMap().containsKey(key);
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * Use {@link #getEventIdMap()} instead.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ @java.lang.Deprecated
|
|
|
+ public java.util.Map<java.lang.String, java.lang.String> getEventId() {
|
|
|
+ return getEventIdMap();
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>map<string, string> event_id = 9;</code>
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+
|
|
|
+ public java.util.Map<java.lang.String, java.lang.String> getEventIdMap() {
|
|
|
+ return internalGetEventId().getMap();
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>map<string, string> event_id = 9;</code>
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+
|
|
|
+ public java.lang.String getEventIdOrDefault(
|
|
|
+ java.lang.String key,
|
|
|
+ java.lang.String defaultValue) {
|
|
|
+ if (key == null) { throw new java.lang.NullPointerException(); }
|
|
|
+ java.util.Map<java.lang.String, java.lang.String> map =
|
|
|
+ internalGetEventId().getMap();
|
|
|
+ return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>map<string, string> event_id = 9;</code>
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+
|
|
|
+ public java.lang.String getEventIdOrThrow(
|
|
|
+ java.lang.String key) {
|
|
|
+ if (key == null) { throw new java.lang.NullPointerException(); }
|
|
|
+ java.util.Map<java.lang.String, java.lang.String> map =
|
|
|
+ internalGetEventId().getMap();
|
|
|
+ if (!map.containsKey(key)) {
|
|
|
+ throw new java.lang.IllegalArgumentException();
|
|
|
+ }
|
|
|
+ return map.get(key);
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int VERSION_AUDIT_STATUS_FIELD_NUMBER = 10;
|
|
|
+ private int versionAuditStatus_;
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * default 2
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>int32 version_audit_status = 10;</code>
|
|
|
+ * @return The versionAuditStatus.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public int getVersionAuditStatus() {
|
|
|
+ return versionAuditStatus_;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int RECOMMEND_TRACE_ID_FIELD_NUMBER = 11;
|
|
|
+ private volatile java.lang.Object recommendTraceId_;
|
|
|
+ /**
|
|
|
+ * <code>string recommend_trace_id = 11;</code>
|
|
|
+ * @return The recommendTraceId.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public java.lang.String getRecommendTraceId() {
|
|
|
+ java.lang.Object ref = recommendTraceId_;
|
|
|
+ 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();
|
|
|
+ recommendTraceId_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string recommend_trace_id = 11;</code>
|
|
|
+ * @return The bytes for recommendTraceId.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getRecommendTraceIdBytes() {
|
|
|
+ java.lang.Object ref = recommendTraceId_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ recommendTraceId_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int VIDEO_ID_FIELD_NUMBER = 12;
|
|
|
+ private long videoId_;
|
|
|
+ /**
|
|
|
+ * <code>int64 video_id = 12;</code>
|
|
|
+ * @return The videoId.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public long getVideoId() {
|
|
|
+ return videoId_;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int CITY_FIELD_NUMBER = 13;
|
|
|
+ private volatile java.lang.Object city_;
|
|
|
+ /**
|
|
|
+ * <code>string city = 13;</code>
|
|
|
+ * @return The city.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public java.lang.String getCity() {
|
|
|
+ java.lang.Object ref = city_;
|
|
|
+ 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();
|
|
|
+ city_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string city = 13;</code>
|
|
|
+ * @return The bytes for city.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getCityBytes() {
|
|
|
+ java.lang.Object ref = city_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ city_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int PROVINCE_FIELD_NUMBER = 14;
|
|
|
+ private volatile java.lang.Object province_;
|
|
|
+ /**
|
|
|
+ * <code>string province = 14;</code>
|
|
|
+ * @return The province.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public java.lang.String getProvince() {
|
|
|
+ java.lang.Object ref = province_;
|
|
|
+ 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();
|
|
|
+ province_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string province = 14;</code>
|
|
|
+ * @return The bytes for province.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getProvinceBytes() {
|
|
|
+ java.lang.Object ref = province_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ province_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int MACHINE_INFO_FIELD_NUMBER = 15;
|
|
|
+ private com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto machineInfo_;
|
|
|
+ /**
|
|
|
+ * <code>.MachineInfoProto machine_info = 15;</code>
|
|
|
+ * @return Whether the machineInfo field is set.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public boolean hasMachineInfo() {
|
|
|
+ return machineInfo_ != null;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.MachineInfoProto machine_info = 15;</code>
|
|
|
+ * @return The machineInfo.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto getMachineInfo() {
|
|
|
+ return machineInfo_ == null ? com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto.getDefaultInstance() : machineInfo_;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.MachineInfoProto machine_info = 15;</code>
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProtoOrBuilder getMachineInfoOrBuilder() {
|
|
|
+ return getMachineInfo();
|
|
|
+ }
|
|
|
+
|
|
|
+ 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 (!getRequestIdBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestId_);
|
|
|
+ }
|
|
|
+ if (!getMidBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, mid_);
|
|
|
+ }
|
|
|
+ if (!getUidBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, uid_);
|
|
|
+ }
|
|
|
+ if (size_ != 0) {
|
|
|
+ output.writeInt32(4, size_);
|
|
|
+ }
|
|
|
+ if (appType_ != 0) {
|
|
|
+ output.writeInt32(5, appType_);
|
|
|
+ }
|
|
|
+ if (!getCityCodeBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, cityCode_);
|
|
|
+ }
|
|
|
+ if (!getProvinceCodeBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 7, provinceCode_);
|
|
|
+ }
|
|
|
+ for (int i = 0; i < abExpCode_.size(); i++) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 8, abExpCode_.getRaw(i));
|
|
|
+ }
|
|
|
+ com.google.protobuf.GeneratedMessageV3
|
|
|
+ .serializeStringMapTo(
|
|
|
+ output,
|
|
|
+ internalGetEventId(),
|
|
|
+ EventIdDefaultEntryHolder.defaultEntry,
|
|
|
+ 9);
|
|
|
+ if (versionAuditStatus_ != 0) {
|
|
|
+ output.writeInt32(10, versionAuditStatus_);
|
|
|
+ }
|
|
|
+ if (!getRecommendTraceIdBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 11, recommendTraceId_);
|
|
|
+ }
|
|
|
+ if (videoId_ != 0L) {
|
|
|
+ output.writeInt64(12, videoId_);
|
|
|
+ }
|
|
|
+ if (!getCityBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 13, city_);
|
|
|
+ }
|
|
|
+ if (!getProvinceBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 14, province_);
|
|
|
+ }
|
|
|
+ if (machineInfo_ != null) {
|
|
|
+ output.writeMessage(15, getMachineInfo());
|
|
|
+ }
|
|
|
+ unknownFields.writeTo(output);
|
|
|
+ }
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ public int getSerializedSize() {
|
|
|
+ int size = memoizedSize;
|
|
|
+ if (size != -1) return size;
|
|
|
+
|
|
|
+ size = 0;
|
|
|
+ if (!getRequestIdBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, requestId_);
|
|
|
+ }
|
|
|
+ if (!getMidBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, mid_);
|
|
|
+ }
|
|
|
+ if (!getUidBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_);
|
|
|
+ }
|
|
|
+ if (size_ != 0) {
|
|
|
+ size += com.google.protobuf.CodedOutputStream
|
|
|
+ .computeInt32Size(4, size_);
|
|
|
+ }
|
|
|
+ if (appType_ != 0) {
|
|
|
+ size += com.google.protobuf.CodedOutputStream
|
|
|
+ .computeInt32Size(5, appType_);
|
|
|
+ }
|
|
|
+ if (!getCityCodeBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, cityCode_);
|
|
|
+ }
|
|
|
+ if (!getProvinceCodeBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, provinceCode_);
|
|
|
+ }
|
|
|
+ {
|
|
|
+ int dataSize = 0;
|
|
|
+ for (int i = 0; i < abExpCode_.size(); i++) {
|
|
|
+ dataSize += computeStringSizeNoTag(abExpCode_.getRaw(i));
|
|
|
+ }
|
|
|
+ size += dataSize;
|
|
|
+ size += 1 * getAbExpCodeList().size();
|
|
|
+ }
|
|
|
+ for (java.util.Map.Entry<java.lang.String, java.lang.String> entry
|
|
|
+ : internalGetEventId().getMap().entrySet()) {
|
|
|
+ com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
|
|
|
+ eventId__ = EventIdDefaultEntryHolder.defaultEntry.newBuilderForType()
|
|
|
+ .setKey(entry.getKey())
|
|
|
+ .setValue(entry.getValue())
|
|
|
+ .build();
|
|
|
+ size += com.google.protobuf.CodedOutputStream
|
|
|
+ .computeMessageSize(9, eventId__);
|
|
|
+ }
|
|
|
+ if (versionAuditStatus_ != 0) {
|
|
|
+ size += com.google.protobuf.CodedOutputStream
|
|
|
+ .computeInt32Size(10, versionAuditStatus_);
|
|
|
+ }
|
|
|
+ if (!getRecommendTraceIdBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, recommendTraceId_);
|
|
|
+ }
|
|
|
+ if (videoId_ != 0L) {
|
|
|
+ size += com.google.protobuf.CodedOutputStream
|
|
|
+ .computeInt64Size(12, videoId_);
|
|
|
+ }
|
|
|
+ if (!getCityBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, city_);
|
|
|
+ }
|
|
|
+ if (!getProvinceBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, province_);
|
|
|
+ }
|
|
|
+ if (machineInfo_ != null) {
|
|
|
+ size += com.google.protobuf.CodedOutputStream
|
|
|
+ .computeMessageSize(15, getMachineInfo());
|
|
|
+ }
|
|
|
+ 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.RecommendRequest)) {
|
|
|
+ return super.equals(obj);
|
|
|
+ }
|
|
|
+ com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest other = (com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest) obj;
|
|
|
+
|
|
|
+ if (!getRequestId()
|
|
|
+ .equals(other.getRequestId())) return false;
|
|
|
+ if (!getMid()
|
|
|
+ .equals(other.getMid())) return false;
|
|
|
+ if (!getUid()
|
|
|
+ .equals(other.getUid())) return false;
|
|
|
+ if (getSize()
|
|
|
+ != other.getSize()) return false;
|
|
|
+ if (getAppType()
|
|
|
+ != other.getAppType()) return false;
|
|
|
+ if (!getCityCode()
|
|
|
+ .equals(other.getCityCode())) return false;
|
|
|
+ if (!getProvinceCode()
|
|
|
+ .equals(other.getProvinceCode())) return false;
|
|
|
+ if (!getAbExpCodeList()
|
|
|
+ .equals(other.getAbExpCodeList())) return false;
|
|
|
+ if (!internalGetEventId().equals(
|
|
|
+ other.internalGetEventId())) return false;
|
|
|
+ if (getVersionAuditStatus()
|
|
|
+ != other.getVersionAuditStatus()) return false;
|
|
|
+ if (!getRecommendTraceId()
|
|
|
+ .equals(other.getRecommendTraceId())) return false;
|
|
|
+ if (getVideoId()
|
|
|
+ != other.getVideoId()) return false;
|
|
|
+ if (!getCity()
|
|
|
+ .equals(other.getCity())) return false;
|
|
|
+ if (!getProvince()
|
|
|
+ .equals(other.getProvince())) return false;
|
|
|
+ if (hasMachineInfo() != other.hasMachineInfo()) return false;
|
|
|
+ if (hasMachineInfo()) {
|
|
|
+ if (!getMachineInfo()
|
|
|
+ .equals(other.getMachineInfo())) 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) + REQUEST_ID_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getRequestId().hashCode();
|
|
|
+ hash = (37 * hash) + MID_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getMid().hashCode();
|
|
|
+ hash = (37 * hash) + UID_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getUid().hashCode();
|
|
|
+ hash = (37 * hash) + SIZE_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getSize();
|
|
|
+ hash = (37 * hash) + APP_TYPE_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getAppType();
|
|
|
+ hash = (37 * hash) + CITY_CODE_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getCityCode().hashCode();
|
|
|
+ hash = (37 * hash) + PROVINCE_CODE_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getProvinceCode().hashCode();
|
|
|
+ if (getAbExpCodeCount() > 0) {
|
|
|
+ hash = (37 * hash) + AB_EXP_CODE_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getAbExpCodeList().hashCode();
|
|
|
+ }
|
|
|
+ if (!internalGetEventId().getMap().isEmpty()) {
|
|
|
+ hash = (37 * hash) + EVENT_ID_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + internalGetEventId().hashCode();
|
|
|
+ }
|
|
|
+ hash = (37 * hash) + VERSION_AUDIT_STATUS_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getVersionAuditStatus();
|
|
|
+ hash = (37 * hash) + RECOMMEND_TRACE_ID_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getRecommendTraceId().hashCode();
|
|
|
+ hash = (37 * hash) + VIDEO_ID_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
|
+ getVideoId());
|
|
|
+ hash = (37 * hash) + CITY_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getCity().hashCode();
|
|
|
+ hash = (37 * hash) + PROVINCE_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getProvince().hashCode();
|
|
|
+ if (hasMachineInfo()) {
|
|
|
+ hash = (37 * hash) + MACHINE_INFO_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getMachineInfo().hashCode();
|
|
|
+ }
|
|
|
+ hash = (29 * hash) + unknownFields.hashCode();
|
|
|
+ memoizedHashCode = hash;
|
|
|
+ return hash;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest parseFrom(
|
|
|
+ java.nio.ByteBuffer data)
|
|
|
+ throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
+ return PARSER.parseFrom(data);
|
|
|
+ }
|
|
|
+ public static com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest 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.RecommendRequest parseFrom(
|
|
|
+ com.google.protobuf.ByteString data)
|
|
|
+ throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
+ return PARSER.parseFrom(data);
|
|
|
+ }
|
|
|
+ public static com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest 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.RecommendRequest parseFrom(byte[] data)
|
|
|
+ throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
+ return PARSER.parseFrom(data);
|
|
|
+ }
|
|
|
+ public static com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest 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.RecommendRequest 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.RecommendRequest 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.RecommendRequest 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.RecommendRequest 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.RecommendRequest 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.RecommendRequest 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.RecommendRequest 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 RecommendRequest}
|
|
|
+ */
|
|
|
+ public static final class Builder extends
|
|
|
+ com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
|
+ // @@protoc_insertion_point(builder_implements:RecommendRequest)
|
|
|
+ com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequestOrBuilder {
|
|
|
+ public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
+ getDescriptor() {
|
|
|
+ return com.tzld.piaoquan.recommend.server.gen.recommend.Recommend.internal_static_RecommendRequest_descriptor;
|
|
|
+ }
|
|
|
+
|
|
|
+ @SuppressWarnings({"rawtypes"})
|
|
|
+ protected com.google.protobuf.MapField internalGetMapField(
|
|
|
+ int number) {
|
|
|
+ switch (number) {
|
|
|
+ case 9:
|
|
|
+ return internalGetEventId();
|
|
|
+ default:
|
|
|
+ throw new RuntimeException(
|
|
|
+ "Invalid map field number: " + number);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ @SuppressWarnings({"rawtypes"})
|
|
|
+ protected com.google.protobuf.MapField internalGetMutableMapField(
|
|
|
+ int number) {
|
|
|
+ switch (number) {
|
|
|
+ case 9:
|
|
|
+ return internalGetMutableEventId();
|
|
|
+ default:
|
|
|
+ throw new RuntimeException(
|
|
|
+ "Invalid map field number: " + number);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ @java.lang.Override
|
|
|
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
|
+ internalGetFieldAccessorTable() {
|
|
|
+ return com.tzld.piaoquan.recommend.server.gen.recommend.Recommend.internal_static_RecommendRequest_fieldAccessorTable
|
|
|
+ .ensureFieldAccessorsInitialized(
|
|
|
+ com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest.class, com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest.Builder.class);
|
|
|
+ }
|
|
|
+
|
|
|
+ // Construct using com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest.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();
|
|
|
+ requestId_ = "";
|
|
|
+
|
|
|
+ mid_ = "";
|
|
|
+
|
|
|
+ uid_ = "";
|
|
|
+
|
|
|
+ size_ = 0;
|
|
|
+
|
|
|
+ appType_ = 0;
|
|
|
+
|
|
|
+ cityCode_ = "";
|
|
|
+
|
|
|
+ provinceCode_ = "";
|
|
|
+
|
|
|
+ abExpCode_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
|
|
+ bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
+ internalGetMutableEventId().clear();
|
|
|
+ versionAuditStatus_ = 0;
|
|
|
+
|
|
|
+ recommendTraceId_ = "";
|
|
|
+
|
|
|
+ videoId_ = 0L;
|
|
|
+
|
|
|
+ city_ = "";
|
|
|
+
|
|
|
+ province_ = "";
|
|
|
+
|
|
|
+ if (machineInfoBuilder_ == null) {
|
|
|
+ machineInfo_ = null;
|
|
|
+ } else {
|
|
|
+ machineInfo_ = null;
|
|
|
+ machineInfoBuilder_ = null;
|
|
|
+ }
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.Descriptors.Descriptor
|
|
|
+ getDescriptorForType() {
|
|
|
+ return com.tzld.piaoquan.recommend.server.gen.recommend.Recommend.internal_static_RecommendRequest_descriptor;
|
|
|
+ }
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ public com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest getDefaultInstanceForType() {
|
|
|
+ return com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest.getDefaultInstance();
|
|
|
+ }
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ public com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest build() {
|
|
|
+ com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest result = buildPartial();
|
|
|
+ if (!result.isInitialized()) {
|
|
|
+ throw newUninitializedMessageException(result);
|
|
|
+ }
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ public com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest buildPartial() {
|
|
|
+ com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest result = new com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest(this);
|
|
|
+ int from_bitField0_ = bitField0_;
|
|
|
+ result.requestId_ = requestId_;
|
|
|
+ result.mid_ = mid_;
|
|
|
+ result.uid_ = uid_;
|
|
|
+ result.size_ = size_;
|
|
|
+ result.appType_ = appType_;
|
|
|
+ result.cityCode_ = cityCode_;
|
|
|
+ result.provinceCode_ = provinceCode_;
|
|
|
+ if (((bitField0_ & 0x00000001) != 0)) {
|
|
|
+ abExpCode_ = abExpCode_.getUnmodifiableView();
|
|
|
+ bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
+ }
|
|
|
+ result.abExpCode_ = abExpCode_;
|
|
|
+ result.eventId_ = internalGetEventId();
|
|
|
+ result.eventId_.makeImmutable();
|
|
|
+ result.versionAuditStatus_ = versionAuditStatus_;
|
|
|
+ result.recommendTraceId_ = recommendTraceId_;
|
|
|
+ result.videoId_ = videoId_;
|
|
|
+ result.city_ = city_;
|
|
|
+ result.province_ = province_;
|
|
|
+ if (machineInfoBuilder_ == null) {
|
|
|
+ result.machineInfo_ = machineInfo_;
|
|
|
+ } else {
|
|
|
+ result.machineInfo_ = machineInfoBuilder_.build();
|
|
|
+ }
|
|
|
+ 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.RecommendRequest) {
|
|
|
+ return mergeFrom((com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest)other);
|
|
|
+ } else {
|
|
|
+ super.mergeFrom(other);
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public Builder mergeFrom(com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest other) {
|
|
|
+ if (other == com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest.getDefaultInstance()) return this;
|
|
|
+ if (!other.getRequestId().isEmpty()) {
|
|
|
+ requestId_ = other.requestId_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (!other.getMid().isEmpty()) {
|
|
|
+ mid_ = other.mid_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (!other.getUid().isEmpty()) {
|
|
|
+ uid_ = other.uid_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (other.getSize() != 0) {
|
|
|
+ setSize(other.getSize());
|
|
|
+ }
|
|
|
+ if (other.getAppType() != 0) {
|
|
|
+ setAppType(other.getAppType());
|
|
|
+ }
|
|
|
+ if (!other.getCityCode().isEmpty()) {
|
|
|
+ cityCode_ = other.cityCode_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (!other.getProvinceCode().isEmpty()) {
|
|
|
+ provinceCode_ = other.provinceCode_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (!other.abExpCode_.isEmpty()) {
|
|
|
+ if (abExpCode_.isEmpty()) {
|
|
|
+ abExpCode_ = other.abExpCode_;
|
|
|
+ bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
+ } else {
|
|
|
+ ensureAbExpCodeIsMutable();
|
|
|
+ abExpCode_.addAll(other.abExpCode_);
|
|
|
+ }
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ internalGetMutableEventId().mergeFrom(
|
|
|
+ other.internalGetEventId());
|
|
|
+ if (other.getVersionAuditStatus() != 0) {
|
|
|
+ setVersionAuditStatus(other.getVersionAuditStatus());
|
|
|
+ }
|
|
|
+ if (!other.getRecommendTraceId().isEmpty()) {
|
|
|
+ recommendTraceId_ = other.recommendTraceId_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (other.getVideoId() != 0L) {
|
|
|
+ setVideoId(other.getVideoId());
|
|
|
+ }
|
|
|
+ if (!other.getCity().isEmpty()) {
|
|
|
+ city_ = other.city_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (!other.getProvince().isEmpty()) {
|
|
|
+ province_ = other.province_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (other.hasMachineInfo()) {
|
|
|
+ mergeMachineInfo(other.getMachineInfo());
|
|
|
+ }
|
|
|
+ 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.RecommendRequest parsedMessage = null;
|
|
|
+ try {
|
|
|
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
|
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
|
+ parsedMessage = (com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest) e.getUnfinishedMessage();
|
|
|
+ throw e.unwrapIOException();
|
|
|
+ } finally {
|
|
|
+ if (parsedMessage != null) {
|
|
|
+ mergeFrom(parsedMessage);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ private int bitField0_;
|
|
|
+
|
|
|
+ private java.lang.Object requestId_ = "";
|
|
|
+ /**
|
|
|
+ * <code>string request_id = 1;</code>
|
|
|
+ * @return The requestId.
|
|
|
+ */
|
|
|
+ public java.lang.String getRequestId() {
|
|
|
+ java.lang.Object ref = requestId_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ requestId_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string request_id = 1;</code>
|
|
|
+ * @return The bytes for requestId.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getRequestIdBytes() {
|
|
|
+ java.lang.Object ref = requestId_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ requestId_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string request_id = 1;</code>
|
|
|
+ * @param value The requestId to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setRequestId(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ requestId_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string request_id = 1;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearRequestId() {
|
|
|
+
|
|
|
+ requestId_ = getDefaultInstance().getRequestId();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string request_id = 1;</code>
|
|
|
+ * @param value The bytes for requestId to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setRequestIdBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ requestId_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object mid_ = "";
|
|
|
+ /**
|
|
|
+ * <code>string mid = 2;</code>
|
|
|
+ * @return The mid.
|
|
|
+ */
|
|
|
+ public java.lang.String getMid() {
|
|
|
+ java.lang.Object ref = mid_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ mid_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string mid = 2;</code>
|
|
|
+ * @return The bytes for mid.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getMidBytes() {
|
|
|
+ java.lang.Object ref = mid_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ mid_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string mid = 2;</code>
|
|
|
+ * @param value The mid to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setMid(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ mid_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string mid = 2;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearMid() {
|
|
|
+
|
|
|
+ mid_ = getDefaultInstance().getMid();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string mid = 2;</code>
|
|
|
+ * @param value The bytes for mid to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setMidBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ mid_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object uid_ = "";
|
|
|
+ /**
|
|
|
+ * <code>string uid = 3;</code>
|
|
|
+ * @return The uid.
|
|
|
+ */
|
|
|
+ public java.lang.String getUid() {
|
|
|
+ java.lang.Object ref = uid_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ uid_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string uid = 3;</code>
|
|
|
+ * @return The bytes for uid.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getUidBytes() {
|
|
|
+ java.lang.Object ref = uid_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ uid_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string uid = 3;</code>
|
|
|
+ * @param value The uid to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setUid(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ uid_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string uid = 3;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearUid() {
|
|
|
+
|
|
|
+ uid_ = getDefaultInstance().getUid();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string uid = 3;</code>
|
|
|
+ * @param value The bytes for uid to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setUidBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ uid_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private int size_ ;
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * default 4
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>int32 size = 4;</code>
|
|
|
+ * @return The size.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public int getSize() {
|
|
|
+ return size_;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * default 4
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>int32 size = 4;</code>
|
|
|
+ * @param value The size to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setSize(int value) {
|
|
|
+
|
|
|
+ size_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * default 4
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>int32 size = 4;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearSize() {
|
|
|
+
|
|
|
+ size_ = 0;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private int appType_ ;
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * default 4
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>int32 app_type = 5;</code>
|
|
|
+ * @return The appType.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public int getAppType() {
|
|
|
+ return appType_;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * default 4
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>int32 app_type = 5;</code>
|
|
|
+ * @param value The appType to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setAppType(int value) {
|
|
|
+
|
|
|
+ appType_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * default 4
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>int32 app_type = 5;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearAppType() {
|
|
|
+
|
|
|
+ appType_ = 0;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object cityCode_ = "";
|
|
|
+ /**
|
|
|
+ * <code>string city_code = 6;</code>
|
|
|
+ * @return The cityCode.
|
|
|
+ */
|
|
|
+ public java.lang.String getCityCode() {
|
|
|
+ java.lang.Object ref = cityCode_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ cityCode_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string city_code = 6;</code>
|
|
|
+ * @return The bytes for cityCode.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getCityCodeBytes() {
|
|
|
+ java.lang.Object ref = cityCode_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ cityCode_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string city_code = 6;</code>
|
|
|
+ * @param value The cityCode to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setCityCode(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ cityCode_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string city_code = 6;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearCityCode() {
|
|
|
+
|
|
|
+ cityCode_ = getDefaultInstance().getCityCode();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string city_code = 6;</code>
|
|
|
+ * @param value The bytes for cityCode to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setCityCodeBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ cityCode_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object provinceCode_ = "";
|
|
|
+ /**
|
|
|
+ * <code>string province_code = 7;</code>
|
|
|
+ * @return The provinceCode.
|
|
|
+ */
|
|
|
+ public java.lang.String getProvinceCode() {
|
|
|
+ java.lang.Object ref = provinceCode_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ provinceCode_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string province_code = 7;</code>
|
|
|
+ * @return The bytes for provinceCode.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getProvinceCodeBytes() {
|
|
|
+ java.lang.Object ref = provinceCode_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ provinceCode_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string province_code = 7;</code>
|
|
|
+ * @param value The provinceCode to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setProvinceCode(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ provinceCode_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string province_code = 7;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearProvinceCode() {
|
|
|
+
|
|
|
+ provinceCode_ = getDefaultInstance().getProvinceCode();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string province_code = 7;</code>
|
|
|
+ * @param value The bytes for provinceCode to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setProvinceCodeBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ provinceCode_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private com.google.protobuf.LazyStringList abExpCode_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
|
|
+ private void ensureAbExpCodeIsMutable() {
|
|
|
+ if (!((bitField0_ & 0x00000001) != 0)) {
|
|
|
+ abExpCode_ = new com.google.protobuf.LazyStringArrayList(abExpCode_);
|
|
|
+ bitField0_ |= 0x00000001;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>repeated string ab_exp_code = 8;</code>
|
|
|
+ * @return A list containing the abExpCode.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ProtocolStringList
|
|
|
+ getAbExpCodeList() {
|
|
|
+ return abExpCode_.getUnmodifiableView();
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>repeated string ab_exp_code = 8;</code>
|
|
|
+ * @return The count of abExpCode.
|
|
|
+ */
|
|
|
+ public int getAbExpCodeCount() {
|
|
|
+ return abExpCode_.size();
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>repeated string ab_exp_code = 8;</code>
|
|
|
+ * @param index The index of the element to return.
|
|
|
+ * @return The abExpCode at the given index.
|
|
|
+ */
|
|
|
+ public java.lang.String getAbExpCode(int index) {
|
|
|
+ return abExpCode_.get(index);
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>repeated string ab_exp_code = 8;</code>
|
|
|
+ * @param index The index of the value to return.
|
|
|
+ * @return The bytes of the abExpCode at the given index.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getAbExpCodeBytes(int index) {
|
|
|
+ return abExpCode_.getByteString(index);
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>repeated string ab_exp_code = 8;</code>
|
|
|
+ * @param index The index to set the value at.
|
|
|
+ * @param value The abExpCode to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setAbExpCode(
|
|
|
+ int index, java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ ensureAbExpCodeIsMutable();
|
|
|
+ abExpCode_.set(index, value);
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>repeated string ab_exp_code = 8;</code>
|
|
|
+ * @param value The abExpCode to add.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder addAbExpCode(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ ensureAbExpCodeIsMutable();
|
|
|
+ abExpCode_.add(value);
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>repeated string ab_exp_code = 8;</code>
|
|
|
+ * @param values The abExpCode to add.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder addAllAbExpCode(
|
|
|
+ java.lang.Iterable<java.lang.String> values) {
|
|
|
+ ensureAbExpCodeIsMutable();
|
|
|
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
|
|
+ values, abExpCode_);
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>repeated string ab_exp_code = 8;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearAbExpCode() {
|
|
|
+ abExpCode_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
|
|
+ bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>repeated string ab_exp_code = 8;</code>
|
|
|
+ * @param value The bytes of the abExpCode to add.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder addAbExpCodeBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+ ensureAbExpCodeIsMutable();
|
|
|
+ abExpCode_.add(value);
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private com.google.protobuf.MapField<
|
|
|
+ java.lang.String, java.lang.String> eventId_;
|
|
|
+ private com.google.protobuf.MapField<java.lang.String, java.lang.String>
|
|
|
+ internalGetEventId() {
|
|
|
+ if (eventId_ == null) {
|
|
|
+ return com.google.protobuf.MapField.emptyMapField(
|
|
|
+ EventIdDefaultEntryHolder.defaultEntry);
|
|
|
+ }
|
|
|
+ return eventId_;
|
|
|
+ }
|
|
|
+ private com.google.protobuf.MapField<java.lang.String, java.lang.String>
|
|
|
+ internalGetMutableEventId() {
|
|
|
+ onChanged();;
|
|
|
+ if (eventId_ == null) {
|
|
|
+ eventId_ = com.google.protobuf.MapField.newMapField(
|
|
|
+ EventIdDefaultEntryHolder.defaultEntry);
|
|
|
+ }
|
|
|
+ if (!eventId_.isMutable()) {
|
|
|
+ eventId_ = eventId_.copy();
|
|
|
+ }
|
|
|
+ return eventId_;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getEventIdCount() {
|
|
|
+ return internalGetEventId().getMap().size();
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>map<string, string> event_id = 9;</code>
|
|
|
+ */
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ public boolean containsEventId(
|
|
|
+ java.lang.String key) {
|
|
|
+ if (key == null) { throw new java.lang.NullPointerException(); }
|
|
|
+ return internalGetEventId().getMap().containsKey(key);
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * Use {@link #getEventIdMap()} instead.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ @java.lang.Deprecated
|
|
|
+ public java.util.Map<java.lang.String, java.lang.String> getEventId() {
|
|
|
+ return getEventIdMap();
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>map<string, string> event_id = 9;</code>
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+
|
|
|
+ public java.util.Map<java.lang.String, java.lang.String> getEventIdMap() {
|
|
|
+ return internalGetEventId().getMap();
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>map<string, string> event_id = 9;</code>
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+
|
|
|
+ public java.lang.String getEventIdOrDefault(
|
|
|
+ java.lang.String key,
|
|
|
+ java.lang.String defaultValue) {
|
|
|
+ if (key == null) { throw new java.lang.NullPointerException(); }
|
|
|
+ java.util.Map<java.lang.String, java.lang.String> map =
|
|
|
+ internalGetEventId().getMap();
|
|
|
+ return map.containsKey(key) ? map.get(key) : defaultValue;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>map<string, string> event_id = 9;</code>
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+
|
|
|
+ public java.lang.String getEventIdOrThrow(
|
|
|
+ java.lang.String key) {
|
|
|
+ if (key == null) { throw new java.lang.NullPointerException(); }
|
|
|
+ java.util.Map<java.lang.String, java.lang.String> map =
|
|
|
+ internalGetEventId().getMap();
|
|
|
+ if (!map.containsKey(key)) {
|
|
|
+ throw new java.lang.IllegalArgumentException();
|
|
|
+ }
|
|
|
+ return map.get(key);
|
|
|
+ }
|
|
|
+
|
|
|
+ public Builder clearEventId() {
|
|
|
+ internalGetMutableEventId().getMutableMap()
|
|
|
+ .clear();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>map<string, string> event_id = 9;</code>
|
|
|
+ */
|
|
|
+
|
|
|
+ public Builder removeEventId(
|
|
|
+ java.lang.String key) {
|
|
|
+ if (key == null) { throw new java.lang.NullPointerException(); }
|
|
|
+ internalGetMutableEventId().getMutableMap()
|
|
|
+ .remove(key);
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * Use alternate mutation accessors instead.
|
|
|
+ */
|
|
|
+ @java.lang.Deprecated
|
|
|
+ public java.util.Map<java.lang.String, java.lang.String>
|
|
|
+ getMutableEventId() {
|
|
|
+ return internalGetMutableEventId().getMutableMap();
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>map<string, string> event_id = 9;</code>
|
|
|
+ */
|
|
|
+ public Builder putEventId(
|
|
|
+ java.lang.String key,
|
|
|
+ java.lang.String value) {
|
|
|
+ if (key == null) { throw new java.lang.NullPointerException(); }
|
|
|
+ if (value == null) { throw new java.lang.NullPointerException(); }
|
|
|
+ internalGetMutableEventId().getMutableMap()
|
|
|
+ .put(key, value);
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>map<string, string> event_id = 9;</code>
|
|
|
+ */
|
|
|
+
|
|
|
+ public Builder putAllEventId(
|
|
|
+ java.util.Map<java.lang.String, java.lang.String> values) {
|
|
|
+ internalGetMutableEventId().getMutableMap()
|
|
|
+ .putAll(values);
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private int versionAuditStatus_ ;
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * default 2
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>int32 version_audit_status = 10;</code>
|
|
|
+ * @return The versionAuditStatus.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public int getVersionAuditStatus() {
|
|
|
+ return versionAuditStatus_;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * default 2
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>int32 version_audit_status = 10;</code>
|
|
|
+ * @param value The versionAuditStatus to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setVersionAuditStatus(int value) {
|
|
|
+
|
|
|
+ versionAuditStatus_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * default 2
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>int32 version_audit_status = 10;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearVersionAuditStatus() {
|
|
|
+
|
|
|
+ versionAuditStatus_ = 0;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object recommendTraceId_ = "";
|
|
|
+ /**
|
|
|
+ * <code>string recommend_trace_id = 11;</code>
|
|
|
+ * @return The recommendTraceId.
|
|
|
+ */
|
|
|
+ public java.lang.String getRecommendTraceId() {
|
|
|
+ java.lang.Object ref = recommendTraceId_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ recommendTraceId_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string recommend_trace_id = 11;</code>
|
|
|
+ * @return The bytes for recommendTraceId.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getRecommendTraceIdBytes() {
|
|
|
+ java.lang.Object ref = recommendTraceId_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ recommendTraceId_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string recommend_trace_id = 11;</code>
|
|
|
+ * @param value The recommendTraceId to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setRecommendTraceId(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ recommendTraceId_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string recommend_trace_id = 11;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearRecommendTraceId() {
|
|
|
+
|
|
|
+ recommendTraceId_ = getDefaultInstance().getRecommendTraceId();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string recommend_trace_id = 11;</code>
|
|
|
+ * @param value The bytes for recommendTraceId to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setRecommendTraceIdBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ recommendTraceId_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private long videoId_ ;
|
|
|
+ /**
|
|
|
+ * <code>int64 video_id = 12;</code>
|
|
|
+ * @return The videoId.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public long getVideoId() {
|
|
|
+ return videoId_;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>int64 video_id = 12;</code>
|
|
|
+ * @param value The videoId to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setVideoId(long value) {
|
|
|
+
|
|
|
+ videoId_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>int64 video_id = 12;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearVideoId() {
|
|
|
+
|
|
|
+ videoId_ = 0L;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object city_ = "";
|
|
|
+ /**
|
|
|
+ * <code>string city = 13;</code>
|
|
|
+ * @return The city.
|
|
|
+ */
|
|
|
+ public java.lang.String getCity() {
|
|
|
+ java.lang.Object ref = city_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ city_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string city = 13;</code>
|
|
|
+ * @return The bytes for city.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getCityBytes() {
|
|
|
+ java.lang.Object ref = city_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ city_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string city = 13;</code>
|
|
|
+ * @param value The city to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setCity(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ city_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string city = 13;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearCity() {
|
|
|
+
|
|
|
+ city_ = getDefaultInstance().getCity();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string city = 13;</code>
|
|
|
+ * @param value The bytes for city to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setCityBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ city_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object province_ = "";
|
|
|
+ /**
|
|
|
+ * <code>string province = 14;</code>
|
|
|
+ * @return The province.
|
|
|
+ */
|
|
|
+ public java.lang.String getProvince() {
|
|
|
+ java.lang.Object ref = province_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ province_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string province = 14;</code>
|
|
|
+ * @return The bytes for province.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getProvinceBytes() {
|
|
|
+ java.lang.Object ref = province_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ province_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string province = 14;</code>
|
|
|
+ * @param value The province to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setProvince(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ province_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string province = 14;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearProvince() {
|
|
|
+
|
|
|
+ province_ = getDefaultInstance().getProvince();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string province = 14;</code>
|
|
|
+ * @param value The bytes for province to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setProvinceBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ province_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto machineInfo_;
|
|
|
+ private com.google.protobuf.SingleFieldBuilderV3<
|
|
|
+ com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto, com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto.Builder, com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProtoOrBuilder> machineInfoBuilder_;
|
|
|
+ /**
|
|
|
+ * <code>.MachineInfoProto machine_info = 15;</code>
|
|
|
+ * @return Whether the machineInfo field is set.
|
|
|
+ */
|
|
|
+ public boolean hasMachineInfo() {
|
|
|
+ return machineInfoBuilder_ != null || machineInfo_ != null;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.MachineInfoProto machine_info = 15;</code>
|
|
|
+ * @return The machineInfo.
|
|
|
+ */
|
|
|
+ public com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto getMachineInfo() {
|
|
|
+ if (machineInfoBuilder_ == null) {
|
|
|
+ return machineInfo_ == null ? com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto.getDefaultInstance() : machineInfo_;
|
|
|
+ } else {
|
|
|
+ return machineInfoBuilder_.getMessage();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.MachineInfoProto machine_info = 15;</code>
|
|
|
+ */
|
|
|
+ public Builder setMachineInfo(com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto value) {
|
|
|
+ if (machineInfoBuilder_ == null) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ machineInfo_ = value;
|
|
|
+ onChanged();
|
|
|
+ } else {
|
|
|
+ machineInfoBuilder_.setMessage(value);
|
|
|
+ }
|
|
|
+
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.MachineInfoProto machine_info = 15;</code>
|
|
|
+ */
|
|
|
+ public Builder setMachineInfo(
|
|
|
+ com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto.Builder builderForValue) {
|
|
|
+ if (machineInfoBuilder_ == null) {
|
|
|
+ machineInfo_ = builderForValue.build();
|
|
|
+ onChanged();
|
|
|
+ } else {
|
|
|
+ machineInfoBuilder_.setMessage(builderForValue.build());
|
|
|
+ }
|
|
|
+
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.MachineInfoProto machine_info = 15;</code>
|
|
|
+ */
|
|
|
+ public Builder mergeMachineInfo(com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto value) {
|
|
|
+ if (machineInfoBuilder_ == null) {
|
|
|
+ if (machineInfo_ != null) {
|
|
|
+ machineInfo_ =
|
|
|
+ com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto.newBuilder(machineInfo_).mergeFrom(value).buildPartial();
|
|
|
+ } else {
|
|
|
+ machineInfo_ = value;
|
|
|
+ }
|
|
|
+ onChanged();
|
|
|
+ } else {
|
|
|
+ machineInfoBuilder_.mergeFrom(value);
|
|
|
+ }
|
|
|
+
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.MachineInfoProto machine_info = 15;</code>
|
|
|
+ */
|
|
|
+ public Builder clearMachineInfo() {
|
|
|
+ if (machineInfoBuilder_ == null) {
|
|
|
+ machineInfo_ = null;
|
|
|
+ onChanged();
|
|
|
+ } else {
|
|
|
+ machineInfo_ = null;
|
|
|
+ machineInfoBuilder_ = null;
|
|
|
+ }
|
|
|
+
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.MachineInfoProto machine_info = 15;</code>
|
|
|
+ */
|
|
|
+ public com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto.Builder getMachineInfoBuilder() {
|
|
|
+
|
|
|
+ onChanged();
|
|
|
+ return getMachineInfoFieldBuilder().getBuilder();
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.MachineInfoProto machine_info = 15;</code>
|
|
|
+ */
|
|
|
+ public com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProtoOrBuilder getMachineInfoOrBuilder() {
|
|
|
+ if (machineInfoBuilder_ != null) {
|
|
|
+ return machineInfoBuilder_.getMessageOrBuilder();
|
|
|
+ } else {
|
|
|
+ return machineInfo_ == null ?
|
|
|
+ com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto.getDefaultInstance() : machineInfo_;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.MachineInfoProto machine_info = 15;</code>
|
|
|
+ */
|
|
|
+ private com.google.protobuf.SingleFieldBuilderV3<
|
|
|
+ com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto, com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto.Builder, com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProtoOrBuilder>
|
|
|
+ getMachineInfoFieldBuilder() {
|
|
|
+ if (machineInfoBuilder_ == null) {
|
|
|
+ machineInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
|
+ com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto, com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProto.Builder, com.tzld.piaoquan.recommend.server.gen.recommend.MachineInfoProtoOrBuilder>(
|
|
|
+ getMachineInfo(),
|
|
|
+ getParentForChildren(),
|
|
|
+ isClean());
|
|
|
+ machineInfo_ = null;
|
|
|
+ }
|
|
|
+ return machineInfoBuilder_;
|
|
|
+ }
|
|
|
+ @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:RecommendRequest)
|
|
|
+ }
|
|
|
+
|
|
|
+ // @@protoc_insertion_point(class_scope:RecommendRequest)
|
|
|
+ private static final com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest DEFAULT_INSTANCE;
|
|
|
+ static {
|
|
|
+ DEFAULT_INSTANCE = new com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest();
|
|
|
+ }
|
|
|
+
|
|
|
+ public static com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest getDefaultInstance() {
|
|
|
+ return DEFAULT_INSTANCE;
|
|
|
+ }
|
|
|
+
|
|
|
+ private static final com.google.protobuf.Parser<RecommendRequest>
|
|
|
+ PARSER = new com.google.protobuf.AbstractParser<RecommendRequest>() {
|
|
|
+ @java.lang.Override
|
|
|
+ public RecommendRequest parsePartialFrom(
|
|
|
+ com.google.protobuf.CodedInputStream input,
|
|
|
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
+ throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
+ return new RecommendRequest(input, extensionRegistry);
|
|
|
+ }
|
|
|
+ };
|
|
|
+
|
|
|
+ public static com.google.protobuf.Parser<RecommendRequest> parser() {
|
|
|
+ return PARSER;
|
|
|
+ }
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.Parser<RecommendRequest> getParserForType() {
|
|
|
+ return PARSER;
|
|
|
+ }
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ public com.tzld.piaoquan.recommend.server.gen.recommend.RecommendRequest getDefaultInstanceForType() {
|
|
|
+ return DEFAULT_INSTANCE;
|
|
|
+ }
|
|
|
+
|
|
|
+}
|
|
|
+
|