|
@@ -16,6 +16,12 @@ private static final long serialVersionUID = 0L;
|
|
|
super(builder);
|
|
|
}
|
|
|
private VideoFeatureProto() {
|
|
|
+ videoId_ = "";
|
|
|
+ upId_ = "";
|
|
|
+ tags_ = "";
|
|
|
+ playLength_ = "";
|
|
|
+ totalTime_ = "";
|
|
|
+ daysSinceUpload_ = "";
|
|
|
}
|
|
|
|
|
|
@java.lang.Override
|
|
@@ -48,6 +54,94 @@ private static final long serialVersionUID = 0L;
|
|
|
case 0:
|
|
|
done = true;
|
|
|
break;
|
|
|
+ case 10: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ videoId_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 18: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ upId_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 26: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ tags_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 34: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ playLength_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 42: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ totalTime_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 50: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ daysSinceUpload_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 58: {
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder subBuilder = null;
|
|
|
+ if (videoDay1CntFeature_ != null) {
|
|
|
+ subBuilder = videoDay1CntFeature_.toBuilder();
|
|
|
+ }
|
|
|
+ videoDay1CntFeature_ = input.readMessage(com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.parser(), extensionRegistry);
|
|
|
+ if (subBuilder != null) {
|
|
|
+ subBuilder.mergeFrom(videoDay1CntFeature_);
|
|
|
+ videoDay1CntFeature_ = subBuilder.buildPartial();
|
|
|
+ }
|
|
|
+
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 66: {
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder subBuilder = null;
|
|
|
+ if (videoDay3CntFeature_ != null) {
|
|
|
+ subBuilder = videoDay3CntFeature_.toBuilder();
|
|
|
+ }
|
|
|
+ videoDay3CntFeature_ = input.readMessage(com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.parser(), extensionRegistry);
|
|
|
+ if (subBuilder != null) {
|
|
|
+ subBuilder.mergeFrom(videoDay3CntFeature_);
|
|
|
+ videoDay3CntFeature_ = subBuilder.buildPartial();
|
|
|
+ }
|
|
|
+
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 74: {
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder subBuilder = null;
|
|
|
+ if (videoDay7CntFeature_ != null) {
|
|
|
+ subBuilder = videoDay7CntFeature_.toBuilder();
|
|
|
+ }
|
|
|
+ videoDay7CntFeature_ = input.readMessage(com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.parser(), extensionRegistry);
|
|
|
+ if (subBuilder != null) {
|
|
|
+ subBuilder.mergeFrom(videoDay7CntFeature_);
|
|
|
+ videoDay7CntFeature_ = subBuilder.buildPartial();
|
|
|
+ }
|
|
|
+
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 82: {
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder subBuilder = null;
|
|
|
+ if (videoMonth3CntFeature_ != null) {
|
|
|
+ subBuilder = videoMonth3CntFeature_.toBuilder();
|
|
|
+ }
|
|
|
+ videoMonth3CntFeature_ = input.readMessage(com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.parser(), extensionRegistry);
|
|
|
+ if (subBuilder != null) {
|
|
|
+ subBuilder.mergeFrom(videoMonth3CntFeature_);
|
|
|
+ videoMonth3CntFeature_ = subBuilder.buildPartial();
|
|
|
+ }
|
|
|
+
|
|
|
+ break;
|
|
|
+ }
|
|
|
default: {
|
|
|
if (!parseUnknownField(
|
|
|
input, unknownFields, extensionRegistry, tag)) {
|
|
@@ -80,6 +174,338 @@ private static final long serialVersionUID = 0L;
|
|
|
com.tzld.piaoquan.recommend.feature.model.feature.VideoFeatureProto.class, com.tzld.piaoquan.recommend.feature.model.feature.VideoFeatureProto.Builder.class);
|
|
|
}
|
|
|
|
|
|
+ public static final int VIDEO_ID_FIELD_NUMBER = 1;
|
|
|
+ private volatile java.lang.Object videoId_;
|
|
|
+ /**
|
|
|
+ * <code>string video_id = 1;</code>
|
|
|
+ * @return The videoId.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public java.lang.String getVideoId() {
|
|
|
+ java.lang.Object ref = videoId_;
|
|
|
+ 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();
|
|
|
+ videoId_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string video_id = 1;</code>
|
|
|
+ * @return The bytes for videoId.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getVideoIdBytes() {
|
|
|
+ java.lang.Object ref = videoId_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ videoId_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int UP_ID_FIELD_NUMBER = 2;
|
|
|
+ private volatile java.lang.Object upId_;
|
|
|
+ /**
|
|
|
+ * <code>string up_id = 2;</code>
|
|
|
+ * @return The upId.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public java.lang.String getUpId() {
|
|
|
+ java.lang.Object ref = upId_;
|
|
|
+ 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();
|
|
|
+ upId_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string up_id = 2;</code>
|
|
|
+ * @return The bytes for upId.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getUpIdBytes() {
|
|
|
+ java.lang.Object ref = upId_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ upId_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int TAGS_FIELD_NUMBER = 3;
|
|
|
+ private volatile java.lang.Object tags_;
|
|
|
+ /**
|
|
|
+ * <code>string tags = 3;</code>
|
|
|
+ * @return The tags.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public java.lang.String getTags() {
|
|
|
+ java.lang.Object ref = tags_;
|
|
|
+ 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();
|
|
|
+ tags_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string tags = 3;</code>
|
|
|
+ * @return The bytes for tags.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getTagsBytes() {
|
|
|
+ java.lang.Object ref = tags_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ tags_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int PLAY_LENGTH_FIELD_NUMBER = 4;
|
|
|
+ private volatile java.lang.Object playLength_;
|
|
|
+ /**
|
|
|
+ * <code>string play_length = 4;</code>
|
|
|
+ * @return The playLength.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public java.lang.String getPlayLength() {
|
|
|
+ java.lang.Object ref = playLength_;
|
|
|
+ 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();
|
|
|
+ playLength_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string play_length = 4;</code>
|
|
|
+ * @return The bytes for playLength.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getPlayLengthBytes() {
|
|
|
+ java.lang.Object ref = playLength_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ playLength_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int TOTAL_TIME_FIELD_NUMBER = 5;
|
|
|
+ private volatile java.lang.Object totalTime_;
|
|
|
+ /**
|
|
|
+ * <code>string total_time = 5;</code>
|
|
|
+ * @return The totalTime.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public java.lang.String getTotalTime() {
|
|
|
+ java.lang.Object ref = totalTime_;
|
|
|
+ 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();
|
|
|
+ totalTime_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string total_time = 5;</code>
|
|
|
+ * @return The bytes for totalTime.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getTotalTimeBytes() {
|
|
|
+ java.lang.Object ref = totalTime_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ totalTime_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int DAYS_SINCE_UPLOAD_FIELD_NUMBER = 6;
|
|
|
+ private volatile java.lang.Object daysSinceUpload_;
|
|
|
+ /**
|
|
|
+ * <code>string days_since_upload = 6;</code>
|
|
|
+ * @return The daysSinceUpload.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public java.lang.String getDaysSinceUpload() {
|
|
|
+ java.lang.Object ref = daysSinceUpload_;
|
|
|
+ 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();
|
|
|
+ daysSinceUpload_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string days_since_upload = 6;</code>
|
|
|
+ * @return The bytes for daysSinceUpload.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getDaysSinceUploadBytes() {
|
|
|
+ java.lang.Object ref = daysSinceUpload_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ daysSinceUpload_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int VIDEO_DAY1_CNT_FEATURE_FIELD_NUMBER = 7;
|
|
|
+ private com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto videoDay1CntFeature_;
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day1_cnt_feature = 7;</code>
|
|
|
+ * @return Whether the videoDay1CntFeature field is set.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public boolean hasVideoDay1CntFeature() {
|
|
|
+ return videoDay1CntFeature_ != null;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day1_cnt_feature = 7;</code>
|
|
|
+ * @return The videoDay1CntFeature.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto getVideoDay1CntFeature() {
|
|
|
+ return videoDay1CntFeature_ == null ? com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.getDefaultInstance() : videoDay1CntFeature_;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day1_cnt_feature = 7;</code>
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProtoOrBuilder getVideoDay1CntFeatureOrBuilder() {
|
|
|
+ return getVideoDay1CntFeature();
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int VIDEO_DAY3_CNT_FEATURE_FIELD_NUMBER = 8;
|
|
|
+ private com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto videoDay3CntFeature_;
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day3_cnt_feature = 8;</code>
|
|
|
+ * @return Whether the videoDay3CntFeature field is set.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public boolean hasVideoDay3CntFeature() {
|
|
|
+ return videoDay3CntFeature_ != null;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day3_cnt_feature = 8;</code>
|
|
|
+ * @return The videoDay3CntFeature.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto getVideoDay3CntFeature() {
|
|
|
+ return videoDay3CntFeature_ == null ? com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.getDefaultInstance() : videoDay3CntFeature_;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day3_cnt_feature = 8;</code>
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProtoOrBuilder getVideoDay3CntFeatureOrBuilder() {
|
|
|
+ return getVideoDay3CntFeature();
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int VIDEO_DAY7_CNT_FEATURE_FIELD_NUMBER = 9;
|
|
|
+ private com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto videoDay7CntFeature_;
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day7_cnt_feature = 9;</code>
|
|
|
+ * @return Whether the videoDay7CntFeature field is set.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public boolean hasVideoDay7CntFeature() {
|
|
|
+ return videoDay7CntFeature_ != null;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day7_cnt_feature = 9;</code>
|
|
|
+ * @return The videoDay7CntFeature.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto getVideoDay7CntFeature() {
|
|
|
+ return videoDay7CntFeature_ == null ? com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.getDefaultInstance() : videoDay7CntFeature_;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day7_cnt_feature = 9;</code>
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProtoOrBuilder getVideoDay7CntFeatureOrBuilder() {
|
|
|
+ return getVideoDay7CntFeature();
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int VIDEO_MONTH3_CNT_FEATURE_FIELD_NUMBER = 10;
|
|
|
+ private com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto videoMonth3CntFeature_;
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_month3_cnt_feature = 10;</code>
|
|
|
+ * @return Whether the videoMonth3CntFeature field is set.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public boolean hasVideoMonth3CntFeature() {
|
|
|
+ return videoMonth3CntFeature_ != null;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_month3_cnt_feature = 10;</code>
|
|
|
+ * @return The videoMonth3CntFeature.
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto getVideoMonth3CntFeature() {
|
|
|
+ return videoMonth3CntFeature_ == null ? com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.getDefaultInstance() : videoMonth3CntFeature_;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_month3_cnt_feature = 10;</code>
|
|
|
+ */
|
|
|
+ @java.lang.Override
|
|
|
+ public com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProtoOrBuilder getVideoMonth3CntFeatureOrBuilder() {
|
|
|
+ return getVideoMonth3CntFeature();
|
|
|
+ }
|
|
|
+
|
|
|
private byte memoizedIsInitialized = -1;
|
|
|
@java.lang.Override
|
|
|
public final boolean isInitialized() {
|
|
@@ -94,6 +520,36 @@ private static final long serialVersionUID = 0L;
|
|
|
@java.lang.Override
|
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
throws java.io.IOException {
|
|
|
+ if (!getVideoIdBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, videoId_);
|
|
|
+ }
|
|
|
+ if (!getUpIdBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, upId_);
|
|
|
+ }
|
|
|
+ if (!getTagsBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tags_);
|
|
|
+ }
|
|
|
+ if (!getPlayLengthBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, playLength_);
|
|
|
+ }
|
|
|
+ if (!getTotalTimeBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, totalTime_);
|
|
|
+ }
|
|
|
+ if (!getDaysSinceUploadBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, daysSinceUpload_);
|
|
|
+ }
|
|
|
+ if (videoDay1CntFeature_ != null) {
|
|
|
+ output.writeMessage(7, getVideoDay1CntFeature());
|
|
|
+ }
|
|
|
+ if (videoDay3CntFeature_ != null) {
|
|
|
+ output.writeMessage(8, getVideoDay3CntFeature());
|
|
|
+ }
|
|
|
+ if (videoDay7CntFeature_ != null) {
|
|
|
+ output.writeMessage(9, getVideoDay7CntFeature());
|
|
|
+ }
|
|
|
+ if (videoMonth3CntFeature_ != null) {
|
|
|
+ output.writeMessage(10, getVideoMonth3CntFeature());
|
|
|
+ }
|
|
|
unknownFields.writeTo(output);
|
|
|
}
|
|
|
|
|
@@ -103,6 +559,40 @@ private static final long serialVersionUID = 0L;
|
|
|
if (size != -1) return size;
|
|
|
|
|
|
size = 0;
|
|
|
+ if (!getVideoIdBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, videoId_);
|
|
|
+ }
|
|
|
+ if (!getUpIdBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, upId_);
|
|
|
+ }
|
|
|
+ if (!getTagsBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tags_);
|
|
|
+ }
|
|
|
+ if (!getPlayLengthBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, playLength_);
|
|
|
+ }
|
|
|
+ if (!getTotalTimeBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, totalTime_);
|
|
|
+ }
|
|
|
+ if (!getDaysSinceUploadBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, daysSinceUpload_);
|
|
|
+ }
|
|
|
+ if (videoDay1CntFeature_ != null) {
|
|
|
+ size += com.google.protobuf.CodedOutputStream
|
|
|
+ .computeMessageSize(7, getVideoDay1CntFeature());
|
|
|
+ }
|
|
|
+ if (videoDay3CntFeature_ != null) {
|
|
|
+ size += com.google.protobuf.CodedOutputStream
|
|
|
+ .computeMessageSize(8, getVideoDay3CntFeature());
|
|
|
+ }
|
|
|
+ if (videoDay7CntFeature_ != null) {
|
|
|
+ size += com.google.protobuf.CodedOutputStream
|
|
|
+ .computeMessageSize(9, getVideoDay7CntFeature());
|
|
|
+ }
|
|
|
+ if (videoMonth3CntFeature_ != null) {
|
|
|
+ size += com.google.protobuf.CodedOutputStream
|
|
|
+ .computeMessageSize(10, getVideoMonth3CntFeature());
|
|
|
+ }
|
|
|
size += unknownFields.getSerializedSize();
|
|
|
memoizedSize = size;
|
|
|
return size;
|
|
@@ -118,6 +608,38 @@ private static final long serialVersionUID = 0L;
|
|
|
}
|
|
|
com.tzld.piaoquan.recommend.feature.model.feature.VideoFeatureProto other = (com.tzld.piaoquan.recommend.feature.model.feature.VideoFeatureProto) obj;
|
|
|
|
|
|
+ if (!getVideoId()
|
|
|
+ .equals(other.getVideoId())) return false;
|
|
|
+ if (!getUpId()
|
|
|
+ .equals(other.getUpId())) return false;
|
|
|
+ if (!getTags()
|
|
|
+ .equals(other.getTags())) return false;
|
|
|
+ if (!getPlayLength()
|
|
|
+ .equals(other.getPlayLength())) return false;
|
|
|
+ if (!getTotalTime()
|
|
|
+ .equals(other.getTotalTime())) return false;
|
|
|
+ if (!getDaysSinceUpload()
|
|
|
+ .equals(other.getDaysSinceUpload())) return false;
|
|
|
+ if (hasVideoDay1CntFeature() != other.hasVideoDay1CntFeature()) return false;
|
|
|
+ if (hasVideoDay1CntFeature()) {
|
|
|
+ if (!getVideoDay1CntFeature()
|
|
|
+ .equals(other.getVideoDay1CntFeature())) return false;
|
|
|
+ }
|
|
|
+ if (hasVideoDay3CntFeature() != other.hasVideoDay3CntFeature()) return false;
|
|
|
+ if (hasVideoDay3CntFeature()) {
|
|
|
+ if (!getVideoDay3CntFeature()
|
|
|
+ .equals(other.getVideoDay3CntFeature())) return false;
|
|
|
+ }
|
|
|
+ if (hasVideoDay7CntFeature() != other.hasVideoDay7CntFeature()) return false;
|
|
|
+ if (hasVideoDay7CntFeature()) {
|
|
|
+ if (!getVideoDay7CntFeature()
|
|
|
+ .equals(other.getVideoDay7CntFeature())) return false;
|
|
|
+ }
|
|
|
+ if (hasVideoMonth3CntFeature() != other.hasVideoMonth3CntFeature()) return false;
|
|
|
+ if (hasVideoMonth3CntFeature()) {
|
|
|
+ if (!getVideoMonth3CntFeature()
|
|
|
+ .equals(other.getVideoMonth3CntFeature())) return false;
|
|
|
+ }
|
|
|
if (!unknownFields.equals(other.unknownFields)) return false;
|
|
|
return true;
|
|
|
}
|
|
@@ -129,6 +651,34 @@ private static final long serialVersionUID = 0L;
|
|
|
}
|
|
|
int hash = 41;
|
|
|
hash = (19 * hash) + getDescriptor().hashCode();
|
|
|
+ hash = (37 * hash) + VIDEO_ID_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getVideoId().hashCode();
|
|
|
+ hash = (37 * hash) + UP_ID_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getUpId().hashCode();
|
|
|
+ hash = (37 * hash) + TAGS_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getTags().hashCode();
|
|
|
+ hash = (37 * hash) + PLAY_LENGTH_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getPlayLength().hashCode();
|
|
|
+ hash = (37 * hash) + TOTAL_TIME_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getTotalTime().hashCode();
|
|
|
+ hash = (37 * hash) + DAYS_SINCE_UPLOAD_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getDaysSinceUpload().hashCode();
|
|
|
+ if (hasVideoDay1CntFeature()) {
|
|
|
+ hash = (37 * hash) + VIDEO_DAY1_CNT_FEATURE_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getVideoDay1CntFeature().hashCode();
|
|
|
+ }
|
|
|
+ if (hasVideoDay3CntFeature()) {
|
|
|
+ hash = (37 * hash) + VIDEO_DAY3_CNT_FEATURE_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getVideoDay3CntFeature().hashCode();
|
|
|
+ }
|
|
|
+ if (hasVideoDay7CntFeature()) {
|
|
|
+ hash = (37 * hash) + VIDEO_DAY7_CNT_FEATURE_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getVideoDay7CntFeature().hashCode();
|
|
|
+ }
|
|
|
+ if (hasVideoMonth3CntFeature()) {
|
|
|
+ hash = (37 * hash) + VIDEO_MONTH3_CNT_FEATURE_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getVideoMonth3CntFeature().hashCode();
|
|
|
+ }
|
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
|
memoizedHashCode = hash;
|
|
|
return hash;
|
|
@@ -262,6 +812,42 @@ private static final long serialVersionUID = 0L;
|
|
|
@java.lang.Override
|
|
|
public Builder clear() {
|
|
|
super.clear();
|
|
|
+ videoId_ = "";
|
|
|
+
|
|
|
+ upId_ = "";
|
|
|
+
|
|
|
+ tags_ = "";
|
|
|
+
|
|
|
+ playLength_ = "";
|
|
|
+
|
|
|
+ totalTime_ = "";
|
|
|
+
|
|
|
+ daysSinceUpload_ = "";
|
|
|
+
|
|
|
+ if (videoDay1CntFeatureBuilder_ == null) {
|
|
|
+ videoDay1CntFeature_ = null;
|
|
|
+ } else {
|
|
|
+ videoDay1CntFeature_ = null;
|
|
|
+ videoDay1CntFeatureBuilder_ = null;
|
|
|
+ }
|
|
|
+ if (videoDay3CntFeatureBuilder_ == null) {
|
|
|
+ videoDay3CntFeature_ = null;
|
|
|
+ } else {
|
|
|
+ videoDay3CntFeature_ = null;
|
|
|
+ videoDay3CntFeatureBuilder_ = null;
|
|
|
+ }
|
|
|
+ if (videoDay7CntFeatureBuilder_ == null) {
|
|
|
+ videoDay7CntFeature_ = null;
|
|
|
+ } else {
|
|
|
+ videoDay7CntFeature_ = null;
|
|
|
+ videoDay7CntFeatureBuilder_ = null;
|
|
|
+ }
|
|
|
+ if (videoMonth3CntFeatureBuilder_ == null) {
|
|
|
+ videoMonth3CntFeature_ = null;
|
|
|
+ } else {
|
|
|
+ videoMonth3CntFeature_ = null;
|
|
|
+ videoMonth3CntFeatureBuilder_ = null;
|
|
|
+ }
|
|
|
return this;
|
|
|
}
|
|
|
|
|
@@ -288,6 +874,32 @@ private static final long serialVersionUID = 0L;
|
|
|
@java.lang.Override
|
|
|
public com.tzld.piaoquan.recommend.feature.model.feature.VideoFeatureProto buildPartial() {
|
|
|
com.tzld.piaoquan.recommend.feature.model.feature.VideoFeatureProto result = new com.tzld.piaoquan.recommend.feature.model.feature.VideoFeatureProto(this);
|
|
|
+ result.videoId_ = videoId_;
|
|
|
+ result.upId_ = upId_;
|
|
|
+ result.tags_ = tags_;
|
|
|
+ result.playLength_ = playLength_;
|
|
|
+ result.totalTime_ = totalTime_;
|
|
|
+ result.daysSinceUpload_ = daysSinceUpload_;
|
|
|
+ if (videoDay1CntFeatureBuilder_ == null) {
|
|
|
+ result.videoDay1CntFeature_ = videoDay1CntFeature_;
|
|
|
+ } else {
|
|
|
+ result.videoDay1CntFeature_ = videoDay1CntFeatureBuilder_.build();
|
|
|
+ }
|
|
|
+ if (videoDay3CntFeatureBuilder_ == null) {
|
|
|
+ result.videoDay3CntFeature_ = videoDay3CntFeature_;
|
|
|
+ } else {
|
|
|
+ result.videoDay3CntFeature_ = videoDay3CntFeatureBuilder_.build();
|
|
|
+ }
|
|
|
+ if (videoDay7CntFeatureBuilder_ == null) {
|
|
|
+ result.videoDay7CntFeature_ = videoDay7CntFeature_;
|
|
|
+ } else {
|
|
|
+ result.videoDay7CntFeature_ = videoDay7CntFeatureBuilder_.build();
|
|
|
+ }
|
|
|
+ if (videoMonth3CntFeatureBuilder_ == null) {
|
|
|
+ result.videoMonth3CntFeature_ = videoMonth3CntFeature_;
|
|
|
+ } else {
|
|
|
+ result.videoMonth3CntFeature_ = videoMonth3CntFeatureBuilder_.build();
|
|
|
+ }
|
|
|
onBuilt();
|
|
|
return result;
|
|
|
}
|
|
@@ -336,6 +948,42 @@ private static final long serialVersionUID = 0L;
|
|
|
|
|
|
public Builder mergeFrom(com.tzld.piaoquan.recommend.feature.model.feature.VideoFeatureProto other) {
|
|
|
if (other == com.tzld.piaoquan.recommend.feature.model.feature.VideoFeatureProto.getDefaultInstance()) return this;
|
|
|
+ if (!other.getVideoId().isEmpty()) {
|
|
|
+ videoId_ = other.videoId_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (!other.getUpId().isEmpty()) {
|
|
|
+ upId_ = other.upId_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (!other.getTags().isEmpty()) {
|
|
|
+ tags_ = other.tags_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (!other.getPlayLength().isEmpty()) {
|
|
|
+ playLength_ = other.playLength_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (!other.getTotalTime().isEmpty()) {
|
|
|
+ totalTime_ = other.totalTime_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (!other.getDaysSinceUpload().isEmpty()) {
|
|
|
+ daysSinceUpload_ = other.daysSinceUpload_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (other.hasVideoDay1CntFeature()) {
|
|
|
+ mergeVideoDay1CntFeature(other.getVideoDay1CntFeature());
|
|
|
+ }
|
|
|
+ if (other.hasVideoDay3CntFeature()) {
|
|
|
+ mergeVideoDay3CntFeature(other.getVideoDay3CntFeature());
|
|
|
+ }
|
|
|
+ if (other.hasVideoDay7CntFeature()) {
|
|
|
+ mergeVideoDay7CntFeature(other.getVideoDay7CntFeature());
|
|
|
+ }
|
|
|
+ if (other.hasVideoMonth3CntFeature()) {
|
|
|
+ mergeVideoMonth3CntFeature(other.getVideoMonth3CntFeature());
|
|
|
+ }
|
|
|
this.mergeUnknownFields(other.unknownFields);
|
|
|
onChanged();
|
|
|
return this;
|
|
@@ -364,6 +1012,938 @@ private static final long serialVersionUID = 0L;
|
|
|
}
|
|
|
return this;
|
|
|
}
|
|
|
+
|
|
|
+ private java.lang.Object videoId_ = "";
|
|
|
+ /**
|
|
|
+ * <code>string video_id = 1;</code>
|
|
|
+ * @return The videoId.
|
|
|
+ */
|
|
|
+ public java.lang.String getVideoId() {
|
|
|
+ java.lang.Object ref = videoId_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ videoId_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string video_id = 1;</code>
|
|
|
+ * @return The bytes for videoId.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getVideoIdBytes() {
|
|
|
+ java.lang.Object ref = videoId_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ videoId_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string video_id = 1;</code>
|
|
|
+ * @param value The videoId to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setVideoId(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ videoId_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string video_id = 1;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearVideoId() {
|
|
|
+
|
|
|
+ videoId_ = getDefaultInstance().getVideoId();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string video_id = 1;</code>
|
|
|
+ * @param value The bytes for videoId to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setVideoIdBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ videoId_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object upId_ = "";
|
|
|
+ /**
|
|
|
+ * <code>string up_id = 2;</code>
|
|
|
+ * @return The upId.
|
|
|
+ */
|
|
|
+ public java.lang.String getUpId() {
|
|
|
+ java.lang.Object ref = upId_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ upId_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string up_id = 2;</code>
|
|
|
+ * @return The bytes for upId.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getUpIdBytes() {
|
|
|
+ java.lang.Object ref = upId_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ upId_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string up_id = 2;</code>
|
|
|
+ * @param value The upId to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setUpId(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ upId_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string up_id = 2;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearUpId() {
|
|
|
+
|
|
|
+ upId_ = getDefaultInstance().getUpId();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string up_id = 2;</code>
|
|
|
+ * @param value The bytes for upId to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setUpIdBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ upId_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object tags_ = "";
|
|
|
+ /**
|
|
|
+ * <code>string tags = 3;</code>
|
|
|
+ * @return The tags.
|
|
|
+ */
|
|
|
+ public java.lang.String getTags() {
|
|
|
+ java.lang.Object ref = tags_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ tags_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string tags = 3;</code>
|
|
|
+ * @return The bytes for tags.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getTagsBytes() {
|
|
|
+ java.lang.Object ref = tags_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ tags_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string tags = 3;</code>
|
|
|
+ * @param value The tags to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setTags(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ tags_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string tags = 3;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearTags() {
|
|
|
+
|
|
|
+ tags_ = getDefaultInstance().getTags();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string tags = 3;</code>
|
|
|
+ * @param value The bytes for tags to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setTagsBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ tags_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object playLength_ = "";
|
|
|
+ /**
|
|
|
+ * <code>string play_length = 4;</code>
|
|
|
+ * @return The playLength.
|
|
|
+ */
|
|
|
+ public java.lang.String getPlayLength() {
|
|
|
+ java.lang.Object ref = playLength_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ playLength_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string play_length = 4;</code>
|
|
|
+ * @return The bytes for playLength.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getPlayLengthBytes() {
|
|
|
+ java.lang.Object ref = playLength_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ playLength_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string play_length = 4;</code>
|
|
|
+ * @param value The playLength to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setPlayLength(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ playLength_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string play_length = 4;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearPlayLength() {
|
|
|
+
|
|
|
+ playLength_ = getDefaultInstance().getPlayLength();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string play_length = 4;</code>
|
|
|
+ * @param value The bytes for playLength to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setPlayLengthBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ playLength_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object totalTime_ = "";
|
|
|
+ /**
|
|
|
+ * <code>string total_time = 5;</code>
|
|
|
+ * @return The totalTime.
|
|
|
+ */
|
|
|
+ public java.lang.String getTotalTime() {
|
|
|
+ java.lang.Object ref = totalTime_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ totalTime_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string total_time = 5;</code>
|
|
|
+ * @return The bytes for totalTime.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getTotalTimeBytes() {
|
|
|
+ java.lang.Object ref = totalTime_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ totalTime_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string total_time = 5;</code>
|
|
|
+ * @param value The totalTime to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setTotalTime(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ totalTime_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string total_time = 5;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearTotalTime() {
|
|
|
+
|
|
|
+ totalTime_ = getDefaultInstance().getTotalTime();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string total_time = 5;</code>
|
|
|
+ * @param value The bytes for totalTime to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setTotalTimeBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ totalTime_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object daysSinceUpload_ = "";
|
|
|
+ /**
|
|
|
+ * <code>string days_since_upload = 6;</code>
|
|
|
+ * @return The daysSinceUpload.
|
|
|
+ */
|
|
|
+ public java.lang.String getDaysSinceUpload() {
|
|
|
+ java.lang.Object ref = daysSinceUpload_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ daysSinceUpload_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string days_since_upload = 6;</code>
|
|
|
+ * @return The bytes for daysSinceUpload.
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getDaysSinceUploadBytes() {
|
|
|
+ java.lang.Object ref = daysSinceUpload_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ daysSinceUpload_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string days_since_upload = 6;</code>
|
|
|
+ * @param value The daysSinceUpload to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setDaysSinceUpload(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ daysSinceUpload_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string days_since_upload = 6;</code>
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder clearDaysSinceUpload() {
|
|
|
+
|
|
|
+ daysSinceUpload_ = getDefaultInstance().getDaysSinceUpload();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>string days_since_upload = 6;</code>
|
|
|
+ * @param value The bytes for daysSinceUpload to set.
|
|
|
+ * @return This builder for chaining.
|
|
|
+ */
|
|
|
+ public Builder setDaysSinceUploadBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ daysSinceUpload_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto videoDay1CntFeature_;
|
|
|
+ private com.google.protobuf.SingleFieldBuilderV3<
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProtoOrBuilder> videoDay1CntFeatureBuilder_;
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day1_cnt_feature = 7;</code>
|
|
|
+ * @return Whether the videoDay1CntFeature field is set.
|
|
|
+ */
|
|
|
+ public boolean hasVideoDay1CntFeature() {
|
|
|
+ return videoDay1CntFeatureBuilder_ != null || videoDay1CntFeature_ != null;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day1_cnt_feature = 7;</code>
|
|
|
+ * @return The videoDay1CntFeature.
|
|
|
+ */
|
|
|
+ public com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto getVideoDay1CntFeature() {
|
|
|
+ if (videoDay1CntFeatureBuilder_ == null) {
|
|
|
+ return videoDay1CntFeature_ == null ? com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.getDefaultInstance() : videoDay1CntFeature_;
|
|
|
+ } else {
|
|
|
+ return videoDay1CntFeatureBuilder_.getMessage();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day1_cnt_feature = 7;</code>
|
|
|
+ */
|
|
|
+ public Builder setVideoDay1CntFeature(com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto value) {
|
|
|
+ if (videoDay1CntFeatureBuilder_ == null) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ videoDay1CntFeature_ = value;
|
|
|
+ onChanged();
|
|
|
+ } else {
|
|
|
+ videoDay1CntFeatureBuilder_.setMessage(value);
|
|
|
+ }
|
|
|
+
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day1_cnt_feature = 7;</code>
|
|
|
+ */
|
|
|
+ public Builder setVideoDay1CntFeature(
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder builderForValue) {
|
|
|
+ if (videoDay1CntFeatureBuilder_ == null) {
|
|
|
+ videoDay1CntFeature_ = builderForValue.build();
|
|
|
+ onChanged();
|
|
|
+ } else {
|
|
|
+ videoDay1CntFeatureBuilder_.setMessage(builderForValue.build());
|
|
|
+ }
|
|
|
+
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day1_cnt_feature = 7;</code>
|
|
|
+ */
|
|
|
+ public Builder mergeVideoDay1CntFeature(com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto value) {
|
|
|
+ if (videoDay1CntFeatureBuilder_ == null) {
|
|
|
+ if (videoDay1CntFeature_ != null) {
|
|
|
+ videoDay1CntFeature_ =
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.newBuilder(videoDay1CntFeature_).mergeFrom(value).buildPartial();
|
|
|
+ } else {
|
|
|
+ videoDay1CntFeature_ = value;
|
|
|
+ }
|
|
|
+ onChanged();
|
|
|
+ } else {
|
|
|
+ videoDay1CntFeatureBuilder_.mergeFrom(value);
|
|
|
+ }
|
|
|
+
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day1_cnt_feature = 7;</code>
|
|
|
+ */
|
|
|
+ public Builder clearVideoDay1CntFeature() {
|
|
|
+ if (videoDay1CntFeatureBuilder_ == null) {
|
|
|
+ videoDay1CntFeature_ = null;
|
|
|
+ onChanged();
|
|
|
+ } else {
|
|
|
+ videoDay1CntFeature_ = null;
|
|
|
+ videoDay1CntFeatureBuilder_ = null;
|
|
|
+ }
|
|
|
+
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day1_cnt_feature = 7;</code>
|
|
|
+ */
|
|
|
+ public com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder getVideoDay1CntFeatureBuilder() {
|
|
|
+
|
|
|
+ onChanged();
|
|
|
+ return getVideoDay1CntFeatureFieldBuilder().getBuilder();
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day1_cnt_feature = 7;</code>
|
|
|
+ */
|
|
|
+ public com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProtoOrBuilder getVideoDay1CntFeatureOrBuilder() {
|
|
|
+ if (videoDay1CntFeatureBuilder_ != null) {
|
|
|
+ return videoDay1CntFeatureBuilder_.getMessageOrBuilder();
|
|
|
+ } else {
|
|
|
+ return videoDay1CntFeature_ == null ?
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.getDefaultInstance() : videoDay1CntFeature_;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day1_cnt_feature = 7;</code>
|
|
|
+ */
|
|
|
+ private com.google.protobuf.SingleFieldBuilderV3<
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProtoOrBuilder>
|
|
|
+ getVideoDay1CntFeatureFieldBuilder() {
|
|
|
+ if (videoDay1CntFeatureBuilder_ == null) {
|
|
|
+ videoDay1CntFeatureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProtoOrBuilder>(
|
|
|
+ getVideoDay1CntFeature(),
|
|
|
+ getParentForChildren(),
|
|
|
+ isClean());
|
|
|
+ videoDay1CntFeature_ = null;
|
|
|
+ }
|
|
|
+ return videoDay1CntFeatureBuilder_;
|
|
|
+ }
|
|
|
+
|
|
|
+ private com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto videoDay3CntFeature_;
|
|
|
+ private com.google.protobuf.SingleFieldBuilderV3<
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProtoOrBuilder> videoDay3CntFeatureBuilder_;
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day3_cnt_feature = 8;</code>
|
|
|
+ * @return Whether the videoDay3CntFeature field is set.
|
|
|
+ */
|
|
|
+ public boolean hasVideoDay3CntFeature() {
|
|
|
+ return videoDay3CntFeatureBuilder_ != null || videoDay3CntFeature_ != null;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day3_cnt_feature = 8;</code>
|
|
|
+ * @return The videoDay3CntFeature.
|
|
|
+ */
|
|
|
+ public com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto getVideoDay3CntFeature() {
|
|
|
+ if (videoDay3CntFeatureBuilder_ == null) {
|
|
|
+ return videoDay3CntFeature_ == null ? com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.getDefaultInstance() : videoDay3CntFeature_;
|
|
|
+ } else {
|
|
|
+ return videoDay3CntFeatureBuilder_.getMessage();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day3_cnt_feature = 8;</code>
|
|
|
+ */
|
|
|
+ public Builder setVideoDay3CntFeature(com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto value) {
|
|
|
+ if (videoDay3CntFeatureBuilder_ == null) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ videoDay3CntFeature_ = value;
|
|
|
+ onChanged();
|
|
|
+ } else {
|
|
|
+ videoDay3CntFeatureBuilder_.setMessage(value);
|
|
|
+ }
|
|
|
+
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day3_cnt_feature = 8;</code>
|
|
|
+ */
|
|
|
+ public Builder setVideoDay3CntFeature(
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder builderForValue) {
|
|
|
+ if (videoDay3CntFeatureBuilder_ == null) {
|
|
|
+ videoDay3CntFeature_ = builderForValue.build();
|
|
|
+ onChanged();
|
|
|
+ } else {
|
|
|
+ videoDay3CntFeatureBuilder_.setMessage(builderForValue.build());
|
|
|
+ }
|
|
|
+
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day3_cnt_feature = 8;</code>
|
|
|
+ */
|
|
|
+ public Builder mergeVideoDay3CntFeature(com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto value) {
|
|
|
+ if (videoDay3CntFeatureBuilder_ == null) {
|
|
|
+ if (videoDay3CntFeature_ != null) {
|
|
|
+ videoDay3CntFeature_ =
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.newBuilder(videoDay3CntFeature_).mergeFrom(value).buildPartial();
|
|
|
+ } else {
|
|
|
+ videoDay3CntFeature_ = value;
|
|
|
+ }
|
|
|
+ onChanged();
|
|
|
+ } else {
|
|
|
+ videoDay3CntFeatureBuilder_.mergeFrom(value);
|
|
|
+ }
|
|
|
+
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day3_cnt_feature = 8;</code>
|
|
|
+ */
|
|
|
+ public Builder clearVideoDay3CntFeature() {
|
|
|
+ if (videoDay3CntFeatureBuilder_ == null) {
|
|
|
+ videoDay3CntFeature_ = null;
|
|
|
+ onChanged();
|
|
|
+ } else {
|
|
|
+ videoDay3CntFeature_ = null;
|
|
|
+ videoDay3CntFeatureBuilder_ = null;
|
|
|
+ }
|
|
|
+
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day3_cnt_feature = 8;</code>
|
|
|
+ */
|
|
|
+ public com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder getVideoDay3CntFeatureBuilder() {
|
|
|
+
|
|
|
+ onChanged();
|
|
|
+ return getVideoDay3CntFeatureFieldBuilder().getBuilder();
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day3_cnt_feature = 8;</code>
|
|
|
+ */
|
|
|
+ public com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProtoOrBuilder getVideoDay3CntFeatureOrBuilder() {
|
|
|
+ if (videoDay3CntFeatureBuilder_ != null) {
|
|
|
+ return videoDay3CntFeatureBuilder_.getMessageOrBuilder();
|
|
|
+ } else {
|
|
|
+ return videoDay3CntFeature_ == null ?
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.getDefaultInstance() : videoDay3CntFeature_;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day3_cnt_feature = 8;</code>
|
|
|
+ */
|
|
|
+ private com.google.protobuf.SingleFieldBuilderV3<
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProtoOrBuilder>
|
|
|
+ getVideoDay3CntFeatureFieldBuilder() {
|
|
|
+ if (videoDay3CntFeatureBuilder_ == null) {
|
|
|
+ videoDay3CntFeatureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProtoOrBuilder>(
|
|
|
+ getVideoDay3CntFeature(),
|
|
|
+ getParentForChildren(),
|
|
|
+ isClean());
|
|
|
+ videoDay3CntFeature_ = null;
|
|
|
+ }
|
|
|
+ return videoDay3CntFeatureBuilder_;
|
|
|
+ }
|
|
|
+
|
|
|
+ private com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto videoDay7CntFeature_;
|
|
|
+ private com.google.protobuf.SingleFieldBuilderV3<
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProtoOrBuilder> videoDay7CntFeatureBuilder_;
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day7_cnt_feature = 9;</code>
|
|
|
+ * @return Whether the videoDay7CntFeature field is set.
|
|
|
+ */
|
|
|
+ public boolean hasVideoDay7CntFeature() {
|
|
|
+ return videoDay7CntFeatureBuilder_ != null || videoDay7CntFeature_ != null;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day7_cnt_feature = 9;</code>
|
|
|
+ * @return The videoDay7CntFeature.
|
|
|
+ */
|
|
|
+ public com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto getVideoDay7CntFeature() {
|
|
|
+ if (videoDay7CntFeatureBuilder_ == null) {
|
|
|
+ return videoDay7CntFeature_ == null ? com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.getDefaultInstance() : videoDay7CntFeature_;
|
|
|
+ } else {
|
|
|
+ return videoDay7CntFeatureBuilder_.getMessage();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day7_cnt_feature = 9;</code>
|
|
|
+ */
|
|
|
+ public Builder setVideoDay7CntFeature(com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto value) {
|
|
|
+ if (videoDay7CntFeatureBuilder_ == null) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ videoDay7CntFeature_ = value;
|
|
|
+ onChanged();
|
|
|
+ } else {
|
|
|
+ videoDay7CntFeatureBuilder_.setMessage(value);
|
|
|
+ }
|
|
|
+
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day7_cnt_feature = 9;</code>
|
|
|
+ */
|
|
|
+ public Builder setVideoDay7CntFeature(
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder builderForValue) {
|
|
|
+ if (videoDay7CntFeatureBuilder_ == null) {
|
|
|
+ videoDay7CntFeature_ = builderForValue.build();
|
|
|
+ onChanged();
|
|
|
+ } else {
|
|
|
+ videoDay7CntFeatureBuilder_.setMessage(builderForValue.build());
|
|
|
+ }
|
|
|
+
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day7_cnt_feature = 9;</code>
|
|
|
+ */
|
|
|
+ public Builder mergeVideoDay7CntFeature(com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto value) {
|
|
|
+ if (videoDay7CntFeatureBuilder_ == null) {
|
|
|
+ if (videoDay7CntFeature_ != null) {
|
|
|
+ videoDay7CntFeature_ =
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.newBuilder(videoDay7CntFeature_).mergeFrom(value).buildPartial();
|
|
|
+ } else {
|
|
|
+ videoDay7CntFeature_ = value;
|
|
|
+ }
|
|
|
+ onChanged();
|
|
|
+ } else {
|
|
|
+ videoDay7CntFeatureBuilder_.mergeFrom(value);
|
|
|
+ }
|
|
|
+
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day7_cnt_feature = 9;</code>
|
|
|
+ */
|
|
|
+ public Builder clearVideoDay7CntFeature() {
|
|
|
+ if (videoDay7CntFeatureBuilder_ == null) {
|
|
|
+ videoDay7CntFeature_ = null;
|
|
|
+ onChanged();
|
|
|
+ } else {
|
|
|
+ videoDay7CntFeature_ = null;
|
|
|
+ videoDay7CntFeatureBuilder_ = null;
|
|
|
+ }
|
|
|
+
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day7_cnt_feature = 9;</code>
|
|
|
+ */
|
|
|
+ public com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder getVideoDay7CntFeatureBuilder() {
|
|
|
+
|
|
|
+ onChanged();
|
|
|
+ return getVideoDay7CntFeatureFieldBuilder().getBuilder();
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day7_cnt_feature = 9;</code>
|
|
|
+ */
|
|
|
+ public com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProtoOrBuilder getVideoDay7CntFeatureOrBuilder() {
|
|
|
+ if (videoDay7CntFeatureBuilder_ != null) {
|
|
|
+ return videoDay7CntFeatureBuilder_.getMessageOrBuilder();
|
|
|
+ } else {
|
|
|
+ return videoDay7CntFeature_ == null ?
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.getDefaultInstance() : videoDay7CntFeature_;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_day7_cnt_feature = 9;</code>
|
|
|
+ */
|
|
|
+ private com.google.protobuf.SingleFieldBuilderV3<
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProtoOrBuilder>
|
|
|
+ getVideoDay7CntFeatureFieldBuilder() {
|
|
|
+ if (videoDay7CntFeatureBuilder_ == null) {
|
|
|
+ videoDay7CntFeatureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProtoOrBuilder>(
|
|
|
+ getVideoDay7CntFeature(),
|
|
|
+ getParentForChildren(),
|
|
|
+ isClean());
|
|
|
+ videoDay7CntFeature_ = null;
|
|
|
+ }
|
|
|
+ return videoDay7CntFeatureBuilder_;
|
|
|
+ }
|
|
|
+
|
|
|
+ private com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto videoMonth3CntFeature_;
|
|
|
+ private com.google.protobuf.SingleFieldBuilderV3<
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProtoOrBuilder> videoMonth3CntFeatureBuilder_;
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_month3_cnt_feature = 10;</code>
|
|
|
+ * @return Whether the videoMonth3CntFeature field is set.
|
|
|
+ */
|
|
|
+ public boolean hasVideoMonth3CntFeature() {
|
|
|
+ return videoMonth3CntFeatureBuilder_ != null || videoMonth3CntFeature_ != null;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_month3_cnt_feature = 10;</code>
|
|
|
+ * @return The videoMonth3CntFeature.
|
|
|
+ */
|
|
|
+ public com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto getVideoMonth3CntFeature() {
|
|
|
+ if (videoMonth3CntFeatureBuilder_ == null) {
|
|
|
+ return videoMonth3CntFeature_ == null ? com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.getDefaultInstance() : videoMonth3CntFeature_;
|
|
|
+ } else {
|
|
|
+ return videoMonth3CntFeatureBuilder_.getMessage();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_month3_cnt_feature = 10;</code>
|
|
|
+ */
|
|
|
+ public Builder setVideoMonth3CntFeature(com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto value) {
|
|
|
+ if (videoMonth3CntFeatureBuilder_ == null) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ videoMonth3CntFeature_ = value;
|
|
|
+ onChanged();
|
|
|
+ } else {
|
|
|
+ videoMonth3CntFeatureBuilder_.setMessage(value);
|
|
|
+ }
|
|
|
+
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_month3_cnt_feature = 10;</code>
|
|
|
+ */
|
|
|
+ public Builder setVideoMonth3CntFeature(
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder builderForValue) {
|
|
|
+ if (videoMonth3CntFeatureBuilder_ == null) {
|
|
|
+ videoMonth3CntFeature_ = builderForValue.build();
|
|
|
+ onChanged();
|
|
|
+ } else {
|
|
|
+ videoMonth3CntFeatureBuilder_.setMessage(builderForValue.build());
|
|
|
+ }
|
|
|
+
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_month3_cnt_feature = 10;</code>
|
|
|
+ */
|
|
|
+ public Builder mergeVideoMonth3CntFeature(com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto value) {
|
|
|
+ if (videoMonth3CntFeatureBuilder_ == null) {
|
|
|
+ if (videoMonth3CntFeature_ != null) {
|
|
|
+ videoMonth3CntFeature_ =
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.newBuilder(videoMonth3CntFeature_).mergeFrom(value).buildPartial();
|
|
|
+ } else {
|
|
|
+ videoMonth3CntFeature_ = value;
|
|
|
+ }
|
|
|
+ onChanged();
|
|
|
+ } else {
|
|
|
+ videoMonth3CntFeatureBuilder_.mergeFrom(value);
|
|
|
+ }
|
|
|
+
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_month3_cnt_feature = 10;</code>
|
|
|
+ */
|
|
|
+ public Builder clearVideoMonth3CntFeature() {
|
|
|
+ if (videoMonth3CntFeatureBuilder_ == null) {
|
|
|
+ videoMonth3CntFeature_ = null;
|
|
|
+ onChanged();
|
|
|
+ } else {
|
|
|
+ videoMonth3CntFeature_ = null;
|
|
|
+ videoMonth3CntFeatureBuilder_ = null;
|
|
|
+ }
|
|
|
+
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_month3_cnt_feature = 10;</code>
|
|
|
+ */
|
|
|
+ public com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder getVideoMonth3CntFeatureBuilder() {
|
|
|
+
|
|
|
+ onChanged();
|
|
|
+ return getVideoMonth3CntFeatureFieldBuilder().getBuilder();
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_month3_cnt_feature = 10;</code>
|
|
|
+ */
|
|
|
+ public com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProtoOrBuilder getVideoMonth3CntFeatureOrBuilder() {
|
|
|
+ if (videoMonth3CntFeatureBuilder_ != null) {
|
|
|
+ return videoMonth3CntFeatureBuilder_.getMessageOrBuilder();
|
|
|
+ } else {
|
|
|
+ return videoMonth3CntFeature_ == null ?
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.getDefaultInstance() : videoMonth3CntFeature_;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>.UserActionFeatureProto video_month3_cnt_feature = 10;</code>
|
|
|
+ */
|
|
|
+ private com.google.protobuf.SingleFieldBuilderV3<
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProtoOrBuilder>
|
|
|
+ getVideoMonth3CntFeatureFieldBuilder() {
|
|
|
+ if (videoMonth3CntFeatureBuilder_ == null) {
|
|
|
+ videoMonth3CntFeatureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
|
+ com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProto.Builder, com.tzld.piaoquan.recommend.feature.model.feature.UserActionFeatureProtoOrBuilder>(
|
|
|
+ getVideoMonth3CntFeature(),
|
|
|
+ getParentForChildren(),
|
|
|
+ isClean());
|
|
|
+ videoMonth3CntFeature_ = null;
|
|
|
+ }
|
|
|
+ return videoMonth3CntFeatureBuilder_;
|
|
|
+ }
|
|
|
@java.lang.Override
|
|
|
public final Builder setUnknownFields(
|
|
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|