WindChat/windchat-protobuf/src/main/java/com/akaxin/proto/plugin/HaiGroupUpdateProto.java

1297 lines
46 KiB
Java
Executable File

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: plugin/hai_group_update.proto
package com.akaxin.proto.plugin;
public final class HaiGroupUpdateProto {
private HaiGroupUpdateProto() {}
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 HaiGroupUpdateRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:plugin.HaiGroupUpdateRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* 显示的设置群组ID
* </pre>
*
* <code>string group_id = 1;</code>
*/
java.lang.String getGroupId();
/**
* <pre>
* 显示的设置群组ID
* </pre>
*
* <code>string group_id = 1;</code>
*/
com.google.protobuf.ByteString
getGroupIdBytes();
/**
* <pre>
*需要更新的群组资料
* </pre>
*
* <code>.core.GroupProfile profile = 2;</code>
*/
boolean hasProfile();
/**
* <pre>
*需要更新的群组资料
* </pre>
*
* <code>.core.GroupProfile profile = 2;</code>
*/
com.akaxin.proto.core.GroupProto.GroupProfile getProfile();
/**
* <pre>
*需要更新的群组资料
* </pre>
*
* <code>.core.GroupProfile profile = 2;</code>
*/
com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder getProfileOrBuilder();
}
/**
* <pre>
**
*更新群资料
*----
*接口名
*----
* /hai/group/update
*错误码
*----
* success
* error.alert
* </pre>
*
* Protobuf type {@code plugin.HaiGroupUpdateRequest}
*/
public static final class HaiGroupUpdateRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:plugin.HaiGroupUpdateRequest)
HaiGroupUpdateRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use HaiGroupUpdateRequest.newBuilder() to construct.
private HaiGroupUpdateRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private HaiGroupUpdateRequest() {
groupId_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private HaiGroupUpdateRequest(
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 10: {
java.lang.String s = input.readStringRequireUtf8();
groupId_ = s;
break;
}
case 18: {
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;
}
}
}
} 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.plugin.HaiGroupUpdateProto.internal_static_plugin_HaiGroupUpdateRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akaxin.proto.plugin.HaiGroupUpdateProto.internal_static_plugin_HaiGroupUpdateRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest.class, com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest.Builder.class);
}
public static final int GROUP_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object groupId_;
/**
* <pre>
* 显示的设置群组ID
* </pre>
*
* <code>string group_id = 1;</code>
*/
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;
}
}
/**
* <pre>
* 显示的设置群组ID
* </pre>
*
* <code>string group_id = 1;</code>
*/
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 PROFILE_FIELD_NUMBER = 2;
private com.akaxin.proto.core.GroupProto.GroupProfile profile_;
/**
* <pre>
*需要更新的群组资料
* </pre>
*
* <code>.core.GroupProfile profile = 2;</code>
*/
public boolean hasProfile() {
return profile_ != null;
}
/**
* <pre>
*需要更新的群组资料
* </pre>
*
* <code>.core.GroupProfile profile = 2;</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 = 2;</code>
*/
public com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder getProfileOrBuilder() {
return getProfile();
}
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_);
}
if (profile_ != null) {
output.writeMessage(2, getProfile());
}
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_);
}
if (profile_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getProfile());
}
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.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest)) {
return super.equals(obj);
}
com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest other = (com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest) obj;
boolean result = true;
result = result && getGroupId()
.equals(other.getGroupId());
result = result && (hasProfile() == other.hasProfile());
if (hasProfile()) {
result = result && getProfile()
.equals(other.getProfile());
}
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 (hasProfile()) {
hash = (37 * hash) + PROFILE_FIELD_NUMBER;
hash = (53 * hash) + getProfile().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest 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.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest 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.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest 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.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest 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.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest 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.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
**
*更新群资料
*----
*接口名
*----
* /hai/group/update
*错误码
*----
* success
* error.alert
* </pre>
*
* Protobuf type {@code plugin.HaiGroupUpdateRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:plugin.HaiGroupUpdateRequest)
com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akaxin.proto.plugin.HaiGroupUpdateProto.internal_static_plugin_HaiGroupUpdateRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akaxin.proto.plugin.HaiGroupUpdateProto.internal_static_plugin_HaiGroupUpdateRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest.class, com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest.Builder.class);
}
// Construct using com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest.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();
groupId_ = "";
if (profileBuilder_ == null) {
profile_ = null;
} else {
profile_ = null;
profileBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.akaxin.proto.plugin.HaiGroupUpdateProto.internal_static_plugin_HaiGroupUpdateRequest_descriptor;
}
public com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest getDefaultInstanceForType() {
return com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest.getDefaultInstance();
}
public com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest build() {
com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest buildPartial() {
com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest result = new com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest(this);
result.groupId_ = groupId_;
if (profileBuilder_ == null) {
result.profile_ = profile_;
} else {
result.profile_ = profileBuilder_.build();
}
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.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest) {
return mergeFrom((com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest other) {
if (other == com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest.getDefaultInstance()) return this;
if (!other.getGroupId().isEmpty()) {
groupId_ = other.groupId_;
onChanged();
}
if (other.hasProfile()) {
mergeProfile(other.getProfile());
}
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.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object groupId_ = "";
/**
* <pre>
* 显示的设置群组ID
* </pre>
*
* <code>string group_id = 1;</code>
*/
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;
}
}
/**
* <pre>
* 显示的设置群组ID
* </pre>
*
* <code>string group_id = 1;</code>
*/
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;
}
}
/**
* <pre>
* 显示的设置群组ID
* </pre>
*
* <code>string group_id = 1;</code>
*/
public Builder setGroupId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
groupId_ = value;
onChanged();
return this;
}
/**
* <pre>
* 显示的设置群组ID
* </pre>
*
* <code>string group_id = 1;</code>
*/
public Builder clearGroupId() {
groupId_ = getDefaultInstance().getGroupId();
onChanged();
return this;
}
/**
* <pre>
* 显示的设置群组ID
* </pre>
*
* <code>string group_id = 1;</code>
*/
public Builder setGroupIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
groupId_ = value;
onChanged();
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 = 2;</code>
*/
public boolean hasProfile() {
return profileBuilder_ != null || profile_ != null;
}
/**
* <pre>
*需要更新的群组资料
* </pre>
*
* <code>.core.GroupProfile profile = 2;</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 = 2;</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 = 2;</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 = 2;</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 = 2;</code>
*/
public Builder clearProfile() {
if (profileBuilder_ == null) {
profile_ = null;
onChanged();
} else {
profile_ = null;
profileBuilder_ = null;
}
return this;
}
/**
* <pre>
*需要更新的群组资料
* </pre>
*
* <code>.core.GroupProfile profile = 2;</code>
*/
public com.akaxin.proto.core.GroupProto.GroupProfile.Builder getProfileBuilder() {
onChanged();
return getProfileFieldBuilder().getBuilder();
}
/**
* <pre>
*需要更新的群组资料
* </pre>
*
* <code>.core.GroupProfile profile = 2;</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 = 2;</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_;
}
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:plugin.HaiGroupUpdateRequest)
}
// @@protoc_insertion_point(class_scope:plugin.HaiGroupUpdateRequest)
private static final com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest();
}
public static com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<HaiGroupUpdateRequest>
PARSER = new com.google.protobuf.AbstractParser<HaiGroupUpdateRequest>() {
public HaiGroupUpdateRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new HaiGroupUpdateRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<HaiGroupUpdateRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<HaiGroupUpdateRequest> getParserForType() {
return PARSER;
}
public com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface HaiGroupUpdateResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:plugin.HaiGroupUpdateResponse)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code plugin.HaiGroupUpdateResponse}
*/
public static final class HaiGroupUpdateResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:plugin.HaiGroupUpdateResponse)
HaiGroupUpdateResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use HaiGroupUpdateResponse.newBuilder() to construct.
private HaiGroupUpdateResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private HaiGroupUpdateResponse() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private HaiGroupUpdateResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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.plugin.HaiGroupUpdateProto.internal_static_plugin_HaiGroupUpdateResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akaxin.proto.plugin.HaiGroupUpdateProto.internal_static_plugin_HaiGroupUpdateResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse.class, com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse.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.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse)) {
return super.equals(obj);
}
com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse other = (com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse) 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.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse 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.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse 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.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse 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.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse 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.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse 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.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse 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 plugin.HaiGroupUpdateResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:plugin.HaiGroupUpdateResponse)
com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akaxin.proto.plugin.HaiGroupUpdateProto.internal_static_plugin_HaiGroupUpdateResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akaxin.proto.plugin.HaiGroupUpdateProto.internal_static_plugin_HaiGroupUpdateResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse.class, com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse.Builder.class);
}
// Construct using com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse.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.plugin.HaiGroupUpdateProto.internal_static_plugin_HaiGroupUpdateResponse_descriptor;
}
public com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse getDefaultInstanceForType() {
return com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse.getDefaultInstance();
}
public com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse build() {
com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse buildPartial() {
com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse result = new com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse(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.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse) {
return mergeFrom((com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse other) {
if (other == com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse.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.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse) 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:plugin.HaiGroupUpdateResponse)
}
// @@protoc_insertion_point(class_scope:plugin.HaiGroupUpdateResponse)
private static final com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse();
}
public static com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<HaiGroupUpdateResponse>
PARSER = new com.google.protobuf.AbstractParser<HaiGroupUpdateResponse>() {
public HaiGroupUpdateResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new HaiGroupUpdateResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<HaiGroupUpdateResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<HaiGroupUpdateResponse> getParserForType() {
return PARSER;
}
public com.akaxin.proto.plugin.HaiGroupUpdateProto.HaiGroupUpdateResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_plugin_HaiGroupUpdateRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_plugin_HaiGroupUpdateRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_plugin_HaiGroupUpdateResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_plugin_HaiGroupUpdateResponse_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\035plugin/hai_group_update.proto\022\006plugin\032" +
"\020core/group.proto\"N\n\025HaiGroupUpdateReque" +
"st\022\020\n\010group_id\030\001 \001(\t\022#\n\007profile\030\002 \001(\0132\022." +
"core.GroupProfile\"\030\n\026HaiGroupUpdateRespo" +
"nse2`\n\025HaiGroupUpdateService\022G\n\006update\022\035" +
".plugin.HaiGroupUpdateRequest\032\036.plugin.H" +
"aiGroupUpdateResponseB.\n\027com.akaxin.prot" +
"o.pluginB\023HaiGroupUpdateProtob\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[] {
com.akaxin.proto.core.GroupProto.getDescriptor(),
}, assigner);
internal_static_plugin_HaiGroupUpdateRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_plugin_HaiGroupUpdateRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_plugin_HaiGroupUpdateRequest_descriptor,
new java.lang.String[] { "GroupId", "Profile", });
internal_static_plugin_HaiGroupUpdateResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_plugin_HaiGroupUpdateResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_plugin_HaiGroupUpdateResponse_descriptor,
new java.lang.String[] { });
com.akaxin.proto.core.GroupProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}