// Generated by the protocol buffer compiler. DO NOT EDIT! // source: site/api_group_create.proto package com.akaxin.proto.site; public final class ApiGroupCreateProto { private ApiGroupCreateProto() {} 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 ApiGroupCreateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:site.ApiGroupCreateRequest) com.google.protobuf.MessageOrBuilder { /** *
*初始建群,增加的群成员 ** *
repeated string site_user_ids = 1;
*/
java.util.List*初始建群,增加的群成员 ** *
repeated string site_user_ids = 1;
*/
int getSiteUserIdsCount();
/**
* *初始建群,增加的群成员 ** *
repeated string site_user_ids = 1;
*/
java.lang.String getSiteUserIds(int index);
/**
* *初始建群,增加的群成员 ** *
repeated string site_user_ids = 1;
*/
com.google.protobuf.ByteString
getSiteUserIdsBytes(int index);
/**
* *群名称 ** *
string group_name = 2;
*/
java.lang.String getGroupName();
/**
* *群名称 ** *
string group_name = 2;
*/
com.google.protobuf.ByteString
getGroupNameBytes();
}
/**
* Protobuf type {@code site.ApiGroupCreateRequest}
*/
public static final class ApiGroupCreateRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:site.ApiGroupCreateRequest)
ApiGroupCreateRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ApiGroupCreateRequest.newBuilder() to construct.
private ApiGroupCreateRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ApiGroupCreateRequest() {
siteUserIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
groupName_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ApiGroupCreateRequest(
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();
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
siteUserIds_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
siteUserIds_.add(s);
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
groupName_ = 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_ & 0x00000001) == 0x00000001)) {
siteUserIds_ = siteUserIds_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.akaxin.proto.site.ApiGroupCreateProto.internal_static_site_ApiGroupCreateRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akaxin.proto.site.ApiGroupCreateProto.internal_static_site_ApiGroupCreateRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateRequest.class, com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateRequest.Builder.class);
}
private int bitField0_;
public static final int SITE_USER_IDS_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList siteUserIds_;
/**
* *初始建群,增加的群成员 ** *
repeated string site_user_ids = 1;
*/
public com.google.protobuf.ProtocolStringList
getSiteUserIdsList() {
return siteUserIds_;
}
/**
* *初始建群,增加的群成员 ** *
repeated string site_user_ids = 1;
*/
public int getSiteUserIdsCount() {
return siteUserIds_.size();
}
/**
* *初始建群,增加的群成员 ** *
repeated string site_user_ids = 1;
*/
public java.lang.String getSiteUserIds(int index) {
return siteUserIds_.get(index);
}
/**
* *初始建群,增加的群成员 ** *
repeated string site_user_ids = 1;
*/
public com.google.protobuf.ByteString
getSiteUserIdsBytes(int index) {
return siteUserIds_.getByteString(index);
}
public static final int GROUP_NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object groupName_;
/**
* *群名称 ** *
string group_name = 2;
*/
public java.lang.String getGroupName() {
java.lang.Object ref = groupName_;
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();
groupName_ = s;
return s;
}
}
/**
* *群名称 ** *
string group_name = 2;
*/
public com.google.protobuf.ByteString
getGroupNameBytes() {
java.lang.Object ref = groupName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
groupName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 {
for (int i = 0; i < siteUserIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, siteUserIds_.getRaw(i));
}
if (!getGroupNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, groupName_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < siteUserIds_.size(); i++) {
dataSize += computeStringSizeNoTag(siteUserIds_.getRaw(i));
}
size += dataSize;
size += 1 * getSiteUserIdsList().size();
}
if (!getGroupNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, groupName_);
}
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.ApiGroupCreateProto.ApiGroupCreateRequest)) {
return super.equals(obj);
}
com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateRequest other = (com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateRequest) obj;
boolean result = true;
result = result && getSiteUserIdsList()
.equals(other.getSiteUserIdsList());
result = result && getGroupName()
.equals(other.getGroupName());
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 (getSiteUserIdsCount() > 0) {
hash = (37 * hash) + SITE_USER_IDS_FIELD_NUMBER;
hash = (53 * hash) + getSiteUserIdsList().hashCode();
}
hash = (37 * hash) + GROUP_NAME_FIELD_NUMBER;
hash = (53 * hash) + getGroupName().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateRequest 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.ApiGroupCreateProto.ApiGroupCreateRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateRequest 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.ApiGroupCreateProto.ApiGroupCreateRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateRequest 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.ApiGroupCreateProto.ApiGroupCreateRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateRequest 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.ApiGroupCreateProto.ApiGroupCreateRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateRequest 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.ApiGroupCreateProto.ApiGroupCreateRequest 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.ApiGroupCreateRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder*初始建群,增加的群成员 ** *
repeated string site_user_ids = 1;
*/
public com.google.protobuf.ProtocolStringList
getSiteUserIdsList() {
return siteUserIds_.getUnmodifiableView();
}
/**
* *初始建群,增加的群成员 ** *
repeated string site_user_ids = 1;
*/
public int getSiteUserIdsCount() {
return siteUserIds_.size();
}
/**
* *初始建群,增加的群成员 ** *
repeated string site_user_ids = 1;
*/
public java.lang.String getSiteUserIds(int index) {
return siteUserIds_.get(index);
}
/**
* *初始建群,增加的群成员 ** *
repeated string site_user_ids = 1;
*/
public com.google.protobuf.ByteString
getSiteUserIdsBytes(int index) {
return siteUserIds_.getByteString(index);
}
/**
* *初始建群,增加的群成员 ** *
repeated string site_user_ids = 1;
*/
public Builder setSiteUserIds(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureSiteUserIdsIsMutable();
siteUserIds_.set(index, value);
onChanged();
return this;
}
/**
* *初始建群,增加的群成员 ** *
repeated string site_user_ids = 1;
*/
public Builder addSiteUserIds(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureSiteUserIdsIsMutable();
siteUserIds_.add(value);
onChanged();
return this;
}
/**
* *初始建群,增加的群成员 ** *
repeated string site_user_ids = 1;
*/
public Builder addAllSiteUserIds(
java.lang.Iterable*初始建群,增加的群成员 ** *
repeated string site_user_ids = 1;
*/
public Builder clearSiteUserIds() {
siteUserIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* *初始建群,增加的群成员 ** *
repeated string site_user_ids = 1;
*/
public Builder addSiteUserIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureSiteUserIdsIsMutable();
siteUserIds_.add(value);
onChanged();
return this;
}
private java.lang.Object groupName_ = "";
/**
* *群名称 ** *
string group_name = 2;
*/
public java.lang.String getGroupName() {
java.lang.Object ref = groupName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
groupName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* *群名称 ** *
string group_name = 2;
*/
public com.google.protobuf.ByteString
getGroupNameBytes() {
java.lang.Object ref = groupName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
groupName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* *群名称 ** *
string group_name = 2;
*/
public Builder setGroupName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
groupName_ = value;
onChanged();
return this;
}
/**
* *群名称 ** *
string group_name = 2;
*/
public Builder clearGroupName() {
groupName_ = getDefaultInstance().getGroupName();
onChanged();
return this;
}
/**
* *群名称 ** *
string group_name = 2;
*/
public Builder setGroupNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
groupName_ = 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.ApiGroupCreateRequest)
}
// @@protoc_insertion_point(class_scope:site.ApiGroupCreateRequest)
private static final com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateRequest();
}
public static com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser*群组信息 ** *
.core.GroupProfile profile = 1;
*/
boolean hasProfile();
/**
* *群组信息 ** *
.core.GroupProfile profile = 1;
*/
com.akaxin.proto.core.GroupProto.GroupProfile getProfile();
/**
* *群组信息 ** *
.core.GroupProfile profile = 1;
*/
com.akaxin.proto.core.GroupProto.GroupProfileOrBuilder getProfileOrBuilder();
}
/**
* Protobuf type {@code site.ApiGroupCreateResponse}
*/
public static final class ApiGroupCreateResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:site.ApiGroupCreateResponse)
ApiGroupCreateResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ApiGroupCreateResponse.newBuilder() to construct.
private ApiGroupCreateResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ApiGroupCreateResponse() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ApiGroupCreateResponse(
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;
}
}
}
} 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.ApiGroupCreateProto.internal_static_site_ApiGroupCreateResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akaxin.proto.site.ApiGroupCreateProto.internal_static_site_ApiGroupCreateResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateResponse.class, com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateResponse.Builder.class);
}
public static final int PROFILE_FIELD_NUMBER = 1;
private com.akaxin.proto.core.GroupProto.GroupProfile profile_;
/**
* *群组信息 ** *
.core.GroupProfile profile = 1;
*/
public boolean hasProfile() {
return profile_ != null;
}
/**
* *群组信息 ** *
.core.GroupProfile profile = 1;
*/
public com.akaxin.proto.core.GroupProto.GroupProfile getProfile() {
return profile_ == null ? com.akaxin.proto.core.GroupProto.GroupProfile.getDefaultInstance() : profile_;
}
/**
* *群组信息 ** *
.core.GroupProfile profile = 1;
*/
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 (profile_ != null) {
output.writeMessage(1, getProfile());
}
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());
}
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.ApiGroupCreateProto.ApiGroupCreateResponse)) {
return super.equals(obj);
}
com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateResponse other = (com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateResponse) obj;
boolean result = true;
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();
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.site.ApiGroupCreateProto.ApiGroupCreateResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateResponse 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.ApiGroupCreateProto.ApiGroupCreateResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateResponse 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.ApiGroupCreateProto.ApiGroupCreateResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateResponse 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.ApiGroupCreateProto.ApiGroupCreateResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateResponse 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.ApiGroupCreateProto.ApiGroupCreateResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateResponse 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.ApiGroupCreateProto.ApiGroupCreateResponse 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.ApiGroupCreateResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder*群组信息 ** *
.core.GroupProfile profile = 1;
*/
public boolean hasProfile() {
return profileBuilder_ != null || profile_ != null;
}
/**
* *群组信息 ** *
.core.GroupProfile profile = 1;
*/
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();
}
}
/**
* *群组信息 ** *
.core.GroupProfile profile = 1;
*/
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;
}
/**
* *群组信息 ** *
.core.GroupProfile profile = 1;
*/
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;
}
/**
* *群组信息 ** *
.core.GroupProfile profile = 1;
*/
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;
}
/**
* *群组信息 ** *
.core.GroupProfile profile = 1;
*/
public Builder clearProfile() {
if (profileBuilder_ == null) {
profile_ = null;
onChanged();
} else {
profile_ = null;
profileBuilder_ = null;
}
return this;
}
/**
* *群组信息 ** *
.core.GroupProfile profile = 1;
*/
public com.akaxin.proto.core.GroupProto.GroupProfile.Builder getProfileBuilder() {
onChanged();
return getProfileFieldBuilder().getBuilder();
}
/**
* *群组信息 ** *
.core.GroupProfile profile = 1;
*/
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_;
}
}
/**
* *群组信息 ** *
.core.GroupProfile profile = 1;
*/
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:site.ApiGroupCreateResponse)
}
// @@protoc_insertion_point(class_scope:site.ApiGroupCreateResponse)
private static final com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateResponse();
}
public static com.akaxin.proto.site.ApiGroupCreateProto.ApiGroupCreateResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser