diff --git a/src/main/java/net/iGap/proto/ProtoChannelSendMessage.java b/src/main/java/net/iGap/proto/ProtoChannelSendMessage.java index 250b44f..356ac8e 100644 --- a/src/main/java/net/iGap/proto/ProtoChannelSendMessage.java +++ b/src/main/java/net/iGap/proto/ProtoChannelSendMessage.java @@ -91,6 +91,21 @@ public interface ChannelSendMessageOrBuilder extends * optional uint64 random_id = 10; */ long getRandomId(); + + /** + * optional uint32 additional_type = 11; + */ + int getAdditionalType(); + + /** + * optional string additional_data = 12; + */ + java.lang.String getAdditionalData(); + /** + * optional string additional_data = 12; + */ + com.google.protobuf.ByteString + getAdditionalDataBytes(); } /** * Protobuf type {@code proto.ChannelSendMessage} @@ -103,6 +118,7 @@ public static final class ChannelSendMessage extends private ChannelSendMessage() { message_ = ""; attachment_ = ""; + additionalData_ = ""; } public static final int REQUEST_FIELD_NUMBER = 1; private net.iGap.proto.ProtoRequest.Request request_; @@ -512,6 +528,75 @@ private void clearRandomId() { randomId_ = 0L; } + public static final int ADDITIONAL_TYPE_FIELD_NUMBER = 11; + private int additionalType_; + /** + * optional uint32 additional_type = 11; + */ + public int getAdditionalType() { + return additionalType_; + } + /** + * optional uint32 additional_type = 11; + */ + private void setAdditionalType(int value) { + + additionalType_ = value; + } + /** + * optional uint32 additional_type = 11; + */ + private void clearAdditionalType() { + + additionalType_ = 0; + } + + public static final int ADDITIONAL_DATA_FIELD_NUMBER = 12; + private java.lang.String additionalData_; + /** + * optional string additional_data = 12; + */ + public java.lang.String getAdditionalData() { + return additionalData_; + } + /** + * optional string additional_data = 12; + */ + public com.google.protobuf.ByteString + getAdditionalDataBytes() { + return com.google.protobuf.ByteString.copyFromUtf8(additionalData_); + } + /** + * optional string additional_data = 12; + */ + private void setAdditionalData( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + additionalData_ = value; + } + /** + * optional string additional_data = 12; + */ + private void clearAdditionalData() { + + additionalData_ = getDefaultInstance().getAdditionalData(); + } + /** + * optional string additional_data = 12; + */ + private void setAdditionalDataBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + additionalData_ = value.toStringUtf8(); + } + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (request_ != null) { @@ -544,6 +629,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (randomId_ != 0L) { output.writeUInt64(10, randomId_); } + if (additionalType_ != 0) { + output.writeUInt32(11, additionalType_); + } + if (!additionalData_.isEmpty()) { + output.writeString(12, getAdditionalData()); + } } public int getSerializedSize() { @@ -591,6 +682,14 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(10, randomId_); } + if (additionalType_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(11, additionalType_); + } + if (!additionalData_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeStringSize(12, getAdditionalData()); + } memoizedSerializedSize = size; return size; } @@ -1043,6 +1142,69 @@ public Builder clearRandomId() { return this; } + /** + * optional uint32 additional_type = 11; + */ + public int getAdditionalType() { + return instance.getAdditionalType(); + } + /** + * optional uint32 additional_type = 11; + */ + public Builder setAdditionalType(int value) { + copyOnWrite(); + instance.setAdditionalType(value); + return this; + } + /** + * optional uint32 additional_type = 11; + */ + public Builder clearAdditionalType() { + copyOnWrite(); + instance.clearAdditionalType(); + return this; + } + + /** + * optional string additional_data = 12; + */ + public java.lang.String getAdditionalData() { + return instance.getAdditionalData(); + } + /** + * optional string additional_data = 12; + */ + public com.google.protobuf.ByteString + getAdditionalDataBytes() { + return instance.getAdditionalDataBytes(); + } + /** + * optional string additional_data = 12; + */ + public Builder setAdditionalData( + java.lang.String value) { + copyOnWrite(); + instance.setAdditionalData(value); + return this; + } + /** + * optional string additional_data = 12; + */ + public Builder clearAdditionalData() { + copyOnWrite(); + instance.clearAdditionalData(); + return this; + } + /** + * optional string additional_data = 12; + */ + public Builder setAdditionalDataBytes( + com.google.protobuf.ByteString value) { + copyOnWrite(); + instance.setAdditionalDataBytes(value); + return this; + } + // @@protoc_insertion_point(builder_scope:proto.ChannelSendMessage) } protected final Object dynamicMethod( @@ -1079,6 +1241,10 @@ protected final Object dynamicMethod( forwardFrom_ = visitor.visitMessage(forwardFrom_, other.forwardFrom_); randomId_ = visitor.visitLong(randomId_ != 0L, randomId_, other.randomId_ != 0L, other.randomId_); + additionalType_ = visitor.visitInt(additionalType_ != 0, additionalType_, + other.additionalType_ != 0, other.additionalType_); + additionalData_ = visitor.visitString(!additionalData_.isEmpty(), additionalData_, + !other.additionalData_.isEmpty(), other.additionalData_); if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor .INSTANCE) { } @@ -1188,6 +1354,17 @@ protected final Object dynamicMethod( randomId_ = input.readUInt64(); break; } + case 88: { + + additionalType_ = input.readUInt32(); + break; + } + case 98: { + String s = input.readStringRequireUtf8(); + + additionalData_ = s; + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { diff --git a/src/main/java/net/iGap/proto/ProtoChatSendMessage.java b/src/main/java/net/iGap/proto/ProtoChatSendMessage.java index 91a75f3..716f79a 100644 --- a/src/main/java/net/iGap/proto/ProtoChatSendMessage.java +++ b/src/main/java/net/iGap/proto/ProtoChatSendMessage.java @@ -91,6 +91,21 @@ public interface ChatSendMessageOrBuilder extends * optional uint64 random_id = 10; */ long getRandomId(); + + /** + * optional uint32 additional_type = 11; + */ + int getAdditionalType(); + + /** + * optional string additional_data = 12; + */ + java.lang.String getAdditionalData(); + /** + * optional string additional_data = 12; + */ + com.google.protobuf.ByteString + getAdditionalDataBytes(); } /** * Protobuf type {@code proto.ChatSendMessage} @@ -103,6 +118,7 @@ public static final class ChatSendMessage extends private ChatSendMessage() { message_ = ""; attachment_ = ""; + additionalData_ = ""; } public static final int REQUEST_FIELD_NUMBER = 1; private net.iGap.proto.ProtoRequest.Request request_; @@ -512,6 +528,75 @@ private void clearRandomId() { randomId_ = 0L; } + public static final int ADDITIONAL_TYPE_FIELD_NUMBER = 11; + private int additionalType_; + /** + * optional uint32 additional_type = 11; + */ + public int getAdditionalType() { + return additionalType_; + } + /** + * optional uint32 additional_type = 11; + */ + private void setAdditionalType(int value) { + + additionalType_ = value; + } + /** + * optional uint32 additional_type = 11; + */ + private void clearAdditionalType() { + + additionalType_ = 0; + } + + public static final int ADDITIONAL_DATA_FIELD_NUMBER = 12; + private java.lang.String additionalData_; + /** + * optional string additional_data = 12; + */ + public java.lang.String getAdditionalData() { + return additionalData_; + } + /** + * optional string additional_data = 12; + */ + public com.google.protobuf.ByteString + getAdditionalDataBytes() { + return com.google.protobuf.ByteString.copyFromUtf8(additionalData_); + } + /** + * optional string additional_data = 12; + */ + private void setAdditionalData( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + additionalData_ = value; + } + /** + * optional string additional_data = 12; + */ + private void clearAdditionalData() { + + additionalData_ = getDefaultInstance().getAdditionalData(); + } + /** + * optional string additional_data = 12; + */ + private void setAdditionalDataBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + additionalData_ = value.toStringUtf8(); + } + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (request_ != null) { @@ -544,6 +629,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (randomId_ != 0L) { output.writeUInt64(10, randomId_); } + if (additionalType_ != 0) { + output.writeUInt32(11, additionalType_); + } + if (!additionalData_.isEmpty()) { + output.writeString(12, getAdditionalData()); + } } public int getSerializedSize() { @@ -591,6 +682,14 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(10, randomId_); } + if (additionalType_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(11, additionalType_); + } + if (!additionalData_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeStringSize(12, getAdditionalData()); + } memoizedSerializedSize = size; return size; } @@ -1043,6 +1142,69 @@ public Builder clearRandomId() { return this; } + /** + * optional uint32 additional_type = 11; + */ + public int getAdditionalType() { + return instance.getAdditionalType(); + } + /** + * optional uint32 additional_type = 11; + */ + public Builder setAdditionalType(int value) { + copyOnWrite(); + instance.setAdditionalType(value); + return this; + } + /** + * optional uint32 additional_type = 11; + */ + public Builder clearAdditionalType() { + copyOnWrite(); + instance.clearAdditionalType(); + return this; + } + + /** + * optional string additional_data = 12; + */ + public java.lang.String getAdditionalData() { + return instance.getAdditionalData(); + } + /** + * optional string additional_data = 12; + */ + public com.google.protobuf.ByteString + getAdditionalDataBytes() { + return instance.getAdditionalDataBytes(); + } + /** + * optional string additional_data = 12; + */ + public Builder setAdditionalData( + java.lang.String value) { + copyOnWrite(); + instance.setAdditionalData(value); + return this; + } + /** + * optional string additional_data = 12; + */ + public Builder clearAdditionalData() { + copyOnWrite(); + instance.clearAdditionalData(); + return this; + } + /** + * optional string additional_data = 12; + */ + public Builder setAdditionalDataBytes( + com.google.protobuf.ByteString value) { + copyOnWrite(); + instance.setAdditionalDataBytes(value); + return this; + } + // @@protoc_insertion_point(builder_scope:proto.ChatSendMessage) } protected final Object dynamicMethod( @@ -1079,6 +1241,10 @@ protected final Object dynamicMethod( forwardFrom_ = visitor.visitMessage(forwardFrom_, other.forwardFrom_); randomId_ = visitor.visitLong(randomId_ != 0L, randomId_, other.randomId_ != 0L, other.randomId_); + additionalType_ = visitor.visitInt(additionalType_ != 0, additionalType_, + other.additionalType_ != 0, other.additionalType_); + additionalData_ = visitor.visitString(!additionalData_.isEmpty(), additionalData_, + !other.additionalData_.isEmpty(), other.additionalData_); if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor .INSTANCE) { } @@ -1188,6 +1354,17 @@ protected final Object dynamicMethod( randomId_ = input.readUInt64(); break; } + case 88: { + + additionalType_ = input.readUInt32(); + break; + } + case 98: { + String s = input.readStringRequireUtf8(); + + additionalData_ = s; + 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 03ce250..1258421 100644 --- a/src/main/java/net/iGap/proto/ProtoGlobal.java +++ b/src/main/java/net/iGap/proto/ProtoGlobal.java @@ -7486,6 +7486,21 @@ public interface RoomMessageOrBuilder extends */ long getRandomId(); + /** + * optional uint32 additional_type = 23; + */ + int getAdditionalType(); + + /** + * optional string additional_data = 24; + */ + java.lang.String getAdditionalData(); + /** + * optional string additional_data = 24; + */ + com.google.protobuf.ByteString + getAdditionalDataBytes(); + /** * optional .proto.RoomMessage.ExtraType extra_type = 19; */ @@ -7514,6 +7529,7 @@ public static final class RoomMessage extends RoomMessageOrBuilder { private RoomMessage() { message_ = ""; + additionalData_ = ""; } /** * Protobuf enum {@code proto.RoomMessage.ExtraType} @@ -10185,6 +10201,75 @@ private void clearRandomId() { randomId_ = 0L; } + public static final int ADDITIONAL_TYPE_FIELD_NUMBER = 23; + private int additionalType_; + /** + * optional uint32 additional_type = 23; + */ + public int getAdditionalType() { + return additionalType_; + } + /** + * optional uint32 additional_type = 23; + */ + private void setAdditionalType(int value) { + + additionalType_ = value; + } + /** + * optional uint32 additional_type = 23; + */ + private void clearAdditionalType() { + + additionalType_ = 0; + } + + public static final int ADDITIONAL_DATA_FIELD_NUMBER = 24; + private java.lang.String additionalData_; + /** + * optional string additional_data = 24; + */ + public java.lang.String getAdditionalData() { + return additionalData_; + } + /** + * optional string additional_data = 24; + */ + public com.google.protobuf.ByteString + getAdditionalDataBytes() { + return com.google.protobuf.ByteString.copyFromUtf8(additionalData_); + } + /** + * optional string additional_data = 24; + */ + private void setAdditionalData( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + additionalData_ = value; + } + /** + * optional string additional_data = 24; + */ + private void clearAdditionalData() { + + additionalData_ = getDefaultInstance().getAdditionalData(); + } + /** + * optional string additional_data = 24; + */ + private void setAdditionalDataBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + additionalData_ = value.toStringUtf8(); + } + public static final int EXTRA_TYPE_FIELD_NUMBER = 19; private int extraType_; /** @@ -10344,6 +10429,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (wallet_ != null) { output.writeMessage(22, getWallet()); } + if (additionalType_ != 0) { + output.writeUInt32(23, additionalType_); + } + if (!additionalData_.isEmpty()) { + output.writeString(24, getAdditionalData()); + } } public int getSerializedSize() { @@ -10439,6 +10530,14 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(22, getWallet()); } + if (additionalType_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(23, additionalType_); + } + if (!additionalData_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeStringSize(24, getAdditionalData()); + } memoizedSerializedSize = size; return size; } @@ -11206,6 +11305,69 @@ public Builder clearRandomId() { return this; } + /** + * optional uint32 additional_type = 23; + */ + public int getAdditionalType() { + return instance.getAdditionalType(); + } + /** + * optional uint32 additional_type = 23; + */ + public Builder setAdditionalType(int value) { + copyOnWrite(); + instance.setAdditionalType(value); + return this; + } + /** + * optional uint32 additional_type = 23; + */ + public Builder clearAdditionalType() { + copyOnWrite(); + instance.clearAdditionalType(); + return this; + } + + /** + * optional string additional_data = 24; + */ + public java.lang.String getAdditionalData() { + return instance.getAdditionalData(); + } + /** + * optional string additional_data = 24; + */ + public com.google.protobuf.ByteString + getAdditionalDataBytes() { + return instance.getAdditionalDataBytes(); + } + /** + * optional string additional_data = 24; + */ + public Builder setAdditionalData( + java.lang.String value) { + copyOnWrite(); + instance.setAdditionalData(value); + return this; + } + /** + * optional string additional_data = 24; + */ + public Builder clearAdditionalData() { + copyOnWrite(); + instance.clearAdditionalData(); + return this; + } + /** + * optional string additional_data = 24; + */ + public Builder setAdditionalDataBytes( + com.google.protobuf.ByteString value) { + copyOnWrite(); + instance.setAdditionalDataBytes(value); + return this; + } + /** * optional .proto.RoomMessage.ExtraType extra_type = 19; */ @@ -11339,6 +11501,10 @@ protected final Object dynamicMethod( other.previousMessageId_ != 0L, other.previousMessageId_); randomId_ = visitor.visitLong(randomId_ != 0L, randomId_, other.randomId_ != 0L, other.randomId_); + additionalType_ = visitor.visitInt(additionalType_ != 0, additionalType_, + other.additionalType_ != 0, other.additionalType_); + additionalData_ = visitor.visitString(!additionalData_.isEmpty(), additionalData_, + !other.additionalData_.isEmpty(), other.additionalData_); extraType_ = visitor.visitInt(extraType_ != 0, extraType_, other.extraType_ != 0, other.extraType_); channelExtra_ = visitor.visitMessage(channelExtra_, other.channelExtra_); if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor @@ -11551,6 +11717,17 @@ protected final Object dynamicMethod( break; } + case 184: { + + additionalType_ = input.readUInt32(); + break; + } + case 194: { + String s = input.readStringRequireUtf8(); + + additionalData_ = s; + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { diff --git a/src/main/java/net/iGap/proto/ProtoGroupSendMessage.java b/src/main/java/net/iGap/proto/ProtoGroupSendMessage.java index 2c5aff7..9880f0b 100644 --- a/src/main/java/net/iGap/proto/ProtoGroupSendMessage.java +++ b/src/main/java/net/iGap/proto/ProtoGroupSendMessage.java @@ -91,6 +91,21 @@ public interface GroupSendMessageOrBuilder extends * optional uint64 random_id = 10; */ long getRandomId(); + + /** + * optional uint32 additional_type = 11; + */ + int getAdditionalType(); + + /** + * optional string additional_data = 12; + */ + java.lang.String getAdditionalData(); + /** + * optional string additional_data = 12; + */ + com.google.protobuf.ByteString + getAdditionalDataBytes(); } /** * Protobuf type {@code proto.GroupSendMessage} @@ -103,6 +118,7 @@ public static final class GroupSendMessage extends private GroupSendMessage() { message_ = ""; attachment_ = ""; + additionalData_ = ""; } public static final int REQUEST_FIELD_NUMBER = 1; private net.iGap.proto.ProtoRequest.Request request_; @@ -512,6 +528,75 @@ private void clearRandomId() { randomId_ = 0L; } + public static final int ADDITIONAL_TYPE_FIELD_NUMBER = 11; + private int additionalType_; + /** + * optional uint32 additional_type = 11; + */ + public int getAdditionalType() { + return additionalType_; + } + /** + * optional uint32 additional_type = 11; + */ + private void setAdditionalType(int value) { + + additionalType_ = value; + } + /** + * optional uint32 additional_type = 11; + */ + private void clearAdditionalType() { + + additionalType_ = 0; + } + + public static final int ADDITIONAL_DATA_FIELD_NUMBER = 12; + private java.lang.String additionalData_; + /** + * optional string additional_data = 12; + */ + public java.lang.String getAdditionalData() { + return additionalData_; + } + /** + * optional string additional_data = 12; + */ + public com.google.protobuf.ByteString + getAdditionalDataBytes() { + return com.google.protobuf.ByteString.copyFromUtf8(additionalData_); + } + /** + * optional string additional_data = 12; + */ + private void setAdditionalData( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + additionalData_ = value; + } + /** + * optional string additional_data = 12; + */ + private void clearAdditionalData() { + + additionalData_ = getDefaultInstance().getAdditionalData(); + } + /** + * optional string additional_data = 12; + */ + private void setAdditionalDataBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + additionalData_ = value.toStringUtf8(); + } + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (request_ != null) { @@ -544,6 +629,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (randomId_ != 0L) { output.writeUInt64(10, randomId_); } + if (additionalType_ != 0) { + output.writeUInt32(11, additionalType_); + } + if (!additionalData_.isEmpty()) { + output.writeString(12, getAdditionalData()); + } } public int getSerializedSize() { @@ -591,6 +682,14 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(10, randomId_); } + if (additionalType_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(11, additionalType_); + } + if (!additionalData_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeStringSize(12, getAdditionalData()); + } memoizedSerializedSize = size; return size; } @@ -1043,6 +1142,69 @@ public Builder clearRandomId() { return this; } + /** + * optional uint32 additional_type = 11; + */ + public int getAdditionalType() { + return instance.getAdditionalType(); + } + /** + * optional uint32 additional_type = 11; + */ + public Builder setAdditionalType(int value) { + copyOnWrite(); + instance.setAdditionalType(value); + return this; + } + /** + * optional uint32 additional_type = 11; + */ + public Builder clearAdditionalType() { + copyOnWrite(); + instance.clearAdditionalType(); + return this; + } + + /** + * optional string additional_data = 12; + */ + public java.lang.String getAdditionalData() { + return instance.getAdditionalData(); + } + /** + * optional string additional_data = 12; + */ + public com.google.protobuf.ByteString + getAdditionalDataBytes() { + return instance.getAdditionalDataBytes(); + } + /** + * optional string additional_data = 12; + */ + public Builder setAdditionalData( + java.lang.String value) { + copyOnWrite(); + instance.setAdditionalData(value); + return this; + } + /** + * optional string additional_data = 12; + */ + public Builder clearAdditionalData() { + copyOnWrite(); + instance.clearAdditionalData(); + return this; + } + /** + * optional string additional_data = 12; + */ + public Builder setAdditionalDataBytes( + com.google.protobuf.ByteString value) { + copyOnWrite(); + instance.setAdditionalDataBytes(value); + return this; + } + // @@protoc_insertion_point(builder_scope:proto.GroupSendMessage) } protected final Object dynamicMethod( @@ -1079,6 +1241,10 @@ protected final Object dynamicMethod( forwardFrom_ = visitor.visitMessage(forwardFrom_, other.forwardFrom_); randomId_ = visitor.visitLong(randomId_ != 0L, randomId_, other.randomId_ != 0L, other.randomId_); + additionalType_ = visitor.visitInt(additionalType_ != 0, additionalType_, + other.additionalType_ != 0, other.additionalType_); + additionalData_ = visitor.visitString(!additionalData_.isEmpty(), additionalData_, + !other.additionalData_.isEmpty(), other.additionalData_); if (visitor == com.google.protobuf.GeneratedMessageLite.MergeFromVisitor .INSTANCE) { } @@ -1188,6 +1354,17 @@ protected final Object dynamicMethod( randomId_ = input.readUInt64(); break; } + case 88: { + + additionalType_ = input.readUInt32(); + break; + } + case 98: { + String s = input.readStringRequireUtf8(); + + additionalData_ = s; + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) {