1364 lines
50 KiB
Java
1364 lines
50 KiB
Java
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|||
|
// source: site/api_group_updateProfile.proto
|
|||
|
|
|||
|
package com.akaxin.proto.site;
|
|||
|
|
|||
|
public final class ApiGroupUpdateProfileProto {
|
|||
|
private ApiGroupUpdateProfileProto() {}
|
|||
|
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 ApiGroupUpdateProfileRequestOrBuilder extends
|
|||
|
// @@protoc_insertion_point(interface_extends:site.ApiGroupUpdateProfileRequest)
|
|||
|
com.google.protobuf.MessageOrBuilder {
|
|||
|
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*需要更新的群组资料
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.GroupProfile profile = 1;</code>
|
|||
|
*/
|
|||
|
boolean hasProfile();
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*需要更新的群组资料
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.GroupProfile profile = 1;</code>
|
|||
|
*/
|
|||
|
com.akaxin.proto.core.GroupProto.GroupProfile getProfile();
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*需要更新的群组资料
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.GroupProfile profile = 1;</code>
|
|||
|
*/
|
|||
|
com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder getProfileOrBuilder();
|
|||
|
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*新的群主
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string new_group_owner = 2;</code>
|
|||
|
*/
|
|||
|
java.lang.String getNewGroupOwner();
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*新的群主
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string new_group_owner = 2;</code>
|
|||
|
*/
|
|||
|
com.google.protobuf.ByteString
|
|||
|
getNewGroupOwnerBytes();
|
|||
|
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*是否关闭群聊邀请 true:打开 false:关闭
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>bool close_invite_group_chat = 3;</code>
|
|||
|
*/
|
|||
|
boolean getCloseInviteGroupChat();
|
|||
|
}
|
|||
|
/**
|
|||
|
* Protobuf type {@code site.ApiGroupUpdateProfileRequest}
|
|||
|
*/
|
|||
|
public static final class ApiGroupUpdateProfileRequest extends
|
|||
|
com.google.protobuf.GeneratedMessageV3 implements
|
|||
|
// @@protoc_insertion_point(message_implements:site.ApiGroupUpdateProfileRequest)
|
|||
|
ApiGroupUpdateProfileRequestOrBuilder {
|
|||
|
private static final long serialVersionUID = 0L;
|
|||
|
// Use ApiGroupUpdateProfileRequest.newBuilder() to construct.
|
|||
|
private ApiGroupUpdateProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|||
|
super(builder);
|
|||
|
}
|
|||
|
private ApiGroupUpdateProfileRequest() {
|
|||
|
newGroupOwner_ = "";
|
|||
|
closeInviteGroupChat_ = false;
|
|||
|
}
|
|||
|
|
|||
|
@java.lang.Override
|
|||
|
public final com.google.protobuf.UnknownFieldSet
|
|||
|
getUnknownFields() {
|
|||
|
return this.unknownFields;
|
|||
|
}
|
|||
|
private ApiGroupUpdateProfileRequest(
|
|||
|
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: {
|
|||
|
com.akaxin.proto.core.GroupProto.GroupProfile.Builder subBuilder = null;
|
|||
|
if (profile_ != null) {
|
|||
|
subBuilder = profile_.toBuilder();
|
|||
|
}
|
|||
|
profile_ = input.readMessage(com.akaxin.proto.core.GroupProto.GroupProfile.parser(), extensionRegistry);
|
|||
|
if (subBuilder != null) {
|
|||
|
subBuilder.mergeFrom(profile_);
|
|||
|
profile_ = subBuilder.buildPartial();
|
|||
|
}
|
|||
|
|
|||
|
break;
|
|||
|
}
|
|||
|
case 18: {
|
|||
|
java.lang.String s = input.readStringRequireUtf8();
|
|||
|
|
|||
|
newGroupOwner_ = s;
|
|||
|
break;
|
|||
|
}
|
|||
|
case 24: {
|
|||
|
|
|||
|
closeInviteGroupChat_ = input.readBool();
|
|||
|
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.site.ApiGroupUpdateProfileProto.internal_static_site_ApiGroupUpdateProfileRequest_descriptor;
|
|||
|
}
|
|||
|
|
|||
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|||
|
internalGetFieldAccessorTable() {
|
|||
|
return com.akaxin.proto.site.ApiGroupUpdateProfileProto.internal_static_site_ApiGroupUpdateProfileRequest_fieldAccessorTable
|
|||
|
.ensureFieldAccessorsInitialized(
|
|||
|
com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest.class, com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest.Builder.class);
|
|||
|
}
|
|||
|
|
|||
|
public static final int PROFILE_FIELD_NUMBER = 1;
|
|||
|
private com.akaxin.proto.core.GroupProto.GroupProfile profile_;
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*需要更新的群组资料
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.GroupProfile profile = 1;</code>
|
|||
|
*/
|
|||
|
public boolean hasProfile() {
|
|||
|
return profile_ != null;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*需要更新的群组资料
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.GroupProfile profile = 1;</code>
|
|||
|
*/
|
|||
|
public com.akaxin.proto.core.GroupProto.GroupProfile getProfile() {
|
|||
|
return profile_ == null ? com.akaxin.proto.core.GroupProto.GroupProfile.getDefaultInstance() : profile_;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*需要更新的群组资料
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.GroupProfile profile = 1;</code>
|
|||
|
*/
|
|||
|
public com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder getProfileOrBuilder() {
|
|||
|
return getProfile();
|
|||
|
}
|
|||
|
|
|||
|
public static final int NEW_GROUP_OWNER_FIELD_NUMBER = 2;
|
|||
|
private volatile java.lang.Object newGroupOwner_;
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*新的群主
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string new_group_owner = 2;</code>
|
|||
|
*/
|
|||
|
public java.lang.String getNewGroupOwner() {
|
|||
|
java.lang.Object ref = newGroupOwner_;
|
|||
|
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();
|
|||
|
newGroupOwner_ = s;
|
|||
|
return s;
|
|||
|
}
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*新的群主
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string new_group_owner = 2;</code>
|
|||
|
*/
|
|||
|
public com.google.protobuf.ByteString
|
|||
|
getNewGroupOwnerBytes() {
|
|||
|
java.lang.Object ref = newGroupOwner_;
|
|||
|
if (ref instanceof java.lang.String) {
|
|||
|
com.google.protobuf.ByteString b =
|
|||
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|||
|
(java.lang.String) ref);
|
|||
|
newGroupOwner_ = b;
|
|||
|
return b;
|
|||
|
} else {
|
|||
|
return (com.google.protobuf.ByteString) ref;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public static final int CLOSE_INVITE_GROUP_CHAT_FIELD_NUMBER = 3;
|
|||
|
private boolean closeInviteGroupChat_;
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*是否关闭群聊邀请 true:打开 false:关闭
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>bool close_invite_group_chat = 3;</code>
|
|||
|
*/
|
|||
|
public boolean getCloseInviteGroupChat() {
|
|||
|
return closeInviteGroupChat_;
|
|||
|
}
|
|||
|
|
|||
|
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 (profile_ != null) {
|
|||
|
output.writeMessage(1, getProfile());
|
|||
|
}
|
|||
|
if (!getNewGroupOwnerBytes().isEmpty()) {
|
|||
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, newGroupOwner_);
|
|||
|
}
|
|||
|
if (closeInviteGroupChat_ != false) {
|
|||
|
output.writeBool(3, closeInviteGroupChat_);
|
|||
|
}
|
|||
|
unknownFields.writeTo(output);
|
|||
|
}
|
|||
|
|
|||
|
public int getSerializedSize() {
|
|||
|
int size = memoizedSize;
|
|||
|
if (size != -1) return size;
|
|||
|
|
|||
|
size = 0;
|
|||
|
if (profile_ != null) {
|
|||
|
size += com.google.protobuf.CodedOutputStream
|
|||
|
.computeMessageSize(1, getProfile());
|
|||
|
}
|
|||
|
if (!getNewGroupOwnerBytes().isEmpty()) {
|
|||
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, newGroupOwner_);
|
|||
|
}
|
|||
|
if (closeInviteGroupChat_ != false) {
|
|||
|
size += com.google.protobuf.CodedOutputStream
|
|||
|
.computeBoolSize(3, closeInviteGroupChat_);
|
|||
|
}
|
|||
|
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.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest)) {
|
|||
|
return super.equals(obj);
|
|||
|
}
|
|||
|
com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest other = (com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest) obj;
|
|||
|
|
|||
|
boolean result = true;
|
|||
|
result = result && (hasProfile() == other.hasProfile());
|
|||
|
if (hasProfile()) {
|
|||
|
result = result && getProfile()
|
|||
|
.equals(other.getProfile());
|
|||
|
}
|
|||
|
result = result && getNewGroupOwner()
|
|||
|
.equals(other.getNewGroupOwner());
|
|||
|
result = result && (getCloseInviteGroupChat()
|
|||
|
== other.getCloseInviteGroupChat());
|
|||
|
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();
|
|||
|
if (hasProfile()) {
|
|||
|
hash = (37 * hash) + PROFILE_FIELD_NUMBER;
|
|||
|
hash = (53 * hash) + getProfile().hashCode();
|
|||
|
}
|
|||
|
hash = (37 * hash) + NEW_GROUP_OWNER_FIELD_NUMBER;
|
|||
|
hash = (53 * hash) + getNewGroupOwner().hashCode();
|
|||
|
hash = (37 * hash) + CLOSE_INVITE_GROUP_CHAT_FIELD_NUMBER;
|
|||
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
|||
|
getCloseInviteGroupChat());
|
|||
|
hash = (29 * hash) + unknownFields.hashCode();
|
|||
|
memoizedHashCode = hash;
|
|||
|
return hash;
|
|||
|
}
|
|||
|
|
|||
|
public static com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest parseFrom(
|
|||
|
java.nio.ByteBuffer data)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest 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.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest parseFrom(
|
|||
|
com.google.protobuf.ByteString data)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest 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.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest parseFrom(byte[] data)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest parseFrom(
|
|||
|
byte[] data,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data, extensionRegistry);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest parseFrom(java.io.InputStream input)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseWithIOException(PARSER, input);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest 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.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest parseDelimitedFrom(java.io.InputStream input)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseDelimitedWithIOException(PARSER, input);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest 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.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest parseFrom(
|
|||
|
com.google.protobuf.CodedInputStream input)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseWithIOException(PARSER, input);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest 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.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest 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.ApiGroupUpdateProfileRequest}
|
|||
|
*/
|
|||
|
public static final class Builder extends
|
|||
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|||
|
// @@protoc_insertion_point(builder_implements:site.ApiGroupUpdateProfileRequest)
|
|||
|
com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequestOrBuilder {
|
|||
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|||
|
getDescriptor() {
|
|||
|
return com.akaxin.proto.site.ApiGroupUpdateProfileProto.internal_static_site_ApiGroupUpdateProfileRequest_descriptor;
|
|||
|
}
|
|||
|
|
|||
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|||
|
internalGetFieldAccessorTable() {
|
|||
|
return com.akaxin.proto.site.ApiGroupUpdateProfileProto.internal_static_site_ApiGroupUpdateProfileRequest_fieldAccessorTable
|
|||
|
.ensureFieldAccessorsInitialized(
|
|||
|
com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest.class, com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest.Builder.class);
|
|||
|
}
|
|||
|
|
|||
|
// Construct using com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest.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();
|
|||
|
if (profileBuilder_ == null) {
|
|||
|
profile_ = null;
|
|||
|
} else {
|
|||
|
profile_ = null;
|
|||
|
profileBuilder_ = null;
|
|||
|
}
|
|||
|
newGroupOwner_ = "";
|
|||
|
|
|||
|
closeInviteGroupChat_ = false;
|
|||
|
|
|||
|
return this;
|
|||
|
}
|
|||
|
|
|||
|
public com.google.protobuf.Descriptors.Descriptor
|
|||
|
getDescriptorForType() {
|
|||
|
return com.akaxin.proto.site.ApiGroupUpdateProfileProto.internal_static_site_ApiGroupUpdateProfileRequest_descriptor;
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest getDefaultInstanceForType() {
|
|||
|
return com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest.getDefaultInstance();
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest build() {
|
|||
|
com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest result = buildPartial();
|
|||
|
if (!result.isInitialized()) {
|
|||
|
throw newUninitializedMessageException(result);
|
|||
|
}
|
|||
|
return result;
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest buildPartial() {
|
|||
|
com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest result = new com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest(this);
|
|||
|
if (profileBuilder_ == null) {
|
|||
|
result.profile_ = profile_;
|
|||
|
} else {
|
|||
|
result.profile_ = profileBuilder_.build();
|
|||
|
}
|
|||
|
result.newGroupOwner_ = newGroupOwner_;
|
|||
|
result.closeInviteGroupChat_ = closeInviteGroupChat_;
|
|||
|
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.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest) {
|
|||
|
return mergeFrom((com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest)other);
|
|||
|
} else {
|
|||
|
super.mergeFrom(other);
|
|||
|
return this;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public Builder mergeFrom(com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest other) {
|
|||
|
if (other == com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest.getDefaultInstance()) return this;
|
|||
|
if (other.hasProfile()) {
|
|||
|
mergeProfile(other.getProfile());
|
|||
|
}
|
|||
|
if (!other.getNewGroupOwner().isEmpty()) {
|
|||
|
newGroupOwner_ = other.newGroupOwner_;
|
|||
|
onChanged();
|
|||
|
}
|
|||
|
if (other.getCloseInviteGroupChat() != false) {
|
|||
|
setCloseInviteGroupChat(other.getCloseInviteGroupChat());
|
|||
|
}
|
|||
|
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.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest parsedMessage = null;
|
|||
|
try {
|
|||
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|||
|
parsedMessage = (com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest) e.getUnfinishedMessage();
|
|||
|
throw e.unwrapIOException();
|
|||
|
} finally {
|
|||
|
if (parsedMessage != null) {
|
|||
|
mergeFrom(parsedMessage);
|
|||
|
}
|
|||
|
}
|
|||
|
return this;
|
|||
|
}
|
|||
|
|
|||
|
private com.akaxin.proto.core.GroupProto.GroupProfile profile_ = null;
|
|||
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|||
|
com.akaxin.proto.core.GroupProto.GroupProfile, com.akaxin.proto.core.GroupProto.GroupProfile.Builder, com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder> profileBuilder_;
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*需要更新的群组资料
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.GroupProfile profile = 1;</code>
|
|||
|
*/
|
|||
|
public boolean hasProfile() {
|
|||
|
return profileBuilder_ != null || profile_ != null;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*需要更新的群组资料
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.GroupProfile profile = 1;</code>
|
|||
|
*/
|
|||
|
public com.akaxin.proto.core.GroupProto.GroupProfile getProfile() {
|
|||
|
if (profileBuilder_ == null) {
|
|||
|
return profile_ == null ? com.akaxin.proto.core.GroupProto.GroupProfile.getDefaultInstance() : profile_;
|
|||
|
} else {
|
|||
|
return profileBuilder_.getMessage();
|
|||
|
}
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*需要更新的群组资料
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.GroupProfile profile = 1;</code>
|
|||
|
*/
|
|||
|
public Builder setProfile(com.akaxin.proto.core.GroupProto.GroupProfile value) {
|
|||
|
if (profileBuilder_ == null) {
|
|||
|
if (value == null) {
|
|||
|
throw new NullPointerException();
|
|||
|
}
|
|||
|
profile_ = value;
|
|||
|
onChanged();
|
|||
|
} else {
|
|||
|
profileBuilder_.setMessage(value);
|
|||
|
}
|
|||
|
|
|||
|
return this;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*需要更新的群组资料
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.GroupProfile profile = 1;</code>
|
|||
|
*/
|
|||
|
public Builder setProfile(
|
|||
|
com.akaxin.proto.core.GroupProto.GroupProfile.Builder builderForValue) {
|
|||
|
if (profileBuilder_ == null) {
|
|||
|
profile_ = builderForValue.build();
|
|||
|
onChanged();
|
|||
|
} else {
|
|||
|
profileBuilder_.setMessage(builderForValue.build());
|
|||
|
}
|
|||
|
|
|||
|
return this;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*需要更新的群组资料
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.GroupProfile profile = 1;</code>
|
|||
|
*/
|
|||
|
public Builder mergeProfile(com.akaxin.proto.core.GroupProto.GroupProfile value) {
|
|||
|
if (profileBuilder_ == null) {
|
|||
|
if (profile_ != null) {
|
|||
|
profile_ =
|
|||
|
com.akaxin.proto.core.GroupProto.GroupProfile.newBuilder(profile_).mergeFrom(value).buildPartial();
|
|||
|
} else {
|
|||
|
profile_ = value;
|
|||
|
}
|
|||
|
onChanged();
|
|||
|
} else {
|
|||
|
profileBuilder_.mergeFrom(value);
|
|||
|
}
|
|||
|
|
|||
|
return this;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*需要更新的群组资料
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.GroupProfile profile = 1;</code>
|
|||
|
*/
|
|||
|
public Builder clearProfile() {
|
|||
|
if (profileBuilder_ == null) {
|
|||
|
profile_ = null;
|
|||
|
onChanged();
|
|||
|
} else {
|
|||
|
profile_ = null;
|
|||
|
profileBuilder_ = null;
|
|||
|
}
|
|||
|
|
|||
|
return this;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*需要更新的群组资料
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.GroupProfile profile = 1;</code>
|
|||
|
*/
|
|||
|
public com.akaxin.proto.core.GroupProto.GroupProfile.Builder getProfileBuilder() {
|
|||
|
|
|||
|
onChanged();
|
|||
|
return getProfileFieldBuilder().getBuilder();
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*需要更新的群组资料
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.GroupProfile profile = 1;</code>
|
|||
|
*/
|
|||
|
public com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder getProfileOrBuilder() {
|
|||
|
if (profileBuilder_ != null) {
|
|||
|
return profileBuilder_.getMessageOrBuilder();
|
|||
|
} else {
|
|||
|
return profile_ == null ?
|
|||
|
com.akaxin.proto.core.GroupProto.GroupProfile.getDefaultInstance() : profile_;
|
|||
|
}
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*需要更新的群组资料
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>.core.GroupProfile profile = 1;</code>
|
|||
|
*/
|
|||
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|||
|
com.akaxin.proto.core.GroupProto.GroupProfile, com.akaxin.proto.core.GroupProto.GroupProfile.Builder, com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder>
|
|||
|
getProfileFieldBuilder() {
|
|||
|
if (profileBuilder_ == null) {
|
|||
|
profileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|||
|
com.akaxin.proto.core.GroupProto.GroupProfile, com.akaxin.proto.core.GroupProto.GroupProfile.Builder, com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder>(
|
|||
|
getProfile(),
|
|||
|
getParentForChildren(),
|
|||
|
isClean());
|
|||
|
profile_ = null;
|
|||
|
}
|
|||
|
return profileBuilder_;
|
|||
|
}
|
|||
|
|
|||
|
private java.lang.Object newGroupOwner_ = "";
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*新的群主
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string new_group_owner = 2;</code>
|
|||
|
*/
|
|||
|
public java.lang.String getNewGroupOwner() {
|
|||
|
java.lang.Object ref = newGroupOwner_;
|
|||
|
if (!(ref instanceof java.lang.String)) {
|
|||
|
com.google.protobuf.ByteString bs =
|
|||
|
(com.google.protobuf.ByteString) ref;
|
|||
|
java.lang.String s = bs.toStringUtf8();
|
|||
|
newGroupOwner_ = s;
|
|||
|
return s;
|
|||
|
} else {
|
|||
|
return (java.lang.String) ref;
|
|||
|
}
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*新的群主
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string new_group_owner = 2;</code>
|
|||
|
*/
|
|||
|
public com.google.protobuf.ByteString
|
|||
|
getNewGroupOwnerBytes() {
|
|||
|
java.lang.Object ref = newGroupOwner_;
|
|||
|
if (ref instanceof String) {
|
|||
|
com.google.protobuf.ByteString b =
|
|||
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|||
|
(java.lang.String) ref);
|
|||
|
newGroupOwner_ = b;
|
|||
|
return b;
|
|||
|
} else {
|
|||
|
return (com.google.protobuf.ByteString) ref;
|
|||
|
}
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*新的群主
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string new_group_owner = 2;</code>
|
|||
|
*/
|
|||
|
public Builder setNewGroupOwner(
|
|||
|
java.lang.String value) {
|
|||
|
if (value == null) {
|
|||
|
throw new NullPointerException();
|
|||
|
}
|
|||
|
|
|||
|
newGroupOwner_ = value;
|
|||
|
onChanged();
|
|||
|
return this;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*新的群主
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string new_group_owner = 2;</code>
|
|||
|
*/
|
|||
|
public Builder clearNewGroupOwner() {
|
|||
|
|
|||
|
newGroupOwner_ = getDefaultInstance().getNewGroupOwner();
|
|||
|
onChanged();
|
|||
|
return this;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*新的群主
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>string new_group_owner = 2;</code>
|
|||
|
*/
|
|||
|
public Builder setNewGroupOwnerBytes(
|
|||
|
com.google.protobuf.ByteString value) {
|
|||
|
if (value == null) {
|
|||
|
throw new NullPointerException();
|
|||
|
}
|
|||
|
checkByteStringIsUtf8(value);
|
|||
|
|
|||
|
newGroupOwner_ = value;
|
|||
|
onChanged();
|
|||
|
return this;
|
|||
|
}
|
|||
|
|
|||
|
private boolean closeInviteGroupChat_ ;
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*是否关闭群聊邀请 true:打开 false:关闭
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>bool close_invite_group_chat = 3;</code>
|
|||
|
*/
|
|||
|
public boolean getCloseInviteGroupChat() {
|
|||
|
return closeInviteGroupChat_;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*是否关闭群聊邀请 true:打开 false:关闭
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>bool close_invite_group_chat = 3;</code>
|
|||
|
*/
|
|||
|
public Builder setCloseInviteGroupChat(boolean value) {
|
|||
|
|
|||
|
closeInviteGroupChat_ = value;
|
|||
|
onChanged();
|
|||
|
return this;
|
|||
|
}
|
|||
|
/**
|
|||
|
* <pre>
|
|||
|
*是否关闭群聊邀请 true:打开 false:关闭
|
|||
|
* </pre>
|
|||
|
*
|
|||
|
* <code>bool close_invite_group_chat = 3;</code>
|
|||
|
*/
|
|||
|
public Builder clearCloseInviteGroupChat() {
|
|||
|
|
|||
|
closeInviteGroupChat_ = false;
|
|||
|
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.ApiGroupUpdateProfileRequest)
|
|||
|
}
|
|||
|
|
|||
|
// @@protoc_insertion_point(class_scope:site.ApiGroupUpdateProfileRequest)
|
|||
|
private static final com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest DEFAULT_INSTANCE;
|
|||
|
static {
|
|||
|
DEFAULT_INSTANCE = new com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest();
|
|||
|
}
|
|||
|
|
|||
|
public static com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest getDefaultInstance() {
|
|||
|
return DEFAULT_INSTANCE;
|
|||
|
}
|
|||
|
|
|||
|
private static final com.google.protobuf.Parser<ApiGroupUpdateProfileRequest>
|
|||
|
PARSER = new com.google.protobuf.AbstractParser<ApiGroupUpdateProfileRequest>() {
|
|||
|
public ApiGroupUpdateProfileRequest parsePartialFrom(
|
|||
|
com.google.protobuf.CodedInputStream input,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return new ApiGroupUpdateProfileRequest(input, extensionRegistry);
|
|||
|
}
|
|||
|
};
|
|||
|
|
|||
|
public static com.google.protobuf.Parser<ApiGroupUpdateProfileRequest> parser() {
|
|||
|
return PARSER;
|
|||
|
}
|
|||
|
|
|||
|
@java.lang.Override
|
|||
|
public com.google.protobuf.Parser<ApiGroupUpdateProfileRequest> getParserForType() {
|
|||
|
return PARSER;
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileRequest getDefaultInstanceForType() {
|
|||
|
return DEFAULT_INSTANCE;
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
public interface ApiGroupUpdateProfileResponseOrBuilder extends
|
|||
|
// @@protoc_insertion_point(interface_extends:site.ApiGroupUpdateProfileResponse)
|
|||
|
com.google.protobuf.MessageOrBuilder {
|
|||
|
}
|
|||
|
/**
|
|||
|
* Protobuf type {@code site.ApiGroupUpdateProfileResponse}
|
|||
|
*/
|
|||
|
public static final class ApiGroupUpdateProfileResponse extends
|
|||
|
com.google.protobuf.GeneratedMessageV3 implements
|
|||
|
// @@protoc_insertion_point(message_implements:site.ApiGroupUpdateProfileResponse)
|
|||
|
ApiGroupUpdateProfileResponseOrBuilder {
|
|||
|
private static final long serialVersionUID = 0L;
|
|||
|
// Use ApiGroupUpdateProfileResponse.newBuilder() to construct.
|
|||
|
private ApiGroupUpdateProfileResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|||
|
super(builder);
|
|||
|
}
|
|||
|
private ApiGroupUpdateProfileResponse() {
|
|||
|
}
|
|||
|
|
|||
|
@java.lang.Override
|
|||
|
public final com.google.protobuf.UnknownFieldSet
|
|||
|
getUnknownFields() {
|
|||
|
return this.unknownFields;
|
|||
|
}
|
|||
|
private ApiGroupUpdateProfileResponse(
|
|||
|
com.google.protobuf.CodedInputStream input,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
this();
|
|||
|
if (extensionRegistry == null) {
|
|||
|
throw new java.lang.NullPointerException();
|
|||
|
}
|
|||
|
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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
} 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.site.ApiGroupUpdateProfileProto.internal_static_site_ApiGroupUpdateProfileResponse_descriptor;
|
|||
|
}
|
|||
|
|
|||
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|||
|
internalGetFieldAccessorTable() {
|
|||
|
return com.akaxin.proto.site.ApiGroupUpdateProfileProto.internal_static_site_ApiGroupUpdateProfileResponse_fieldAccessorTable
|
|||
|
.ensureFieldAccessorsInitialized(
|
|||
|
com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse.class, com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse.Builder.class);
|
|||
|
}
|
|||
|
|
|||
|
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 {
|
|||
|
unknownFields.writeTo(output);
|
|||
|
}
|
|||
|
|
|||
|
public int getSerializedSize() {
|
|||
|
int size = memoizedSize;
|
|||
|
if (size != -1) return size;
|
|||
|
|
|||
|
size = 0;
|
|||
|
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.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse)) {
|
|||
|
return super.equals(obj);
|
|||
|
}
|
|||
|
com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse other = (com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse) obj;
|
|||
|
|
|||
|
boolean result = true;
|
|||
|
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 = (29 * hash) + unknownFields.hashCode();
|
|||
|
memoizedHashCode = hash;
|
|||
|
return hash;
|
|||
|
}
|
|||
|
|
|||
|
public static com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse parseFrom(
|
|||
|
java.nio.ByteBuffer data)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse 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.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse parseFrom(
|
|||
|
com.google.protobuf.ByteString data)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse 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.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse parseFrom(byte[] data)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse parseFrom(
|
|||
|
byte[] data,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return PARSER.parseFrom(data, extensionRegistry);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse parseFrom(java.io.InputStream input)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseWithIOException(PARSER, input);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse 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.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse parseDelimitedFrom(java.io.InputStream input)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseDelimitedWithIOException(PARSER, input);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse 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.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse parseFrom(
|
|||
|
com.google.protobuf.CodedInputStream input)
|
|||
|
throws java.io.IOException {
|
|||
|
return com.google.protobuf.GeneratedMessageV3
|
|||
|
.parseWithIOException(PARSER, input);
|
|||
|
}
|
|||
|
public static com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse 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.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse 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.ApiGroupUpdateProfileResponse}
|
|||
|
*/
|
|||
|
public static final class Builder extends
|
|||
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|||
|
// @@protoc_insertion_point(builder_implements:site.ApiGroupUpdateProfileResponse)
|
|||
|
com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponseOrBuilder {
|
|||
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|||
|
getDescriptor() {
|
|||
|
return com.akaxin.proto.site.ApiGroupUpdateProfileProto.internal_static_site_ApiGroupUpdateProfileResponse_descriptor;
|
|||
|
}
|
|||
|
|
|||
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|||
|
internalGetFieldAccessorTable() {
|
|||
|
return com.akaxin.proto.site.ApiGroupUpdateProfileProto.internal_static_site_ApiGroupUpdateProfileResponse_fieldAccessorTable
|
|||
|
.ensureFieldAccessorsInitialized(
|
|||
|
com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse.class, com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse.Builder.class);
|
|||
|
}
|
|||
|
|
|||
|
// Construct using com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse.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();
|
|||
|
return this;
|
|||
|
}
|
|||
|
|
|||
|
public com.google.protobuf.Descriptors.Descriptor
|
|||
|
getDescriptorForType() {
|
|||
|
return com.akaxin.proto.site.ApiGroupUpdateProfileProto.internal_static_site_ApiGroupUpdateProfileResponse_descriptor;
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse getDefaultInstanceForType() {
|
|||
|
return com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse.getDefaultInstance();
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse build() {
|
|||
|
com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse result = buildPartial();
|
|||
|
if (!result.isInitialized()) {
|
|||
|
throw newUninitializedMessageException(result);
|
|||
|
}
|
|||
|
return result;
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse buildPartial() {
|
|||
|
com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse result = new com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse(this);
|
|||
|
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.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse) {
|
|||
|
return mergeFrom((com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse)other);
|
|||
|
} else {
|
|||
|
super.mergeFrom(other);
|
|||
|
return this;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
public Builder mergeFrom(com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse other) {
|
|||
|
if (other == com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse.getDefaultInstance()) return this;
|
|||
|
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.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse parsedMessage = null;
|
|||
|
try {
|
|||
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|||
|
parsedMessage = (com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse) e.getUnfinishedMessage();
|
|||
|
throw e.unwrapIOException();
|
|||
|
} finally {
|
|||
|
if (parsedMessage != null) {
|
|||
|
mergeFrom(parsedMessage);
|
|||
|
}
|
|||
|
}
|
|||
|
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.ApiGroupUpdateProfileResponse)
|
|||
|
}
|
|||
|
|
|||
|
// @@protoc_insertion_point(class_scope:site.ApiGroupUpdateProfileResponse)
|
|||
|
private static final com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse DEFAULT_INSTANCE;
|
|||
|
static {
|
|||
|
DEFAULT_INSTANCE = new com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse();
|
|||
|
}
|
|||
|
|
|||
|
public static com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse getDefaultInstance() {
|
|||
|
return DEFAULT_INSTANCE;
|
|||
|
}
|
|||
|
|
|||
|
private static final com.google.protobuf.Parser<ApiGroupUpdateProfileResponse>
|
|||
|
PARSER = new com.google.protobuf.AbstractParser<ApiGroupUpdateProfileResponse>() {
|
|||
|
public ApiGroupUpdateProfileResponse parsePartialFrom(
|
|||
|
com.google.protobuf.CodedInputStream input,
|
|||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|||
|
return new ApiGroupUpdateProfileResponse(input, extensionRegistry);
|
|||
|
}
|
|||
|
};
|
|||
|
|
|||
|
public static com.google.protobuf.Parser<ApiGroupUpdateProfileResponse> parser() {
|
|||
|
return PARSER;
|
|||
|
}
|
|||
|
|
|||
|
@java.lang.Override
|
|||
|
public com.google.protobuf.Parser<ApiGroupUpdateProfileResponse> getParserForType() {
|
|||
|
return PARSER;
|
|||
|
}
|
|||
|
|
|||
|
public com.akaxin.proto.site.ApiGroupUpdateProfileProto.ApiGroupUpdateProfileResponse getDefaultInstanceForType() {
|
|||
|
return DEFAULT_INSTANCE;
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|||
|
internal_static_site_ApiGroupUpdateProfileRequest_descriptor;
|
|||
|
private static final
|
|||
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|||
|
internal_static_site_ApiGroupUpdateProfileRequest_fieldAccessorTable;
|
|||
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|||
|
internal_static_site_ApiGroupUpdateProfileResponse_descriptor;
|
|||
|
private static final
|
|||
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|||
|
internal_static_site_ApiGroupUpdateProfileResponse_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\"site/api_group_updateProfile.proto\022\004si" +
|
|||
|
"te\032\020core/group.proto\"}\n\034ApiGroupUpdatePr" +
|
|||
|
"ofileRequest\022#\n\007profile\030\001 \001(\0132\022.core.Gro" +
|
|||
|
"upProfile\022\027\n\017new_group_owner\030\002 \001(\t\022\037\n\027cl" +
|
|||
|
"ose_invite_group_chat\030\003 \001(\010\"\037\n\035ApiGroupU" +
|
|||
|
"pdateProfileResponse2x\n\034ApiGroupUpdatePr" +
|
|||
|
"ofileService\022X\n\rupdateProfile\022\".site.Api" +
|
|||
|
"GroupUpdateProfileRequest\032#.site.ApiGrou" +
|
|||
|
"pUpdateProfileResponseB3\n\025com.akaxin.pro" +
|
|||
|
"to.siteB\032ApiGroupUpdateProfileProtob\006pro" +
|
|||
|
"to3"
|
|||
|
};
|
|||
|
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[] {
|
|||
|
com.akaxin.proto.core.GroupProto.getDescriptor(),
|
|||
|
}, assigner);
|
|||
|
internal_static_site_ApiGroupUpdateProfileRequest_descriptor =
|
|||
|
getDescriptor().getMessageTypes().get(0);
|
|||
|
internal_static_site_ApiGroupUpdateProfileRequest_fieldAccessorTable = new
|
|||
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|||
|
internal_static_site_ApiGroupUpdateProfileRequest_descriptor,
|
|||
|
new java.lang.String[] { "Profile", "NewGroupOwner", "CloseInviteGroupChat", });
|
|||
|
internal_static_site_ApiGroupUpdateProfileResponse_descriptor =
|
|||
|
getDescriptor().getMessageTypes().get(1);
|
|||
|
internal_static_site_ApiGroupUpdateProfileResponse_fieldAccessorTable = new
|
|||
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|||
|
internal_static_site_ApiGroupUpdateProfileResponse_descriptor,
|
|||
|
new java.lang.String[] { });
|
|||
|
com.akaxin.proto.core.GroupProto.getDescriptor();
|
|||
|
}
|
|||
|
|
|||
|
// @@protoc_insertion_point(outer_class_scope)
|
|||
|
}
|