|
@@ -0,0 +1,1219 @@
|
|
|
+// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
|
+// source: log.proto
|
|
|
+
|
|
|
+package com.ywt.gapi.base.log;
|
|
|
+
|
|
|
+/**
|
|
|
+ * <pre>
|
|
|
+ *记录日志请求
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * Protobuf type {@code com.ywt.gapi.base.log.SaveCommentLogRequest}
|
|
|
+ */
|
|
|
+public final class SaveCommentLogRequest extends
|
|
|
+ com.google.protobuf.GeneratedMessageV3 implements
|
|
|
+ // @@protoc_insertion_point(message_implements:com.ywt.gapi.base.log.SaveCommentLogRequest)
|
|
|
+ SaveCommentLogRequestOrBuilder {
|
|
|
+ // Use SaveCommentLogRequest.newBuilder() to construct.
|
|
|
+ private SaveCommentLogRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
|
+ super(builder);
|
|
|
+ }
|
|
|
+ private SaveCommentLogRequest() {
|
|
|
+ typeCode_ = "";
|
|
|
+ typeDesc_ = "";
|
|
|
+ content_ = "";
|
|
|
+ remark_ = "";
|
|
|
+ ip_ = "";
|
|
|
+ userId_ = 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ public final com.google.protobuf.UnknownFieldSet
|
|
|
+ getUnknownFields() {
|
|
|
+ return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
|
|
|
+ }
|
|
|
+ private SaveCommentLogRequest(
|
|
|
+ com.google.protobuf.CodedInputStream input,
|
|
|
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
+ throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
+ this();
|
|
|
+ int mutable_bitField0_ = 0;
|
|
|
+ try {
|
|
|
+ boolean done = false;
|
|
|
+ while (!done) {
|
|
|
+ int tag = input.readTag();
|
|
|
+ switch (tag) {
|
|
|
+ case 0:
|
|
|
+ done = true;
|
|
|
+ break;
|
|
|
+ default: {
|
|
|
+ if (!input.skipField(tag)) {
|
|
|
+ done = true;
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 10: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ typeCode_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 18: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ typeDesc_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 26: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ content_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 34: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ remark_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 42: {
|
|
|
+ java.lang.String s = input.readStringRequireUtf8();
|
|
|
+
|
|
|
+ ip_ = s;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 48: {
|
|
|
+
|
|
|
+ userId_ = input.readInt32();
|
|
|
+ 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 {
|
|
|
+ makeExtensionsImmutable();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
+ getDescriptor() {
|
|
|
+ return com.ywt.gapi.base.log.Log.internal_static_com_ywt_gapi_base_log_SaveCommentLogRequest_descriptor;
|
|
|
+ }
|
|
|
+
|
|
|
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
|
+ internalGetFieldAccessorTable() {
|
|
|
+ return com.ywt.gapi.base.log.Log.internal_static_com_ywt_gapi_base_log_SaveCommentLogRequest_fieldAccessorTable
|
|
|
+ .ensureFieldAccessorsInitialized(
|
|
|
+ com.ywt.gapi.base.log.SaveCommentLogRequest.class, com.ywt.gapi.base.log.SaveCommentLogRequest.Builder.class);
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int TYPECODE_FIELD_NUMBER = 1;
|
|
|
+ private volatile java.lang.Object typeCode_;
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志分类编码,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string typeCode = 1;</code>
|
|
|
+ */
|
|
|
+ public java.lang.String getTypeCode() {
|
|
|
+ java.lang.Object ref = typeCode_;
|
|
|
+ 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();
|
|
|
+ typeCode_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志分类编码,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string typeCode = 1;</code>
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getTypeCodeBytes() {
|
|
|
+ java.lang.Object ref = typeCode_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ typeCode_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int TYPEDESC_FIELD_NUMBER = 2;
|
|
|
+ private volatile java.lang.Object typeDesc_;
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志分类描述,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string typeDesc = 2;</code>
|
|
|
+ */
|
|
|
+ public java.lang.String getTypeDesc() {
|
|
|
+ java.lang.Object ref = typeDesc_;
|
|
|
+ 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();
|
|
|
+ typeDesc_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志分类描述,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string typeDesc = 2;</code>
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getTypeDescBytes() {
|
|
|
+ java.lang.Object ref = typeDesc_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ typeDesc_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int CONTENT_FIELD_NUMBER = 3;
|
|
|
+ private volatile java.lang.Object content_;
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志的内容,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string content = 3;</code>
|
|
|
+ */
|
|
|
+ public java.lang.String getContent() {
|
|
|
+ java.lang.Object ref = content_;
|
|
|
+ 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();
|
|
|
+ content_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志的内容,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string content = 3;</code>
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getContentBytes() {
|
|
|
+ java.lang.Object ref = content_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ content_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int REMARK_FIELD_NUMBER = 4;
|
|
|
+ private volatile java.lang.Object remark_;
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志备注,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string remark = 4;</code>
|
|
|
+ */
|
|
|
+ public java.lang.String getRemark() {
|
|
|
+ java.lang.Object ref = remark_;
|
|
|
+ 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();
|
|
|
+ remark_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志备注,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string remark = 4;</code>
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getRemarkBytes() {
|
|
|
+ java.lang.Object ref = remark_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ remark_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int IP_FIELD_NUMBER = 5;
|
|
|
+ private volatile java.lang.Object ip_;
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * ip地址
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string ip = 5;</code>
|
|
|
+ */
|
|
|
+ public java.lang.String getIp() {
|
|
|
+ java.lang.Object ref = ip_;
|
|
|
+ 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();
|
|
|
+ ip_ = s;
|
|
|
+ return s;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * ip地址
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string ip = 5;</code>
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getIpBytes() {
|
|
|
+ java.lang.Object ref = ip_;
|
|
|
+ if (ref instanceof java.lang.String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ ip_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static final int USERID_FIELD_NUMBER = 6;
|
|
|
+ private int userId_;
|
|
|
+ /**
|
|
|
+ * <code>int32 userId = 6;</code>
|
|
|
+ */
|
|
|
+ public int getUserId() {
|
|
|
+ return userId_;
|
|
|
+ }
|
|
|
+
|
|
|
+ private byte memoizedIsInitialized = -1;
|
|
|
+ public final boolean isInitialized() {
|
|
|
+ byte isInitialized = memoizedIsInitialized;
|
|
|
+ if (isInitialized == 1) return true;
|
|
|
+ if (isInitialized == 0) return false;
|
|
|
+
|
|
|
+ memoizedIsInitialized = 1;
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
+ throws java.io.IOException {
|
|
|
+ if (!getTypeCodeBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, typeCode_);
|
|
|
+ }
|
|
|
+ if (!getTypeDescBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, typeDesc_);
|
|
|
+ }
|
|
|
+ if (!getContentBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, content_);
|
|
|
+ }
|
|
|
+ if (!getRemarkBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, remark_);
|
|
|
+ }
|
|
|
+ if (!getIpBytes().isEmpty()) {
|
|
|
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, ip_);
|
|
|
+ }
|
|
|
+ if (userId_ != 0) {
|
|
|
+ output.writeInt32(6, userId_);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getSerializedSize() {
|
|
|
+ int size = memoizedSize;
|
|
|
+ if (size != -1) return size;
|
|
|
+
|
|
|
+ size = 0;
|
|
|
+ if (!getTypeCodeBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, typeCode_);
|
|
|
+ }
|
|
|
+ if (!getTypeDescBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, typeDesc_);
|
|
|
+ }
|
|
|
+ if (!getContentBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, content_);
|
|
|
+ }
|
|
|
+ if (!getRemarkBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, remark_);
|
|
|
+ }
|
|
|
+ if (!getIpBytes().isEmpty()) {
|
|
|
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, ip_);
|
|
|
+ }
|
|
|
+ if (userId_ != 0) {
|
|
|
+ size += com.google.protobuf.CodedOutputStream
|
|
|
+ .computeInt32Size(6, userId_);
|
|
|
+ }
|
|
|
+ memoizedSize = size;
|
|
|
+ return size;
|
|
|
+ }
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 0L;
|
|
|
+ @java.lang.Override
|
|
|
+ public boolean equals(final java.lang.Object obj) {
|
|
|
+ if (obj == this) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ if (!(obj instanceof com.ywt.gapi.base.log.SaveCommentLogRequest)) {
|
|
|
+ return super.equals(obj);
|
|
|
+ }
|
|
|
+ com.ywt.gapi.base.log.SaveCommentLogRequest other = (com.ywt.gapi.base.log.SaveCommentLogRequest) obj;
|
|
|
+
|
|
|
+ boolean result = true;
|
|
|
+ result = result && getTypeCode()
|
|
|
+ .equals(other.getTypeCode());
|
|
|
+ result = result && getTypeDesc()
|
|
|
+ .equals(other.getTypeDesc());
|
|
|
+ result = result && getContent()
|
|
|
+ .equals(other.getContent());
|
|
|
+ result = result && getRemark()
|
|
|
+ .equals(other.getRemark());
|
|
|
+ result = result && getIp()
|
|
|
+ .equals(other.getIp());
|
|
|
+ result = result && (getUserId()
|
|
|
+ == other.getUserId());
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ public int hashCode() {
|
|
|
+ if (memoizedHashCode != 0) {
|
|
|
+ return memoizedHashCode;
|
|
|
+ }
|
|
|
+ int hash = 41;
|
|
|
+ hash = (19 * hash) + getDescriptor().hashCode();
|
|
|
+ hash = (37 * hash) + TYPECODE_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getTypeCode().hashCode();
|
|
|
+ hash = (37 * hash) + TYPEDESC_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getTypeDesc().hashCode();
|
|
|
+ hash = (37 * hash) + CONTENT_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getContent().hashCode();
|
|
|
+ hash = (37 * hash) + REMARK_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getRemark().hashCode();
|
|
|
+ hash = (37 * hash) + IP_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getIp().hashCode();
|
|
|
+ hash = (37 * hash) + USERID_FIELD_NUMBER;
|
|
|
+ hash = (53 * hash) + getUserId();
|
|
|
+ hash = (29 * hash) + unknownFields.hashCode();
|
|
|
+ memoizedHashCode = hash;
|
|
|
+ return hash;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static com.ywt.gapi.base.log.SaveCommentLogRequest parseFrom(
|
|
|
+ java.nio.ByteBuffer data)
|
|
|
+ throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
+ return PARSER.parseFrom(data);
|
|
|
+ }
|
|
|
+ public static com.ywt.gapi.base.log.SaveCommentLogRequest parseFrom(
|
|
|
+ java.nio.ByteBuffer data,
|
|
|
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
+ throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
+ return PARSER.parseFrom(data, extensionRegistry);
|
|
|
+ }
|
|
|
+ public static com.ywt.gapi.base.log.SaveCommentLogRequest parseFrom(
|
|
|
+ com.google.protobuf.ByteString data)
|
|
|
+ throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
+ return PARSER.parseFrom(data);
|
|
|
+ }
|
|
|
+ public static com.ywt.gapi.base.log.SaveCommentLogRequest parseFrom(
|
|
|
+ com.google.protobuf.ByteString data,
|
|
|
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
+ throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
+ return PARSER.parseFrom(data, extensionRegistry);
|
|
|
+ }
|
|
|
+ public static com.ywt.gapi.base.log.SaveCommentLogRequest parseFrom(byte[] data)
|
|
|
+ throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
+ return PARSER.parseFrom(data);
|
|
|
+ }
|
|
|
+ public static com.ywt.gapi.base.log.SaveCommentLogRequest parseFrom(
|
|
|
+ byte[] data,
|
|
|
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
+ throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
+ return PARSER.parseFrom(data, extensionRegistry);
|
|
|
+ }
|
|
|
+ public static com.ywt.gapi.base.log.SaveCommentLogRequest parseFrom(java.io.InputStream input)
|
|
|
+ throws java.io.IOException {
|
|
|
+ return com.google.protobuf.GeneratedMessageV3
|
|
|
+ .parseWithIOException(PARSER, input);
|
|
|
+ }
|
|
|
+ public static com.ywt.gapi.base.log.SaveCommentLogRequest 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.ywt.gapi.base.log.SaveCommentLogRequest parseDelimitedFrom(java.io.InputStream input)
|
|
|
+ throws java.io.IOException {
|
|
|
+ return com.google.protobuf.GeneratedMessageV3
|
|
|
+ .parseDelimitedWithIOException(PARSER, input);
|
|
|
+ }
|
|
|
+ public static com.ywt.gapi.base.log.SaveCommentLogRequest 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.ywt.gapi.base.log.SaveCommentLogRequest parseFrom(
|
|
|
+ com.google.protobuf.CodedInputStream input)
|
|
|
+ throws java.io.IOException {
|
|
|
+ return com.google.protobuf.GeneratedMessageV3
|
|
|
+ .parseWithIOException(PARSER, input);
|
|
|
+ }
|
|
|
+ public static com.ywt.gapi.base.log.SaveCommentLogRequest parseFrom(
|
|
|
+ com.google.protobuf.CodedInputStream input,
|
|
|
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
+ throws java.io.IOException {
|
|
|
+ return com.google.protobuf.GeneratedMessageV3
|
|
|
+ .parseWithIOException(PARSER, input, extensionRegistry);
|
|
|
+ }
|
|
|
+
|
|
|
+ public Builder newBuilderForType() { return newBuilder(); }
|
|
|
+ public static Builder newBuilder() {
|
|
|
+ return DEFAULT_INSTANCE.toBuilder();
|
|
|
+ }
|
|
|
+ public static Builder newBuilder(com.ywt.gapi.base.log.SaveCommentLogRequest prototype) {
|
|
|
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
|
+ }
|
|
|
+ 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;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ *记录日志请求
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * Protobuf type {@code com.ywt.gapi.base.log.SaveCommentLogRequest}
|
|
|
+ */
|
|
|
+ public static final class Builder extends
|
|
|
+ com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
|
+ // @@protoc_insertion_point(builder_implements:com.ywt.gapi.base.log.SaveCommentLogRequest)
|
|
|
+ com.ywt.gapi.base.log.SaveCommentLogRequestOrBuilder {
|
|
|
+ public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
+ getDescriptor() {
|
|
|
+ return com.ywt.gapi.base.log.Log.internal_static_com_ywt_gapi_base_log_SaveCommentLogRequest_descriptor;
|
|
|
+ }
|
|
|
+
|
|
|
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
|
+ internalGetFieldAccessorTable() {
|
|
|
+ return com.ywt.gapi.base.log.Log.internal_static_com_ywt_gapi_base_log_SaveCommentLogRequest_fieldAccessorTable
|
|
|
+ .ensureFieldAccessorsInitialized(
|
|
|
+ com.ywt.gapi.base.log.SaveCommentLogRequest.class, com.ywt.gapi.base.log.SaveCommentLogRequest.Builder.class);
|
|
|
+ }
|
|
|
+
|
|
|
+ // Construct using com.ywt.gapi.base.log.SaveCommentLogRequest.newBuilder()
|
|
|
+ private Builder() {
|
|
|
+ maybeForceBuilderInitialization();
|
|
|
+ }
|
|
|
+
|
|
|
+ private Builder(
|
|
|
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
|
+ super(parent);
|
|
|
+ maybeForceBuilderInitialization();
|
|
|
+ }
|
|
|
+ private void maybeForceBuilderInitialization() {
|
|
|
+ if (com.google.protobuf.GeneratedMessageV3
|
|
|
+ .alwaysUseFieldBuilders) {
|
|
|
+ }
|
|
|
+ }
|
|
|
+ public Builder clear() {
|
|
|
+ super.clear();
|
|
|
+ typeCode_ = "";
|
|
|
+
|
|
|
+ typeDesc_ = "";
|
|
|
+
|
|
|
+ content_ = "";
|
|
|
+
|
|
|
+ remark_ = "";
|
|
|
+
|
|
|
+ ip_ = "";
|
|
|
+
|
|
|
+ userId_ = 0;
|
|
|
+
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public com.google.protobuf.Descriptors.Descriptor
|
|
|
+ getDescriptorForType() {
|
|
|
+ return com.ywt.gapi.base.log.Log.internal_static_com_ywt_gapi_base_log_SaveCommentLogRequest_descriptor;
|
|
|
+ }
|
|
|
+
|
|
|
+ public com.ywt.gapi.base.log.SaveCommentLogRequest getDefaultInstanceForType() {
|
|
|
+ return com.ywt.gapi.base.log.SaveCommentLogRequest.getDefaultInstance();
|
|
|
+ }
|
|
|
+
|
|
|
+ public com.ywt.gapi.base.log.SaveCommentLogRequest build() {
|
|
|
+ com.ywt.gapi.base.log.SaveCommentLogRequest result = buildPartial();
|
|
|
+ if (!result.isInitialized()) {
|
|
|
+ throw newUninitializedMessageException(result);
|
|
|
+ }
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+
|
|
|
+ public com.ywt.gapi.base.log.SaveCommentLogRequest buildPartial() {
|
|
|
+ com.ywt.gapi.base.log.SaveCommentLogRequest result = new com.ywt.gapi.base.log.SaveCommentLogRequest(this);
|
|
|
+ result.typeCode_ = typeCode_;
|
|
|
+ result.typeDesc_ = typeDesc_;
|
|
|
+ result.content_ = content_;
|
|
|
+ result.remark_ = remark_;
|
|
|
+ result.ip_ = ip_;
|
|
|
+ result.userId_ = userId_;
|
|
|
+ onBuilt();
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Builder clone() {
|
|
|
+ return (Builder) super.clone();
|
|
|
+ }
|
|
|
+ public Builder setField(
|
|
|
+ com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
|
+ Object value) {
|
|
|
+ return (Builder) super.setField(field, value);
|
|
|
+ }
|
|
|
+ public Builder clearField(
|
|
|
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|
|
+ return (Builder) super.clearField(field);
|
|
|
+ }
|
|
|
+ public Builder clearOneof(
|
|
|
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|
|
+ return (Builder) super.clearOneof(oneof);
|
|
|
+ }
|
|
|
+ public Builder setRepeatedField(
|
|
|
+ com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
|
+ int index, Object value) {
|
|
|
+ return (Builder) super.setRepeatedField(field, index, value);
|
|
|
+ }
|
|
|
+ public Builder addRepeatedField(
|
|
|
+ com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
|
+ Object value) {
|
|
|
+ return (Builder) super.addRepeatedField(field, value);
|
|
|
+ }
|
|
|
+ public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
+ if (other instanceof com.ywt.gapi.base.log.SaveCommentLogRequest) {
|
|
|
+ return mergeFrom((com.ywt.gapi.base.log.SaveCommentLogRequest)other);
|
|
|
+ } else {
|
|
|
+ super.mergeFrom(other);
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public Builder mergeFrom(com.ywt.gapi.base.log.SaveCommentLogRequest other) {
|
|
|
+ if (other == com.ywt.gapi.base.log.SaveCommentLogRequest.getDefaultInstance()) return this;
|
|
|
+ if (!other.getTypeCode().isEmpty()) {
|
|
|
+ typeCode_ = other.typeCode_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (!other.getTypeDesc().isEmpty()) {
|
|
|
+ typeDesc_ = other.typeDesc_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (!other.getContent().isEmpty()) {
|
|
|
+ content_ = other.content_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (!other.getRemark().isEmpty()) {
|
|
|
+ remark_ = other.remark_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (!other.getIp().isEmpty()) {
|
|
|
+ ip_ = other.ip_;
|
|
|
+ onChanged();
|
|
|
+ }
|
|
|
+ if (other.getUserId() != 0) {
|
|
|
+ setUserId(other.getUserId());
|
|
|
+ }
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public final boolean isInitialized() {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Builder mergeFrom(
|
|
|
+ com.google.protobuf.CodedInputStream input,
|
|
|
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
+ throws java.io.IOException {
|
|
|
+ com.ywt.gapi.base.log.SaveCommentLogRequest parsedMessage = null;
|
|
|
+ try {
|
|
|
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
|
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
|
+ parsedMessage = (com.ywt.gapi.base.log.SaveCommentLogRequest) e.getUnfinishedMessage();
|
|
|
+ throw e.unwrapIOException();
|
|
|
+ } finally {
|
|
|
+ if (parsedMessage != null) {
|
|
|
+ mergeFrom(parsedMessage);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object typeCode_ = "";
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志分类编码,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string typeCode = 1;</code>
|
|
|
+ */
|
|
|
+ public java.lang.String getTypeCode() {
|
|
|
+ java.lang.Object ref = typeCode_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ typeCode_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志分类编码,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string typeCode = 1;</code>
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getTypeCodeBytes() {
|
|
|
+ java.lang.Object ref = typeCode_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ typeCode_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志分类编码,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string typeCode = 1;</code>
|
|
|
+ */
|
|
|
+ public Builder setTypeCode(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ typeCode_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志分类编码,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string typeCode = 1;</code>
|
|
|
+ */
|
|
|
+ public Builder clearTypeCode() {
|
|
|
+
|
|
|
+ typeCode_ = getDefaultInstance().getTypeCode();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志分类编码,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string typeCode = 1;</code>
|
|
|
+ */
|
|
|
+ public Builder setTypeCodeBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ typeCode_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object typeDesc_ = "";
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志分类描述,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string typeDesc = 2;</code>
|
|
|
+ */
|
|
|
+ public java.lang.String getTypeDesc() {
|
|
|
+ java.lang.Object ref = typeDesc_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ typeDesc_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志分类描述,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string typeDesc = 2;</code>
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getTypeDescBytes() {
|
|
|
+ java.lang.Object ref = typeDesc_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ typeDesc_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志分类描述,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string typeDesc = 2;</code>
|
|
|
+ */
|
|
|
+ public Builder setTypeDesc(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ typeDesc_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志分类描述,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string typeDesc = 2;</code>
|
|
|
+ */
|
|
|
+ public Builder clearTypeDesc() {
|
|
|
+
|
|
|
+ typeDesc_ = getDefaultInstance().getTypeDesc();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志分类描述,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string typeDesc = 2;</code>
|
|
|
+ */
|
|
|
+ public Builder setTypeDescBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ typeDesc_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object content_ = "";
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志的内容,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string content = 3;</code>
|
|
|
+ */
|
|
|
+ public java.lang.String getContent() {
|
|
|
+ java.lang.Object ref = content_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ content_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志的内容,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string content = 3;</code>
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getContentBytes() {
|
|
|
+ java.lang.Object ref = content_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ content_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志的内容,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string content = 3;</code>
|
|
|
+ */
|
|
|
+ public Builder setContent(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ content_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志的内容,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string content = 3;</code>
|
|
|
+ */
|
|
|
+ public Builder clearContent() {
|
|
|
+
|
|
|
+ content_ = getDefaultInstance().getContent();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志的内容,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string content = 3;</code>
|
|
|
+ */
|
|
|
+ public Builder setContentBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ content_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object remark_ = "";
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志备注,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string remark = 4;</code>
|
|
|
+ */
|
|
|
+ public java.lang.String getRemark() {
|
|
|
+ java.lang.Object ref = remark_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ remark_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志备注,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string remark = 4;</code>
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getRemarkBytes() {
|
|
|
+ java.lang.Object ref = remark_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ remark_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志备注,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string remark = 4;</code>
|
|
|
+ */
|
|
|
+ public Builder setRemark(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ remark_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志备注,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string remark = 4;</code>
|
|
|
+ */
|
|
|
+ public Builder clearRemark() {
|
|
|
+
|
|
|
+ remark_ = getDefaultInstance().getRemark();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * 日志备注,自定义
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string remark = 4;</code>
|
|
|
+ */
|
|
|
+ public Builder setRemarkBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ remark_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private java.lang.Object ip_ = "";
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * ip地址
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string ip = 5;</code>
|
|
|
+ */
|
|
|
+ public java.lang.String getIp() {
|
|
|
+ java.lang.Object ref = ip_;
|
|
|
+ if (!(ref instanceof java.lang.String)) {
|
|
|
+ com.google.protobuf.ByteString bs =
|
|
|
+ (com.google.protobuf.ByteString) ref;
|
|
|
+ java.lang.String s = bs.toStringUtf8();
|
|
|
+ ip_ = s;
|
|
|
+ return s;
|
|
|
+ } else {
|
|
|
+ return (java.lang.String) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * ip地址
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string ip = 5;</code>
|
|
|
+ */
|
|
|
+ public com.google.protobuf.ByteString
|
|
|
+ getIpBytes() {
|
|
|
+ java.lang.Object ref = ip_;
|
|
|
+ if (ref instanceof String) {
|
|
|
+ com.google.protobuf.ByteString b =
|
|
|
+ com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
+ (java.lang.String) ref);
|
|
|
+ ip_ = b;
|
|
|
+ return b;
|
|
|
+ } else {
|
|
|
+ return (com.google.protobuf.ByteString) ref;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * ip地址
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string ip = 5;</code>
|
|
|
+ */
|
|
|
+ public Builder setIp(
|
|
|
+ java.lang.String value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+
|
|
|
+ ip_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * ip地址
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string ip = 5;</code>
|
|
|
+ */
|
|
|
+ public Builder clearIp() {
|
|
|
+
|
|
|
+ ip_ = getDefaultInstance().getIp();
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <pre>
|
|
|
+ * ip地址
|
|
|
+ * </pre>
|
|
|
+ *
|
|
|
+ * <code>string ip = 5;</code>
|
|
|
+ */
|
|
|
+ public Builder setIpBytes(
|
|
|
+ com.google.protobuf.ByteString value) {
|
|
|
+ if (value == null) {
|
|
|
+ throw new NullPointerException();
|
|
|
+ }
|
|
|
+ checkByteStringIsUtf8(value);
|
|
|
+
|
|
|
+ ip_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ private int userId_ ;
|
|
|
+ /**
|
|
|
+ * <code>int32 userId = 6;</code>
|
|
|
+ */
|
|
|
+ public int getUserId() {
|
|
|
+ return userId_;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>int32 userId = 6;</code>
|
|
|
+ */
|
|
|
+ public Builder setUserId(int value) {
|
|
|
+
|
|
|
+ userId_ = value;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * <code>int32 userId = 6;</code>
|
|
|
+ */
|
|
|
+ public Builder clearUserId() {
|
|
|
+
|
|
|
+ userId_ = 0;
|
|
|
+ onChanged();
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+ public final Builder setUnknownFields(
|
|
|
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public final Builder mergeUnknownFields(
|
|
|
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ // @@protoc_insertion_point(builder_scope:com.ywt.gapi.base.log.SaveCommentLogRequest)
|
|
|
+ }
|
|
|
+
|
|
|
+ // @@protoc_insertion_point(class_scope:com.ywt.gapi.base.log.SaveCommentLogRequest)
|
|
|
+ private static final com.ywt.gapi.base.log.SaveCommentLogRequest DEFAULT_INSTANCE;
|
|
|
+ static {
|
|
|
+ DEFAULT_INSTANCE = new com.ywt.gapi.base.log.SaveCommentLogRequest();
|
|
|
+ }
|
|
|
+
|
|
|
+ public static com.ywt.gapi.base.log.SaveCommentLogRequest getDefaultInstance() {
|
|
|
+ return DEFAULT_INSTANCE;
|
|
|
+ }
|
|
|
+
|
|
|
+ private static final com.google.protobuf.Parser<SaveCommentLogRequest>
|
|
|
+ PARSER = new com.google.protobuf.AbstractParser<SaveCommentLogRequest>() {
|
|
|
+ public SaveCommentLogRequest parsePartialFrom(
|
|
|
+ com.google.protobuf.CodedInputStream input,
|
|
|
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
+ throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
+ return new SaveCommentLogRequest(input, extensionRegistry);
|
|
|
+ }
|
|
|
+ };
|
|
|
+
|
|
|
+ public static com.google.protobuf.Parser<SaveCommentLogRequest> parser() {
|
|
|
+ return PARSER;
|
|
|
+ }
|
|
|
+
|
|
|
+ @java.lang.Override
|
|
|
+ public com.google.protobuf.Parser<SaveCommentLogRequest> getParserForType() {
|
|
|
+ return PARSER;
|
|
|
+ }
|
|
|
+
|
|
|
+ public com.ywt.gapi.base.log.SaveCommentLogRequest getDefaultInstanceForType() {
|
|
|
+ return DEFAULT_INSTANCE;
|
|
|
+ }
|
|
|
+
|
|
|
+}
|
|
|
+
|