// Generated by the protocol buffer compiler. DO NOT EDIT! // source: core/uic.proto package com.akaxin.proto.core; public final class UicProto { private UicProto() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { registerAllExtensions( (com.google.protobuf.ExtensionRegistryLite) registry); } /** * Protobuf enum {@code core.UicStatus} */ public enum UicStatus implements com.google.protobuf.ProtocolMessageEnum { /** *
     *未使用的的
     * 
* * UNUSED = 0; */ UNUSED(0), /** *
     *已经使用的
     * 
* * USED = 1; */ USED(1), /** *
     *失效的
     * 
* * INVALIDATION = 2; */ INVALIDATION(2), UNRECOGNIZED(-1), ; /** *
     *未使用的的
     * 
* * UNUSED = 0; */ public static final int UNUSED_VALUE = 0; /** *
     *已经使用的
     * 
* * USED = 1; */ public static final int USED_VALUE = 1; /** *
     *失效的
     * 
* * INVALIDATION = 2; */ public static final int INVALIDATION_VALUE = 2; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static UicStatus valueOf(int value) { return forNumber(value); } public static UicStatus forNumber(int value) { switch (value) { case 0: return UNUSED; case 1: return USED; case 2: return INVALIDATION; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< UicStatus> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public UicStatus findValueByNumber(int number) { return UicStatus.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.akaxin.proto.core.UicProto.getDescriptor().getEnumTypes().get(0); } private static final UicStatus[] VALUES = values(); public static UicStatus valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private UicStatus(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:core.UicStatus) } public interface UicInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:core.UicInfo) com.google.protobuf.MessageOrBuilder { /** *
     *uic_id
     * 
* * int32 id = 1; */ int getId(); /** *
     *uic
     * 
* * string uic = 2; */ java.lang.String getUic(); /** *
     *uic
     * 
* * string uic = 2; */ com.google.protobuf.ByteString getUicBytes(); /** *
     *用户id
     * 
* * string site_user_id = 3; */ java.lang.String getSiteUserId(); /** *
     *用户id
     * 
* * string site_user_id = 3; */ com.google.protobuf.ByteString getSiteUserIdBytes(); /** *
     *用户名称
     * 
* * string user_name = 4; */ java.lang.String getUserName(); /** *
     *用户名称
     * 
* * string user_name = 4; */ com.google.protobuf.ByteString getUserNameBytes(); /** *
     *是否可用的状态
     * 
* * .core.UicStatus status = 5; */ int getStatusValue(); /** *
     *是否可用的状态
     * 
* * .core.UicStatus status = 5; */ com.akaxin.proto.core.UicProto.UicStatus getStatus(); /** *
     *生成的时间
     * 
* * int64 create_time = 6; */ long getCreateTime(); /** *
     *使用的时间
     * 
* * int64 use_time = 7; */ long getUseTime(); } /** *
   *最简单的用户信息,用于给别人呈现
   * 
* * Protobuf type {@code core.UicInfo} */ public static final class UicInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:core.UicInfo) UicInfoOrBuilder { private static final long serialVersionUID = 0L; // Use UicInfo.newBuilder() to construct. private UicInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UicInfo() { id_ = 0; uic_ = ""; siteUserId_ = ""; userName_ = ""; status_ = 0; createTime_ = 0L; useTime_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UicInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { id_ = input.readInt32(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); uic_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); siteUserId_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); userName_ = s; break; } case 40: { int rawValue = input.readEnum(); status_ = rawValue; break; } case 48: { createTime_ = input.readInt64(); break; } case 56: { useTime_ = input.readInt64(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.akaxin.proto.core.UicProto.internal_static_core_UicInfo_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.akaxin.proto.core.UicProto.internal_static_core_UicInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.akaxin.proto.core.UicProto.UicInfo.class, com.akaxin.proto.core.UicProto.UicInfo.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private int id_; /** *
     *uic_id
     * 
* * int32 id = 1; */ public int getId() { return id_; } public static final int UIC_FIELD_NUMBER = 2; private volatile java.lang.Object uic_; /** *
     *uic
     * 
* * string uic = 2; */ public java.lang.String getUic() { java.lang.Object ref = uic_; 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(); uic_ = s; return s; } } /** *
     *uic
     * 
* * string uic = 2; */ public com.google.protobuf.ByteString getUicBytes() { java.lang.Object ref = uic_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); uic_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SITE_USER_ID_FIELD_NUMBER = 3; private volatile java.lang.Object siteUserId_; /** *
     *用户id
     * 
* * string site_user_id = 3; */ public java.lang.String getSiteUserId() { java.lang.Object ref = siteUserId_; 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(); siteUserId_ = s; return s; } } /** *
     *用户id
     * 
* * string site_user_id = 3; */ public com.google.protobuf.ByteString getSiteUserIdBytes() { java.lang.Object ref = siteUserId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); siteUserId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int USER_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object userName_; /** *
     *用户名称
     * 
* * string user_name = 4; */ public java.lang.String getUserName() { java.lang.Object ref = userName_; 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(); userName_ = s; return s; } } /** *
     *用户名称
     * 
* * string user_name = 4; */ public com.google.protobuf.ByteString getUserNameBytes() { java.lang.Object ref = userName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATUS_FIELD_NUMBER = 5; private int status_; /** *
     *是否可用的状态
     * 
* * .core.UicStatus status = 5; */ public int getStatusValue() { return status_; } /** *
     *是否可用的状态
     * 
* * .core.UicStatus status = 5; */ public com.akaxin.proto.core.UicProto.UicStatus getStatus() { com.akaxin.proto.core.UicProto.UicStatus result = com.akaxin.proto.core.UicProto.UicStatus.valueOf(status_); return result == null ? com.akaxin.proto.core.UicProto.UicStatus.UNRECOGNIZED : result; } public static final int CREATE_TIME_FIELD_NUMBER = 6; private long createTime_; /** *
     *生成的时间
     * 
* * int64 create_time = 6; */ public long getCreateTime() { return createTime_; } public static final int USE_TIME_FIELD_NUMBER = 7; private long useTime_; /** *
     *使用的时间
     * 
* * int64 use_time = 7; */ public long getUseTime() { return useTime_; } 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 (id_ != 0) { output.writeInt32(1, id_); } if (!getUicBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uic_); } if (!getSiteUserIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, siteUserId_); } if (!getUserNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, userName_); } if (status_ != com.akaxin.proto.core.UicProto.UicStatus.UNUSED.getNumber()) { output.writeEnum(5, status_); } if (createTime_ != 0L) { output.writeInt64(6, createTime_); } if (useTime_ != 0L) { output.writeInt64(7, useTime_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (id_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, id_); } if (!getUicBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, uic_); } if (!getSiteUserIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, siteUserId_); } if (!getUserNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, userName_); } if (status_ != com.akaxin.proto.core.UicProto.UicStatus.UNUSED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, status_); } if (createTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, createTime_); } if (useTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, useTime_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.akaxin.proto.core.UicProto.UicInfo)) { return super.equals(obj); } com.akaxin.proto.core.UicProto.UicInfo other = (com.akaxin.proto.core.UicProto.UicInfo) obj; boolean result = true; result = result && (getId() == other.getId()); result = result && getUic() .equals(other.getUic()); result = result && getSiteUserId() .equals(other.getSiteUserId()); result = result && getUserName() .equals(other.getUserName()); result = result && status_ == other.status_; result = result && (getCreateTime() == other.getCreateTime()); result = result && (getUseTime() == other.getUseTime()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId(); hash = (37 * hash) + UIC_FIELD_NUMBER; hash = (53 * hash) + getUic().hashCode(); hash = (37 * hash) + SITE_USER_ID_FIELD_NUMBER; hash = (53 * hash) + getSiteUserId().hashCode(); hash = (37 * hash) + USER_NAME_FIELD_NUMBER; hash = (53 * hash) + getUserName().hashCode(); hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCreateTime()); hash = (37 * hash) + USE_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getUseTime()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.akaxin.proto.core.UicProto.UicInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.akaxin.proto.core.UicProto.UicInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.akaxin.proto.core.UicProto.UicInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.akaxin.proto.core.UicProto.UicInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.akaxin.proto.core.UicProto.UicInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.akaxin.proto.core.UicProto.UicInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.akaxin.proto.core.UicProto.UicInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.akaxin.proto.core.UicProto.UicInfo 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.akaxin.proto.core.UicProto.UicInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.akaxin.proto.core.UicProto.UicInfo 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.akaxin.proto.core.UicProto.UicInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.akaxin.proto.core.UicProto.UicInfo 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.akaxin.proto.core.UicProto.UicInfo 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; } /** *
     *最简单的用户信息,用于给别人呈现
     * 
* * Protobuf type {@code core.UicInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:core.UicInfo) com.akaxin.proto.core.UicProto.UicInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.akaxin.proto.core.UicProto.internal_static_core_UicInfo_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.akaxin.proto.core.UicProto.internal_static_core_UicInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( com.akaxin.proto.core.UicProto.UicInfo.class, com.akaxin.proto.core.UicProto.UicInfo.Builder.class); } // Construct using com.akaxin.proto.core.UicProto.UicInfo.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(); id_ = 0; uic_ = ""; siteUserId_ = ""; userName_ = ""; status_ = 0; createTime_ = 0L; useTime_ = 0L; return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.akaxin.proto.core.UicProto.internal_static_core_UicInfo_descriptor; } public com.akaxin.proto.core.UicProto.UicInfo getDefaultInstanceForType() { return com.akaxin.proto.core.UicProto.UicInfo.getDefaultInstance(); } public com.akaxin.proto.core.UicProto.UicInfo build() { com.akaxin.proto.core.UicProto.UicInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.akaxin.proto.core.UicProto.UicInfo buildPartial() { com.akaxin.proto.core.UicProto.UicInfo result = new com.akaxin.proto.core.UicProto.UicInfo(this); result.id_ = id_; result.uic_ = uic_; result.siteUserId_ = siteUserId_; result.userName_ = userName_; result.status_ = status_; result.createTime_ = createTime_; result.useTime_ = useTime_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.akaxin.proto.core.UicProto.UicInfo) { return mergeFrom((com.akaxin.proto.core.UicProto.UicInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.akaxin.proto.core.UicProto.UicInfo other) { if (other == com.akaxin.proto.core.UicProto.UicInfo.getDefaultInstance()) return this; if (other.getId() != 0) { setId(other.getId()); } if (!other.getUic().isEmpty()) { uic_ = other.uic_; onChanged(); } if (!other.getSiteUserId().isEmpty()) { siteUserId_ = other.siteUserId_; onChanged(); } if (!other.getUserName().isEmpty()) { userName_ = other.userName_; onChanged(); } if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } if (other.getCreateTime() != 0L) { setCreateTime(other.getCreateTime()); } if (other.getUseTime() != 0L) { setUseTime(other.getUseTime()); } this.mergeUnknownFields(other.unknownFields); 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.akaxin.proto.core.UicProto.UicInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.akaxin.proto.core.UicProto.UicInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int id_ ; /** *
       *uic_id
       * 
* * int32 id = 1; */ public int getId() { return id_; } /** *
       *uic_id
       * 
* * int32 id = 1; */ public Builder setId(int value) { id_ = value; onChanged(); return this; } /** *
       *uic_id
       * 
* * int32 id = 1; */ public Builder clearId() { id_ = 0; onChanged(); return this; } private java.lang.Object uic_ = ""; /** *
       *uic
       * 
* * string uic = 2; */ public java.lang.String getUic() { java.lang.Object ref = uic_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uic_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *uic
       * 
* * string uic = 2; */ public com.google.protobuf.ByteString getUicBytes() { java.lang.Object ref = uic_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); uic_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *uic
       * 
* * string uic = 2; */ public Builder setUic( java.lang.String value) { if (value == null) { throw new NullPointerException(); } uic_ = value; onChanged(); return this; } /** *
       *uic
       * 
* * string uic = 2; */ public Builder clearUic() { uic_ = getDefaultInstance().getUic(); onChanged(); return this; } /** *
       *uic
       * 
* * string uic = 2; */ public Builder setUicBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uic_ = value; onChanged(); return this; } private java.lang.Object siteUserId_ = ""; /** *
       *用户id
       * 
* * string site_user_id = 3; */ public java.lang.String getSiteUserId() { java.lang.Object ref = siteUserId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); siteUserId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *用户id
       * 
