// Generated by the protocol buffer compiler. DO NOT EDIT! // source: site/api_group_addMember.proto package com.akaxin.proto.site; public final class ApiGroupAddMemberProto { private ApiGroupAddMemberProto() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { registerAllExtensions( (com.google.protobuf.ExtensionRegistryLite) registry); } public interface ApiGroupAddMemberRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:site.ApiGroupAddMemberRequest) com.google.protobuf.MessageOrBuilder { /** *
*群组ID ** *
string group_id = 1;
*/
java.lang.String getGroupId();
/**
* *群组ID ** *
string group_id = 1;
*/
com.google.protobuf.ByteString
getGroupIdBytes();
/**
* *群组中需要增加的用户ID ** *
repeated string user_list = 2;
*/
java.util.List*群组中需要增加的用户ID ** *
repeated string user_list = 2;
*/
int getUserListCount();
/**
* *群组中需要增加的用户ID ** *
repeated string user_list = 2;
*/
java.lang.String getUserList(int index);
/**
* *群组中需要增加的用户ID ** *
repeated string user_list = 2;
*/
com.google.protobuf.ByteString
getUserListBytes(int index);
}
/**
* Protobuf type {@code site.ApiGroupAddMemberRequest}
*/
public static final class ApiGroupAddMemberRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:site.ApiGroupAddMemberRequest)
ApiGroupAddMemberRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ApiGroupAddMemberRequest.newBuilder() to construct.
private ApiGroupAddMemberRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ApiGroupAddMemberRequest() {
groupId_ = "";
userList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ApiGroupAddMemberRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
groupId_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
userList_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
userList_.add(s);
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
userList_ = userList_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akaxin.proto.site.ApiGroupAddMemberProto.internal_static_site_ApiGroupAddMemberRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akaxin.proto.site.ApiGroupAddMemberProto.internal_static_site_ApiGroupAddMemberRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akaxin.proto.site.ApiGroupAddMemberProto.ApiGroupAddMemberRequest.class, com.akaxin.proto.site.ApiGroupAddMemberProto.ApiGroupAddMemberRequest.Builder.class);
}
private int bitField0_;
public static final int GROUP_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object groupId_;
/**
* *群组ID ** *
string group_id = 1;
*/
public java.lang.String getGroupId() {
java.lang.Object ref = groupId_;
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();
groupId_ = s;
return s;
}
}
/**
* *群组ID ** *
string group_id = 1;
*/
public com.google.protobuf.ByteString
getGroupIdBytes() {
java.lang.Object ref = groupId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
groupId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int USER_LIST_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList userList_;
/**
* *群组中需要增加的用户ID ** *
repeated string user_list = 2;
*/
public com.google.protobuf.ProtocolStringList
getUserListList() {
return userList_;
}
/**
* *群组中需要增加的用户ID ** *
repeated string user_list = 2;
*/
public int getUserListCount() {
return userList_.size();
}
/**
* *群组中需要增加的用户ID ** *
repeated string user_list = 2;
*/
public java.lang.String getUserList(int index) {
return userList_.get(index);
}
/**
* *群组中需要增加的用户ID ** *
repeated string user_list = 2;
*/
public com.google.protobuf.ByteString
getUserListBytes(int index) {
return userList_.getByteString(index);
}
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 (!getGroupIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupId_);
}
for (int i = 0; i < userList_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, userList_.getRaw(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getGroupIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, groupId_);
}
{
int dataSize = 0;
for (int i = 0; i < userList_.size(); i++) {
dataSize += computeStringSizeNoTag(userList_.getRaw(i));
}
size += dataSize;
size += 1 * getUserListList().size();
}
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.site.ApiGroupAddMemberProto.ApiGroupAddMemberRequest)) {
return super.equals(obj);
}
com.akaxin.proto.site.ApiGroupAddMemberProto.ApiGroupAddMemberRequest other = (com.akaxin.proto.site.ApiGroupAddMemberProto.ApiGroupAddMemberRequest) obj;
boolean result = true;
result = result && getGroupId()
.equals(other.getGroupId());
result = result && getUserListList()
.equals(other.getUserListList());
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) + GROUP_ID_FIELD_NUMBER;
hash = (53 * hash) + getGroupId().hashCode();
if (getUserListCount() > 0) {
hash = (37 * hash) + USER_LIST_FIELD_NUMBER;
hash = (53 * hash) + getUserListList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.akaxin.proto.site.ApiGroupAddMemberProto.ApiGroupAddMemberRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiGroupAddMemberProto.ApiGroupAddMemberRequest 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.site.ApiGroupAddMemberProto.ApiGroupAddMemberRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiGroupAddMemberProto.ApiGroupAddMemberRequest 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.site.ApiGroupAddMemberProto.ApiGroupAddMemberRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiGroupAddMemberProto.ApiGroupAddMemberRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akaxin.proto.site.ApiGroupAddMemberProto.ApiGroupAddMemberRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiGroupAddMemberProto.ApiGroupAddMemberRequest 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.site.ApiGroupAddMemberProto.ApiGroupAddMemberRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiGroupAddMemberProto.ApiGroupAddMemberRequest 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.site.ApiGroupAddMemberProto.ApiGroupAddMemberRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiGroupAddMemberProto.ApiGroupAddMemberRequest 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.site.ApiGroupAddMemberProto.ApiGroupAddMemberRequest 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 site.ApiGroupAddMemberRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder*群组ID ** *
string group_id = 1;
*/
public java.lang.String getGroupId() {
java.lang.Object ref = groupId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
groupId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* *群组ID ** *
string group_id = 1;
*/
public com.google.protobuf.ByteString
getGroupIdBytes() {
java.lang.Object ref = groupId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
groupId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* *群组ID ** *
string group_id = 1;
*/
public Builder setGroupId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
groupId_ = value;
onChanged();
return this;
}
/**
* *群组ID ** *
string group_id = 1;
*/
public Builder clearGroupId() {
groupId_ = getDefaultInstance().getGroupId();
onChanged();
return this;
}
/**
* *群组ID ** *
string group_id = 1;
*/
public Builder setGroupIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
groupId_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList userList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureUserListIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
userList_ = new com.google.protobuf.LazyStringArrayList(userList_);
bitField0_ |= 0x00000002;
}
}
/**
* *群组中需要增加的用户ID ** *
repeated string user_list = 2;
*/
public com.google.protobuf.ProtocolStringList
getUserListList() {
return userList_.getUnmodifiableView();
}
/**
* *群组中需要增加的用户ID ** *
repeated string user_list = 2;
*/
public int getUserListCount() {
return userList_.size();
}
/**
* *群组中需要增加的用户ID ** *
repeated string user_list = 2;
*/
public java.lang.String getUserList(int index) {
return userList_.get(index);
}
/**
* *群组中需要增加的用户ID ** *
repeated string user_list = 2;
*/
public com.google.protobuf.ByteString
getUserListBytes(int index) {
return userList_.getByteString(index);
}
/**
* *群组中需要增加的用户ID ** *
repeated string user_list = 2;
*/
public Builder setUserList(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureUserListIsMutable();
userList_.set(index, value);
onChanged();
return this;
}
/**
* *群组中需要增加的用户ID ** *
repeated string user_list = 2;
*/
public Builder addUserList(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureUserListIsMutable();
userList_.add(value);
onChanged();
return this;
}
/**
* *群组中需要增加的用户ID ** *
repeated string user_list = 2;
*/
public Builder addAllUserList(
java.lang.Iterable*群组中需要增加的用户ID ** *
repeated string user_list = 2;
*/
public Builder clearUserList() {
userList_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* *群组中需要增加的用户ID ** *
repeated string user_list = 2;
*/
public Builder addUserListBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureUserListIsMutable();
userList_.add(value);
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:site.ApiGroupAddMemberRequest)
}
// @@protoc_insertion_point(class_scope:site.ApiGroupAddMemberRequest)
private static final com.akaxin.proto.site.ApiGroupAddMemberProto.ApiGroupAddMemberRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.akaxin.proto.site.ApiGroupAddMemberProto.ApiGroupAddMemberRequest();
}
public static com.akaxin.proto.site.ApiGroupAddMemberProto.ApiGroupAddMemberRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser