diff --git a/src/main/java/net/iGap/proto/ProtoClientJoinByInviteLink.java b/src/main/java/net/iGap/proto/ProtoClientJoinByInviteLink.java
index 298eaa9..a7fe234 100644
--- a/src/main/java/net/iGap/proto/ProtoClientJoinByInviteLink.java
+++ b/src/main/java/net/iGap/proto/ProtoClientJoinByInviteLink.java
@@ -459,6 +459,16 @@ public interface ClientJoinByInviteLinkResponseOrBuilder extends
* optional .proto.Response response = 1;
*/
net.iGap.proto.ProtoResponse.Response getResponse();
+
+ /**
+ * optional uint64 room_id = 2;
+ */
+ long getRoomId();
+
+ /**
+ * optional uint64 user_id = 3;
+ */
+ long getUserId();
}
/**
* Protobuf type {@code proto.ClientJoinByInviteLinkResponse}
@@ -522,11 +532,63 @@ private void mergeResponse(net.iGap.proto.ProtoResponse.Response value) {
}
+ public static final int ROOM_ID_FIELD_NUMBER = 2;
+ private long roomId_;
+ /**
+ * optional uint64 room_id = 2;
+ */
+ public long getRoomId() {
+ return roomId_;
+ }
+ /**
+ * optional uint64 room_id = 2;
+ */
+ private void setRoomId(long value) {
+
+ roomId_ = value;
+ }
+ /**
+ * optional uint64 room_id = 2;
+ */
+ private void clearRoomId() {
+
+ roomId_ = 0L;
+ }
+
+ public static final int USER_ID_FIELD_NUMBER = 3;
+ private long userId_;
+ /**
+ * optional uint64 user_id = 3;
+ */
+ public long getUserId() {
+ return userId_;
+ }
+ /**
+ * optional uint64 user_id = 3;
+ */
+ private void setUserId(long value) {
+
+ userId_ = value;
+ }
+ /**
+ * optional uint64 user_id = 3;
+ */
+ private void clearUserId() {
+
+ userId_ = 0L;
+ }
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (response_ != null) {
output.writeMessage(1, getResponse());
}
+ if (roomId_ != 0L) {
+ output.writeUInt64(2, roomId_);
+ }
+ if (userId_ != 0L) {
+ output.writeUInt64(3, userId_);
+ }
}
public int getSerializedSize() {
@@ -538,6 +600,14 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getResponse());
}
+ if (roomId_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(2, roomId_);
+ }
+ if (userId_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(3, userId_);
+ }
memoizedSerializedSize = size;
return size;
}
@@ -669,6 +739,52 @@ public Builder mergeResponse(net.iGap.proto.ProtoResponse.Response value) {
return this;
}
+ /**
+ * optional uint64 room_id = 2;
+ */
+ public long getRoomId() {
+ return instance.getRoomId();
+ }
+ /**
+ * optional uint64 room_id = 2;
+ */
+ public Builder setRoomId(long value) {
+ copyOnWrite();
+ instance.setRoomId(value);
+ return this;
+ }
+ /**
+ * optional uint64 room_id = 2;
+ */
+ public Builder clearRoomId() {
+ copyOnWrite();
+ instance.clearRoomId();
+ return this;
+ }
+
+ /**
+ * optional uint64 user_id = 3;
+ */
+ public long getUserId() {
+ return instance.getUserId();
+ }
+ /**
+ * optional uint64 user_id = 3;
+ */
+ public Builder setUserId(long value) {
+ copyOnWrite();
+ instance.setUserId(value);
+ return this;
+ }
+ /**
+ * optional uint64 user_id = 3;
+ */
+ public Builder clearUserId() {
+ copyOnWrite();
+ instance.clearUserId();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:proto.ClientJoinByInviteLinkResponse)
}
protected final Object dynamicMethod(
@@ -691,6 +807,10 @@ protected final Object dynamicMethod(
Visitor visitor = (Visitor) arg0;
net.iGap.proto.ProtoClientJoinByInviteLink.ClientJoinByInviteLinkResponse other = (net.iGap.proto.ProtoClientJoinByInviteLink.ClientJoinByInviteLinkResponse) arg1;
response_ = visitor.visitMessage(response_, other.response_);
+ roomId_ = visitor.visitLong(roomId_ != 0L, roomId_,
+ other.roomId_ != 0L, other.roomId_);
+ userId_ = visitor.visitLong(userId_ != 0L, userId_,
+ other.userId_ != 0L, other.userId_);
if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
.INSTANCE) {
}
@@ -728,6 +848,16 @@ protected final Object dynamicMethod(
break;
}
+ case 16: {
+
+ roomId_ = input.readUInt64();
+ break;
+ }
+ case 24: {
+
+ userId_ = input.readUInt64();
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
diff --git a/src/main/java/net/iGap/proto/ProtoGlobal.java b/src/main/java/net/iGap/proto/ProtoGlobal.java
index d2667b5..5bd5a9b 100644
--- a/src/main/java/net/iGap/proto/ProtoGlobal.java
+++ b/src/main/java/net/iGap/proto/ProtoGlobal.java
@@ -738,6 +738,73 @@ private RoomMessageReaction(int value) {
// @@protoc_insertion_point(enum_scope:proto.RoomMessageReaction)
}
+ /**
+ * Protobuf enum {@code proto.Originator}
+ */
+ public enum Originator
+ implements com.google.protobuf.Internal.EnumLite {
+ /**
+ * USER = 0;
+ */
+ USER(0),
+ /**
+ * ROOM = 1;
+ */
+ ROOM(1),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ * USER = 0;
+ */
+ public static final int USER_VALUE = 0;
+ /**
+ * ROOM = 1;
+ */
+ public static final int ROOM_VALUE = 1;
+
+
+ public final int getNumber() {
+ return value;
+ }
+
+ /**
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static Originator valueOf(int value) {
+ return forNumber(value);
+ }
+
+ public static Originator forNumber(int value) {
+ switch (value) {
+ case 0: return USER;
+ case 1: return ROOM;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap
+ internalGetValueMap() {
+ return internalValueMap;
+ }
+ private static final com.google.protobuf.Internal.EnumLiteMap<
+ Originator> internalValueMap =
+ new com.google.protobuf.Internal.EnumLiteMap() {
+ public Originator findValueByNumber(int number) {
+ return Originator.forNumber(number);
+ }
+ };
+
+ private final int value;
+
+ private Originator(int value) {
+ this.value = value;
+ }
+
+ // @@protoc_insertion_point(enum_scope:proto.Originator)
+ }
+
/**
* Protobuf enum {@code proto.ClientAction}
*/
@@ -11621,6 +11688,15 @@ public interface StoryOrBuilder extends
* optional bool duplicated = 12;
*/
boolean getDuplicated();
+
+ /**
+ * optional .proto.Originator originator = 13;
+ */
+ int getOriginatorValue();
+ /**
+ * optional .proto.Originator originator = 13;
+ */
+ net.iGap.proto.ProtoGlobal.Originator getOriginator();
}
/**
* Protobuf type {@code proto.Story}
@@ -12092,6 +12168,45 @@ private void clearDuplicated() {
duplicated_ = false;
}
+ public static final int ORIGINATOR_FIELD_NUMBER = 13;
+ private int originator_;
+ /**
+ * optional .proto.Originator originator = 13;
+ */
+ public int getOriginatorValue() {
+ return originator_;
+ }
+ /**
+ * optional .proto.Originator originator = 13;
+ */
+ public net.iGap.proto.ProtoGlobal.Originator getOriginator() {
+ net.iGap.proto.ProtoGlobal.Originator result = net.iGap.proto.ProtoGlobal.Originator.forNumber(originator_);
+ return result == null ? net.iGap.proto.ProtoGlobal.Originator.UNRECOGNIZED : result;
+ }
+ /**
+ * optional .proto.Originator originator = 13;
+ */
+ private void setOriginatorValue(int value) {
+ originator_ = value;
+ }
+ /**
+ * optional .proto.Originator originator = 13;
+ */
+ private void setOriginator(net.iGap.proto.ProtoGlobal.Originator value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ originator_ = value.getNumber();
+ }
+ /**
+ * optional .proto.Originator originator = 13;
+ */
+ private void clearOriginator() {
+
+ originator_ = 0;
+ }
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (id_ != 0L) {
@@ -12130,6 +12245,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (duplicated_ != false) {
output.writeBool(12, duplicated_);
}
+ if (originator_ != net.iGap.proto.ProtoGlobal.Originator.USER.getNumber()) {
+ output.writeEnum(13, originator_);
+ }
}
public int getSerializedSize() {
@@ -12185,6 +12303,10 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(12, duplicated_);
}
+ if (originator_ != net.iGap.proto.ProtoGlobal.Originator.USER.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeEnumSize(13, originator_);
+ }
memoizedSerializedSize = size;
return size;
}
@@ -12634,6 +12756,43 @@ public Builder clearDuplicated() {
return this;
}
+ /**
+ * optional .proto.Originator originator = 13;
+ */
+ public int getOriginatorValue() {
+ return instance.getOriginatorValue();
+ }
+ /**
+ * optional .proto.Originator originator = 13;
+ */
+ public Builder setOriginatorValue(int value) {
+ copyOnWrite();
+ instance.setOriginatorValue(value);
+ return this;
+ }
+ /**
+ * optional .proto.Originator originator = 13;
+ */
+ public net.iGap.proto.ProtoGlobal.Originator getOriginator() {
+ return instance.getOriginator();
+ }
+ /**
+ * optional .proto.Originator originator = 13;
+ */
+ public Builder setOriginator(net.iGap.proto.ProtoGlobal.Originator value) {
+ copyOnWrite();
+ instance.setOriginator(value);
+ return this;
+ }
+ /**
+ * optional .proto.Originator originator = 13;
+ */
+ public Builder clearOriginator() {
+ copyOnWrite();
+ instance.clearOriginator();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:proto.Story)
}
protected final Object dynamicMethod(
@@ -12677,6 +12836,7 @@ protected final Object dynamicMethod(
other.seen_ != false, other.seen_);
duplicated_ = visitor.visitBoolean(duplicated_ != false, duplicated_,
other.duplicated_ != false, other.duplicated_);
+ originator_ = visitor.visitInt(originator_ != 0, originator_, other.originator_ != 0, other.originator_);
if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor
.INSTANCE) {
}
@@ -12773,6 +12933,12 @@ protected final Object dynamicMethod(
duplicated_ = input.readBool();
break;
}
+ case 104: {
+ int rawValue = input.readEnum();
+
+ originator_ = rawValue;
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
diff --git a/src/main/java/net/iGap/proto/ProtoStoryGetStories.java b/src/main/java/net/iGap/proto/ProtoStoryGetStories.java
index e11389c..504a376 100644
--- a/src/main/java/net/iGap/proto/ProtoStoryGetStories.java
+++ b/src/main/java/net/iGap/proto/ProtoStoryGetStories.java
@@ -467,13 +467,13 @@ public interface GroupedStoriesOrBuilder extends
com.google.protobuf.MessageLiteOrBuilder {
/**
- * optional .proto.GroupedStories.Originator originator = 1;
+ * optional .proto.Originator originator = 1;
*/
int getOriginatorValue();
/**
- * optional .proto.GroupedStories.Originator originator = 1;
+ * optional .proto.Originator originator = 1;
*/
- net.iGap.proto.ProtoStoryGetStories.GroupedStories.Originator getOriginator();
+ net.iGap.proto.ProtoGlobal.Originator getOriginator();
/**
* optional uint64 originator_id = 2 [jstype = JS_STRING];
@@ -526,99 +526,32 @@ private GroupedStories() {
originatorName_ = "";
stories_ = emptyProtobufList();
}
- /**
- * Protobuf enum {@code proto.GroupedStories.Originator}
- */
- public enum Originator
- implements com.google.protobuf.Internal.EnumLite {
- /**
- * User = 0;
- */
- User(0),
- /**
- * Room = 1;
- */
- Room(1),
- UNRECOGNIZED(-1),
- ;
-
- /**
- * User = 0;
- */
- public static final int User_VALUE = 0;
- /**
- * Room = 1;
- */
- public static final int Room_VALUE = 1;
-
-
- public final int getNumber() {
- return value;
- }
-
- /**
- * @deprecated Use {@link #forNumber(int)} instead.
- */
- @java.lang.Deprecated
- public static Originator valueOf(int value) {
- return forNumber(value);
- }
-
- public static Originator forNumber(int value) {
- switch (value) {
- case 0: return User;
- case 1: return Room;
- default: return null;
- }
- }
-
- public static com.google.protobuf.Internal.EnumLiteMap
- internalGetValueMap() {
- return internalValueMap;
- }
- private static final com.google.protobuf.Internal.EnumLiteMap<
- Originator> internalValueMap =
- new com.google.protobuf.Internal.EnumLiteMap() {
- public Originator findValueByNumber(int number) {
- return Originator.forNumber(number);
- }
- };
-
- private final int value;
-
- private Originator(int value) {
- this.value = value;
- }
-
- // @@protoc_insertion_point(enum_scope:proto.GroupedStories.Originator)
- }
-
private int bitField0_;
public static final int ORIGINATOR_FIELD_NUMBER = 1;
private int originator_;
/**
- * optional .proto.GroupedStories.Originator originator = 1;
+ * optional .proto.Originator originator = 1;
*/
public int getOriginatorValue() {
return originator_;
}
/**
- * optional .proto.GroupedStories.Originator originator = 1;
+ * optional .proto.Originator originator = 1;
*/
- public net.iGap.proto.ProtoStoryGetStories.GroupedStories.Originator getOriginator() {
- net.iGap.proto.ProtoStoryGetStories.GroupedStories.Originator result = net.iGap.proto.ProtoStoryGetStories.GroupedStories.Originator.forNumber(originator_);
- return result == null ? net.iGap.proto.ProtoStoryGetStories.GroupedStories.Originator.UNRECOGNIZED : result;
+ public net.iGap.proto.ProtoGlobal.Originator getOriginator() {
+ net.iGap.proto.ProtoGlobal.Originator result = net.iGap.proto.ProtoGlobal.Originator.forNumber(originator_);
+ return result == null ? net.iGap.proto.ProtoGlobal.Originator.UNRECOGNIZED : result;
}
/**
- * optional .proto.GroupedStories.Originator originator = 1;
+ * optional .proto.Originator originator = 1;
*/
private void setOriginatorValue(int value) {
originator_ = value;
}
/**
- * optional .proto.GroupedStories.Originator originator = 1;
+ * optional .proto.Originator originator = 1;
*/
- private void setOriginator(net.iGap.proto.ProtoStoryGetStories.GroupedStories.Originator value) {
+ private void setOriginator(net.iGap.proto.ProtoGlobal.Originator value) {
if (value == null) {
throw new NullPointerException();
}
@@ -626,7 +559,7 @@ private void setOriginator(net.iGap.proto.ProtoStoryGetStories.GroupedStories.Or
originator_ = value.getNumber();
}
/**
- * optional .proto.GroupedStories.Originator originator = 1;
+ * optional .proto.Originator originator = 1;
*/
private void clearOriginator() {
@@ -870,7 +803,7 @@ private void clearSelf() {
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
- if (originator_ != net.iGap.proto.ProtoStoryGetStories.GroupedStories.Originator.User.getNumber()) {
+ if (originator_ != net.iGap.proto.ProtoGlobal.Originator.USER.getNumber()) {
output.writeEnum(1, originator_);
}
if (originatorId_ != 0L) {
@@ -895,7 +828,7 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (originator_ != net.iGap.proto.ProtoStoryGetStories.GroupedStories.Originator.User.getNumber()) {
+ if (originator_ != net.iGap.proto.ProtoGlobal.Originator.USER.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, originator_);
}
@@ -1006,13 +939,13 @@ private Builder() {
/**
- * optional .proto.GroupedStories.Originator originator = 1;
+ * optional .proto.Originator originator = 1;
*/
public int getOriginatorValue() {
return instance.getOriginatorValue();
}
/**
- * optional .proto.GroupedStories.Originator originator = 1;
+ * optional .proto.Originator originator = 1;
*/
public Builder setOriginatorValue(int value) {
copyOnWrite();
@@ -1020,21 +953,21 @@ public Builder setOriginatorValue(int value) {
return this;
}
/**
- * optional .proto.GroupedStories.Originator originator = 1;
+ * optional .proto.Originator originator = 1;
*/
- public net.iGap.proto.ProtoStoryGetStories.GroupedStories.Originator getOriginator() {
+ public net.iGap.proto.ProtoGlobal.Originator getOriginator() {
return instance.getOriginator();
}
/**
- * optional .proto.GroupedStories.Originator originator = 1;
+ * optional .proto.Originator originator = 1;
*/
- public Builder setOriginator(net.iGap.proto.ProtoStoryGetStories.GroupedStories.Originator value) {
+ public Builder setOriginator(net.iGap.proto.ProtoGlobal.Originator value) {
copyOnWrite();
instance.setOriginator(value);
return this;
}
/**
- * optional .proto.GroupedStories.Originator originator = 1;
+ * optional .proto.Originator originator = 1;
*/
public Builder clearOriginator() {
copyOnWrite();