* * string site_user_id = 3; */ public com.google.protobuf.ByteString getSiteUserIdBytes() { java.lang.Object ref = siteUserId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); siteUserId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *用户id
       * 
* * string site_user_id = 3; */ public Builder setSiteUserId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } siteUserId_ = value; onChanged(); return this; } /** *
       *用户id
       * 
* * string site_user_id = 3; */ public Builder clearSiteUserId() { siteUserId_ = getDefaultInstance().getSiteUserId(); onChanged(); return this; } /** *
       *用户id
       * 
* * string site_user_id = 3; */ public Builder setSiteUserIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); siteUserId_ = value; onChanged(); return this; } private java.lang.Object userName_ = ""; /** *
       *用户名称
       * 
* * string user_name = 4; */ public java.lang.String getUserName() { java.lang.Object ref = userName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       *用户名称
       * 
* * string user_name = 4; */ public com.google.protobuf.ByteString getUserNameBytes() { java.lang.Object ref = userName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       *用户名称
       * 
* * string user_name = 4; */ public Builder setUserName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userName_ = value; onChanged(); return this; } /** *
       *用户名称
       * 
* * string user_name = 4; */ public Builder clearUserName() { userName_ = getDefaultInstance().getUserName(); onChanged(); return this; } /** *
       *用户名称
       * 
* * string user_name = 4; */ public Builder setUserNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userName_ = value; onChanged(); return this; } private int status_ = 0; /** *
       *是否可用的状态
       * 
* * .core.UicStatus status = 5; */ public int getStatusValue() { return status_; } /** *
       *是否可用的状态
       * 
* * .core.UicStatus status = 5; */ public Builder setStatusValue(int value) { status_ = value; onChanged(); return this; } /** *
       *是否可用的状态
       * 
* * .core.UicStatus status = 5; */ public com.akaxin.proto.core.UicProto.UicStatus getStatus() { com.akaxin.proto.core.UicProto.UicStatus result = com.akaxin.proto.core.UicProto.UicStatus.valueOf(status_); return result == null ? com.akaxin.proto.core.UicProto.UicStatus.UNRECOGNIZED : result; } /** *
       *是否可用的状态
       * 
* * .core.UicStatus status = 5; */ public Builder setStatus(com.akaxin.proto.core.UicProto.UicStatus value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /** *
       *是否可用的状态
       * 
* * .core.UicStatus status = 5; */ public Builder clearStatus() { status_ = 0; onChanged(); return this; } private long createTime_ ; /** *
       *生成的时间
       * 
* * int64 create_time = 6; */ public long getCreateTime() { return createTime_; } /** *
       *生成的时间
       * 
* * int64 create_time = 6; */ public Builder setCreateTime(long value) { createTime_ = value; onChanged(); return this; } /** *
       *生成的时间
       * 
* * int64 create_time = 6; */ public Builder clearCreateTime() { createTime_ = 0L; onChanged(); return this; } private long useTime_ ; /** *
       *使用的时间
       * 
* * int64 use_time = 7; */ public long getUseTime() { return useTime_; } /** *
       *使用的时间
       * 
* * int64 use_time = 7; */ public Builder setUseTime(long value) { useTime_ = value; onChanged(); return this; } /** *
       *使用的时间
       * 
* * int64 use_time = 7; */ public Builder clearUseTime() { useTime_ = 0L; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:core.UicInfo) } // @@protoc_insertion_point(class_scope:core.UicInfo) private static final com.akaxin.proto.core.UicProto.UicInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.akaxin.proto.core.UicProto.UicInfo(); } public static com.akaxin.proto.core.UicProto.UicInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public UicInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UicInfo(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.akaxin.proto.core.UicProto.UicInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_core_UicInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_core_UicInfo_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\016core/uic.proto\022\004core\"\223\001\n\007UicInfo\022\n\n\002id" + "\030\001 \001(\005\022\013\n\003uic\030\002 \001(\t\022\024\n\014site_user_id\030\003 \001(" + "\t\022\021\n\tuser_name\030\004 \001(\t\022\037\n\006status\030\005 \001(\0162\017.c" + "ore.UicStatus\022\023\n\013create_time\030\006 \001(\003\022\020\n\010us" + "e_time\030\007 \001(\003*3\n\tUicStatus\022\n\n\006UNUSED\020\000\022\010\n" + "\004USED\020\001\022\020\n\014INVALIDATION\020\002B!\n\025com.akaxin." + "proto.coreB\010UicProtob\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); internal_static_core_UicInfo_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_core_UicInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_core_UicInfo_descriptor, new java.lang.String[] { "Id", "Uic", "SiteUserId", "UserName", "Status", "CreateTime", "UseTime", }); } // @@protoc_insertion_point(outer_class_scope) }