mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-11 23:43:38 +00:00
clean proto
This commit is contained in:
parent
9f26436041
commit
5c9ddef19b
@ -304,12 +304,6 @@ message GroupContext {
|
|||||||
repeated string members = 4;
|
repeated string members = 4;
|
||||||
optional AttachmentPointer avatar = 5;
|
optional AttachmentPointer avatar = 5;
|
||||||
repeated string admins = 6;
|
repeated string admins = 6;
|
||||||
|
|
||||||
// Loki - These fields are only used internally for the Android code base.
|
|
||||||
// This is so that we can differentiate adding/kicking.
|
|
||||||
// DO NOT USE WHEN SENDING MESSAGES.
|
|
||||||
repeated string newMembers = 998;
|
|
||||||
repeated string removedMembers = 999;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message ContactDetails {
|
message ContactDetails {
|
||||||
|
@ -26967,70 +26967,6 @@ public final class SignalServiceProtos {
|
|||||||
*/
|
*/
|
||||||
com.google.protobuf.ByteString
|
com.google.protobuf.ByteString
|
||||||
getAdminsBytes(int index);
|
getAdminsBytes(int index);
|
||||||
|
|
||||||
// repeated string newMembers = 998;
|
|
||||||
/**
|
|
||||||
* <code>repeated string newMembers = 998;</code>
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* Loki - These fields are only used internally for the Android code base.
|
|
||||||
* This is so that we can differentiate adding/kicking.
|
|
||||||
* DO NOT USE WHEN SENDING MESSAGES.
|
|
||||||
* </pre>
|
|
||||||
*/
|
|
||||||
java.util.List<java.lang.String>
|
|
||||||
getNewMembersList();
|
|
||||||
/**
|
|
||||||
* <code>repeated string newMembers = 998;</code>
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* Loki - These fields are only used internally for the Android code base.
|
|
||||||
* This is so that we can differentiate adding/kicking.
|
|
||||||
* DO NOT USE WHEN SENDING MESSAGES.
|
|
||||||
* </pre>
|
|
||||||
*/
|
|
||||||
int getNewMembersCount();
|
|
||||||
/**
|
|
||||||
* <code>repeated string newMembers = 998;</code>
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* Loki - These fields are only used internally for the Android code base.
|
|
||||||
* This is so that we can differentiate adding/kicking.
|
|
||||||
* DO NOT USE WHEN SENDING MESSAGES.
|
|
||||||
* </pre>
|
|
||||||
*/
|
|
||||||
java.lang.String getNewMembers(int index);
|
|
||||||
/**
|
|
||||||
* <code>repeated string newMembers = 998;</code>
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* Loki - These fields are only used internally for the Android code base.
|
|
||||||
* This is so that we can differentiate adding/kicking.
|
|
||||||
* DO NOT USE WHEN SENDING MESSAGES.
|
|
||||||
* </pre>
|
|
||||||
*/
|
|
||||||
com.google.protobuf.ByteString
|
|
||||||
getNewMembersBytes(int index);
|
|
||||||
|
|
||||||
// repeated string removedMembers = 999;
|
|
||||||
/**
|
|
||||||
* <code>repeated string removedMembers = 999;</code>
|
|
||||||
*/
|
|
||||||
java.util.List<java.lang.String>
|
|
||||||
getRemovedMembersList();
|
|
||||||
/**
|
|
||||||
* <code>repeated string removedMembers = 999;</code>
|
|
||||||
*/
|
|
||||||
int getRemovedMembersCount();
|
|
||||||
/**
|
|
||||||
* <code>repeated string removedMembers = 999;</code>
|
|
||||||
*/
|
|
||||||
java.lang.String getRemovedMembers(int index);
|
|
||||||
/**
|
|
||||||
* <code>repeated string removedMembers = 999;</code>
|
|
||||||
*/
|
|
||||||
com.google.protobuf.ByteString
|
|
||||||
getRemovedMembersBytes(int index);
|
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Protobuf type {@code signalservice.GroupContext}
|
* Protobuf type {@code signalservice.GroupContext}
|
||||||
@ -27133,22 +27069,6 @@ public final class SignalServiceProtos {
|
|||||||
admins_.add(input.readBytes());
|
admins_.add(input.readBytes());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 7986: {
|
|
||||||
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
|
|
||||||
newMembers_ = new com.google.protobuf.LazyStringArrayList();
|
|
||||||
mutable_bitField0_ |= 0x00000040;
|
|
||||||
}
|
|
||||||
newMembers_.add(input.readBytes());
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 7994: {
|
|
||||||
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
|
|
||||||
removedMembers_ = new com.google.protobuf.LazyStringArrayList();
|
|
||||||
mutable_bitField0_ |= 0x00000080;
|
|
||||||
}
|
|
||||||
removedMembers_.add(input.readBytes());
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||||
@ -27163,12 +27083,6 @@ public final class SignalServiceProtos {
|
|||||||
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
|
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
|
||||||
admins_ = new com.google.protobuf.UnmodifiableLazyStringList(admins_);
|
admins_ = new com.google.protobuf.UnmodifiableLazyStringList(admins_);
|
||||||
}
|
}
|
||||||
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
|
|
||||||
newMembers_ = new com.google.protobuf.UnmodifiableLazyStringList(newMembers_);
|
|
||||||
}
|
|
||||||
if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
|
|
||||||
removedMembers_ = new com.google.protobuf.UnmodifiableLazyStringList(removedMembers_);
|
|
||||||
}
|
|
||||||
this.unknownFields = unknownFields.build();
|
this.unknownFields = unknownFields.build();
|
||||||
makeExtensionsImmutable();
|
makeExtensionsImmutable();
|
||||||
}
|
}
|
||||||
@ -27483,90 +27397,6 @@ public final class SignalServiceProtos {
|
|||||||
return admins_.getByteString(index);
|
return admins_.getByteString(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
// repeated string newMembers = 998;
|
|
||||||
public static final int NEWMEMBERS_FIELD_NUMBER = 998;
|
|
||||||
private com.google.protobuf.LazyStringList newMembers_;
|
|
||||||
/**
|
|
||||||
* <code>repeated string newMembers = 998;</code>
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* Loki - These fields are only used internally for the Android code base.
|
|
||||||
* This is so that we can differentiate adding/kicking.
|
|
||||||
* DO NOT USE WHEN SENDING MESSAGES.
|
|
||||||
* </pre>
|
|
||||||
*/
|
|
||||||
public java.util.List<java.lang.String>
|
|
||||||
getNewMembersList() {
|
|
||||||
return newMembers_;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string newMembers = 998;</code>
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* Loki - These fields are only used internally for the Android code base.
|
|
||||||
* This is so that we can differentiate adding/kicking.
|
|
||||||
* DO NOT USE WHEN SENDING MESSAGES.
|
|
||||||
* </pre>
|
|
||||||
*/
|
|
||||||
public int getNewMembersCount() {
|
|
||||||
return newMembers_.size();
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string newMembers = 998;</code>
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* Loki - These fields are only used internally for the Android code base.
|
|
||||||
* This is so that we can differentiate adding/kicking.
|
|
||||||
* DO NOT USE WHEN SENDING MESSAGES.
|
|
||||||
* </pre>
|
|
||||||
*/
|
|
||||||
public java.lang.String getNewMembers(int index) {
|
|
||||||
return newMembers_.get(index);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string newMembers = 998;</code>
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* Loki - These fields are only used internally for the Android code base.
|
|
||||||
* This is so that we can differentiate adding/kicking.
|
|
||||||
* DO NOT USE WHEN SENDING MESSAGES.
|
|
||||||
* </pre>
|
|
||||||
*/
|
|
||||||
public com.google.protobuf.ByteString
|
|
||||||
getNewMembersBytes(int index) {
|
|
||||||
return newMembers_.getByteString(index);
|
|
||||||
}
|
|
||||||
|
|
||||||
// repeated string removedMembers = 999;
|
|
||||||
public static final int REMOVEDMEMBERS_FIELD_NUMBER = 999;
|
|
||||||
private com.google.protobuf.LazyStringList removedMembers_;
|
|
||||||
/**
|
|
||||||
* <code>repeated string removedMembers = 999;</code>
|
|
||||||
*/
|
|
||||||
public java.util.List<java.lang.String>
|
|
||||||
getRemovedMembersList() {
|
|
||||||
return removedMembers_;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string removedMembers = 999;</code>
|
|
||||||
*/
|
|
||||||
public int getRemovedMembersCount() {
|
|
||||||
return removedMembers_.size();
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string removedMembers = 999;</code>
|
|
||||||
*/
|
|
||||||
public java.lang.String getRemovedMembers(int index) {
|
|
||||||
return removedMembers_.get(index);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string removedMembers = 999;</code>
|
|
||||||
*/
|
|
||||||
public com.google.protobuf.ByteString
|
|
||||||
getRemovedMembersBytes(int index) {
|
|
||||||
return removedMembers_.getByteString(index);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void initFields() {
|
private void initFields() {
|
||||||
id_ = com.google.protobuf.ByteString.EMPTY;
|
id_ = com.google.protobuf.ByteString.EMPTY;
|
||||||
type_ = org.session.libsignal.service.internal.push.SignalServiceProtos.GroupContext.Type.UNKNOWN;
|
type_ = org.session.libsignal.service.internal.push.SignalServiceProtos.GroupContext.Type.UNKNOWN;
|
||||||
@ -27574,8 +27404,6 @@ public final class SignalServiceProtos {
|
|||||||
members_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
members_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
||||||
avatar_ = org.session.libsignal.service.internal.push.SignalServiceProtos.AttachmentPointer.getDefaultInstance();
|
avatar_ = org.session.libsignal.service.internal.push.SignalServiceProtos.AttachmentPointer.getDefaultInstance();
|
||||||
admins_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
admins_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
||||||
newMembers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
|
||||||
removedMembers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
|
||||||
}
|
}
|
||||||
private byte memoizedIsInitialized = -1;
|
private byte memoizedIsInitialized = -1;
|
||||||
public final boolean isInitialized() {
|
public final boolean isInitialized() {
|
||||||
@ -27607,12 +27435,6 @@ public final class SignalServiceProtos {
|
|||||||
for (int i = 0; i < admins_.size(); i++) {
|
for (int i = 0; i < admins_.size(); i++) {
|
||||||
output.writeBytes(6, admins_.getByteString(i));
|
output.writeBytes(6, admins_.getByteString(i));
|
||||||
}
|
}
|
||||||
for (int i = 0; i < newMembers_.size(); i++) {
|
|
||||||
output.writeBytes(998, newMembers_.getByteString(i));
|
|
||||||
}
|
|
||||||
for (int i = 0; i < removedMembers_.size(); i++) {
|
|
||||||
output.writeBytes(999, removedMembers_.getByteString(i));
|
|
||||||
}
|
|
||||||
getUnknownFields().writeTo(output);
|
getUnknownFields().writeTo(output);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -27656,24 +27478,6 @@ public final class SignalServiceProtos {
|
|||||||
size += dataSize;
|
size += dataSize;
|
||||||
size += 1 * getAdminsList().size();
|
size += 1 * getAdminsList().size();
|
||||||
}
|
}
|
||||||
{
|
|
||||||
int dataSize = 0;
|
|
||||||
for (int i = 0; i < newMembers_.size(); i++) {
|
|
||||||
dataSize += com.google.protobuf.CodedOutputStream
|
|
||||||
.computeBytesSizeNoTag(newMembers_.getByteString(i));
|
|
||||||
}
|
|
||||||
size += dataSize;
|
|
||||||
size += 2 * getNewMembersList().size();
|
|
||||||
}
|
|
||||||
{
|
|
||||||
int dataSize = 0;
|
|
||||||
for (int i = 0; i < removedMembers_.size(); i++) {
|
|
||||||
dataSize += com.google.protobuf.CodedOutputStream
|
|
||||||
.computeBytesSizeNoTag(removedMembers_.getByteString(i));
|
|
||||||
}
|
|
||||||
size += dataSize;
|
|
||||||
size += 2 * getRemovedMembersList().size();
|
|
||||||
}
|
|
||||||
size += getUnknownFields().getSerializedSize();
|
size += getUnknownFields().getSerializedSize();
|
||||||
memoizedSerializedSize = size;
|
memoizedSerializedSize = size;
|
||||||
return size;
|
return size;
|
||||||
@ -27807,10 +27611,6 @@ public final class SignalServiceProtos {
|
|||||||
bitField0_ = (bitField0_ & ~0x00000010);
|
bitField0_ = (bitField0_ & ~0x00000010);
|
||||||
admins_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
admins_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
||||||
bitField0_ = (bitField0_ & ~0x00000020);
|
bitField0_ = (bitField0_ & ~0x00000020);
|
||||||
newMembers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
|
||||||
bitField0_ = (bitField0_ & ~0x00000040);
|
|
||||||
removedMembers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
|
||||||
bitField0_ = (bitField0_ & ~0x00000080);
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -27871,18 +27671,6 @@ public final class SignalServiceProtos {
|
|||||||
bitField0_ = (bitField0_ & ~0x00000020);
|
bitField0_ = (bitField0_ & ~0x00000020);
|
||||||
}
|
}
|
||||||
result.admins_ = admins_;
|
result.admins_ = admins_;
|
||||||
if (((bitField0_ & 0x00000040) == 0x00000040)) {
|
|
||||||
newMembers_ = new com.google.protobuf.UnmodifiableLazyStringList(
|
|
||||||
newMembers_);
|
|
||||||
bitField0_ = (bitField0_ & ~0x00000040);
|
|
||||||
}
|
|
||||||
result.newMembers_ = newMembers_;
|
|
||||||
if (((bitField0_ & 0x00000080) == 0x00000080)) {
|
|
||||||
removedMembers_ = new com.google.protobuf.UnmodifiableLazyStringList(
|
|
||||||
removedMembers_);
|
|
||||||
bitField0_ = (bitField0_ & ~0x00000080);
|
|
||||||
}
|
|
||||||
result.removedMembers_ = removedMembers_;
|
|
||||||
result.bitField0_ = to_bitField0_;
|
result.bitField0_ = to_bitField0_;
|
||||||
onBuilt();
|
onBuilt();
|
||||||
return result;
|
return result;
|
||||||
@ -27933,26 +27721,6 @@ public final class SignalServiceProtos {
|
|||||||
}
|
}
|
||||||
onChanged();
|
onChanged();
|
||||||
}
|
}
|
||||||
if (!other.newMembers_.isEmpty()) {
|
|
||||||
if (newMembers_.isEmpty()) {
|
|
||||||
newMembers_ = other.newMembers_;
|
|
||||||
bitField0_ = (bitField0_ & ~0x00000040);
|
|
||||||
} else {
|
|
||||||
ensureNewMembersIsMutable();
|
|
||||||
newMembers_.addAll(other.newMembers_);
|
|
||||||
}
|
|
||||||
onChanged();
|
|
||||||
}
|
|
||||||
if (!other.removedMembers_.isEmpty()) {
|
|
||||||
if (removedMembers_.isEmpty()) {
|
|
||||||
removedMembers_ = other.removedMembers_;
|
|
||||||
bitField0_ = (bitField0_ & ~0x00000080);
|
|
||||||
} else {
|
|
||||||
ensureRemovedMembersIsMutable();
|
|
||||||
removedMembers_.addAll(other.removedMembers_);
|
|
||||||
}
|
|
||||||
onChanged();
|
|
||||||
}
|
|
||||||
this.mergeUnknownFields(other.getUnknownFields());
|
this.mergeUnknownFields(other.getUnknownFields());
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -28461,246 +28229,6 @@ public final class SignalServiceProtos {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
// repeated string newMembers = 998;
|
|
||||||
private com.google.protobuf.LazyStringList newMembers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
|
||||||
private void ensureNewMembersIsMutable() {
|
|
||||||
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
|
|
||||||
newMembers_ = new com.google.protobuf.LazyStringArrayList(newMembers_);
|
|
||||||
bitField0_ |= 0x00000040;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string newMembers = 998;</code>
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* Loki - These fields are only used internally for the Android code base.
|
|
||||||
* This is so that we can differentiate adding/kicking.
|
|
||||||
* DO NOT USE WHEN SENDING MESSAGES.
|
|
||||||
* </pre>
|
|
||||||
*/
|
|
||||||
public java.util.List<java.lang.String>
|
|
||||||
getNewMembersList() {
|
|
||||||
return java.util.Collections.unmodifiableList(newMembers_);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string newMembers = 998;</code>
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* Loki - These fields are only used internally for the Android code base.
|
|
||||||
* This is so that we can differentiate adding/kicking.
|
|
||||||
* DO NOT USE WHEN SENDING MESSAGES.
|
|
||||||
* </pre>
|
|
||||||
*/
|
|
||||||
public int getNewMembersCount() {
|
|
||||||
return newMembers_.size();
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string newMembers = 998;</code>
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* Loki - These fields are only used internally for the Android code base.
|
|
||||||
* This is so that we can differentiate adding/kicking.
|
|
||||||
* DO NOT USE WHEN SENDING MESSAGES.
|
|
||||||
* </pre>
|
|
||||||
*/
|
|
||||||
public java.lang.String getNewMembers(int index) {
|
|
||||||
return newMembers_.get(index);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string newMembers = 998;</code>
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* Loki - These fields are only used internally for the Android code base.
|
|
||||||
* This is so that we can differentiate adding/kicking.
|
|
||||||
* DO NOT USE WHEN SENDING MESSAGES.
|
|
||||||
* </pre>
|
|
||||||
*/
|
|
||||||
public com.google.protobuf.ByteString
|
|
||||||
getNewMembersBytes(int index) {
|
|
||||||
return newMembers_.getByteString(index);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string newMembers = 998;</code>
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* Loki - These fields are only used internally for the Android code base.
|
|
||||||
* This is so that we can differentiate adding/kicking.
|
|
||||||
* DO NOT USE WHEN SENDING MESSAGES.
|
|
||||||
* </pre>
|
|
||||||
*/
|
|
||||||
public Builder setNewMembers(
|
|
||||||
int index, java.lang.String value) {
|
|
||||||
if (value == null) {
|
|
||||||
throw new NullPointerException();
|
|
||||||
}
|
|
||||||
ensureNewMembersIsMutable();
|
|
||||||
newMembers_.set(index, value);
|
|
||||||
onChanged();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string newMembers = 998;</code>
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* Loki - These fields are only used internally for the Android code base.
|
|
||||||
* This is so that we can differentiate adding/kicking.
|
|
||||||
* DO NOT USE WHEN SENDING MESSAGES.
|
|
||||||
* </pre>
|
|
||||||
*/
|
|
||||||
public Builder addNewMembers(
|
|
||||||
java.lang.String value) {
|
|
||||||
if (value == null) {
|
|
||||||
throw new NullPointerException();
|
|
||||||
}
|
|
||||||
ensureNewMembersIsMutable();
|
|
||||||
newMembers_.add(value);
|
|
||||||
onChanged();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string newMembers = 998;</code>
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* Loki - These fields are only used internally for the Android code base.
|
|
||||||
* This is so that we can differentiate adding/kicking.
|
|
||||||
* DO NOT USE WHEN SENDING MESSAGES.
|
|
||||||
* </pre>
|
|
||||||
*/
|
|
||||||
public Builder addAllNewMembers(
|
|
||||||
java.lang.Iterable<java.lang.String> values) {
|
|
||||||
ensureNewMembersIsMutable();
|
|
||||||
super.addAll(values, newMembers_);
|
|
||||||
onChanged();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string newMembers = 998;</code>
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* Loki - These fields are only used internally for the Android code base.
|
|
||||||
* This is so that we can differentiate adding/kicking.
|
|
||||||
* DO NOT USE WHEN SENDING MESSAGES.
|
|
||||||
* </pre>
|
|
||||||
*/
|
|
||||||
public Builder clearNewMembers() {
|
|
||||||
newMembers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
|
||||||
bitField0_ = (bitField0_ & ~0x00000040);
|
|
||||||
onChanged();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string newMembers = 998;</code>
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* Loki - These fields are only used internally for the Android code base.
|
|
||||||
* This is so that we can differentiate adding/kicking.
|
|
||||||
* DO NOT USE WHEN SENDING MESSAGES.
|
|
||||||
* </pre>
|
|
||||||
*/
|
|
||||||
public Builder addNewMembersBytes(
|
|
||||||
com.google.protobuf.ByteString value) {
|
|
||||||
if (value == null) {
|
|
||||||
throw new NullPointerException();
|
|
||||||
}
|
|
||||||
ensureNewMembersIsMutable();
|
|
||||||
newMembers_.add(value);
|
|
||||||
onChanged();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
// repeated string removedMembers = 999;
|
|
||||||
private com.google.protobuf.LazyStringList removedMembers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
|
||||||
private void ensureRemovedMembersIsMutable() {
|
|
||||||
if (!((bitField0_ & 0x00000080) == 0x00000080)) {
|
|
||||||
removedMembers_ = new com.google.protobuf.LazyStringArrayList(removedMembers_);
|
|
||||||
bitField0_ |= 0x00000080;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string removedMembers = 999;</code>
|
|
||||||
*/
|
|
||||||
public java.util.List<java.lang.String>
|
|
||||||
getRemovedMembersList() {
|
|
||||||
return java.util.Collections.unmodifiableList(removedMembers_);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string removedMembers = 999;</code>
|
|
||||||
*/
|
|
||||||
public int getRemovedMembersCount() {
|
|
||||||
return removedMembers_.size();
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string removedMembers = 999;</code>
|
|
||||||
*/
|
|
||||||
public java.lang.String getRemovedMembers(int index) {
|
|
||||||
return removedMembers_.get(index);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string removedMembers = 999;</code>
|
|
||||||
*/
|
|
||||||
public com.google.protobuf.ByteString
|
|
||||||
getRemovedMembersBytes(int index) {
|
|
||||||
return removedMembers_.getByteString(index);
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string removedMembers = 999;</code>
|
|
||||||
*/
|
|
||||||
public Builder setRemovedMembers(
|
|
||||||
int index, java.lang.String value) {
|
|
||||||
if (value == null) {
|
|
||||||
throw new NullPointerException();
|
|
||||||
}
|
|
||||||
ensureRemovedMembersIsMutable();
|
|
||||||
removedMembers_.set(index, value);
|
|
||||||
onChanged();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string removedMembers = 999;</code>
|
|
||||||
*/
|
|
||||||
public Builder addRemovedMembers(
|
|
||||||
java.lang.String value) {
|
|
||||||
if (value == null) {
|
|
||||||
throw new NullPointerException();
|
|
||||||
}
|
|
||||||
ensureRemovedMembersIsMutable();
|
|
||||||
removedMembers_.add(value);
|
|
||||||
onChanged();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string removedMembers = 999;</code>
|
|
||||||
*/
|
|
||||||
public Builder addAllRemovedMembers(
|
|
||||||
java.lang.Iterable<java.lang.String> values) {
|
|
||||||
ensureRemovedMembersIsMutable();
|
|
||||||
super.addAll(values, removedMembers_);
|
|
||||||
onChanged();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string removedMembers = 999;</code>
|
|
||||||
*/
|
|
||||||
public Builder clearRemovedMembers() {
|
|
||||||
removedMembers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
|
|
||||||
bitField0_ = (bitField0_ & ~0x00000080);
|
|
||||||
onChanged();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>repeated string removedMembers = 999;</code>
|
|
||||||
*/
|
|
||||||
public Builder addRemovedMembersBytes(
|
|
||||||
com.google.protobuf.ByteString value) {
|
|
||||||
if (value == null) {
|
|
||||||
throw new NullPointerException();
|
|
||||||
}
|
|
||||||
ensureRemovedMembersIsMutable();
|
|
||||||
removedMembers_.add(value);
|
|
||||||
onChanged();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(builder_scope:signalservice.GroupContext)
|
// @@protoc_insertion_point(builder_scope:signalservice.GroupContext)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -33464,29 +32992,28 @@ public final class SignalServiceProtos {
|
|||||||
"\020\n\010fileName\030\007 \001(\t\022\r\n\005flags\030\010 \001(\r\022\r\n\005widt",
|
"\020\n\010fileName\030\007 \001(\t\022\r\n\005flags\030\010 \001(\r\022\r\n\005widt",
|
||||||
"h\030\t \001(\r\022\016\n\006height\030\n \001(\r\022\017\n\007caption\030\013 \001(\t" +
|
"h\030\t \001(\r\022\016\n\006height\030\n \001(\r\022\017\n\007caption\030\013 \001(\t" +
|
||||||
"\022\013\n\003url\030e \001(\t\"\032\n\005Flags\022\021\n\rVOICE_MESSAGE\020" +
|
"\022\013\n\003url\030e \001(\t\"\032\n\005Flags\022\021\n\rVOICE_MESSAGE\020" +
|
||||||
"\001\"\243\002\n\014GroupContext\022\n\n\002id\030\001 \001(\014\022.\n\004type\030\002" +
|
"\001\"\365\001\n\014GroupContext\022\n\n\002id\030\001 \001(\014\022.\n\004type\030\002" +
|
||||||
" \001(\0162 .signalservice.GroupContext.Type\022\014" +
|
" \001(\0162 .signalservice.GroupContext.Type\022\014" +
|
||||||
"\n\004name\030\003 \001(\t\022\017\n\007members\030\004 \003(\t\0220\n\006avatar\030" +
|
"\n\004name\030\003 \001(\t\022\017\n\007members\030\004 \003(\t\0220\n\006avatar\030" +
|
||||||
"\005 \001(\0132 .signalservice.AttachmentPointer\022" +
|
"\005 \001(\0132 .signalservice.AttachmentPointer\022" +
|
||||||
"\016\n\006admins\030\006 \003(\t\022\023\n\nnewMembers\030\346\007 \003(\t\022\027\n\016" +
|
"\016\n\006admins\030\006 \003(\t\"H\n\004Type\022\013\n\007UNKNOWN\020\000\022\n\n\006" +
|
||||||
"removedMembers\030\347\007 \003(\t\"H\n\004Type\022\013\n\007UNKNOWN" +
|
"UPDATE\020\001\022\013\n\007DELIVER\020\002\022\010\n\004QUIT\020\003\022\020\n\014REQUE" +
|
||||||
"\020\000\022\n\n\006UPDATE\020\001\022\013\n\007DELIVER\020\002\022\010\n\004QUIT\020\003\022\020\n" +
|
"ST_INFO\020\004\"\356\001\n\016ContactDetails\022\016\n\006number\030\001" +
|
||||||
"\014REQUEST_INFO\020\004\"\356\001\n\016ContactDetails\022\016\n\006nu",
|
" \001(\t\022\014\n\004name\030\002 \001(\t\0224\n\006avatar\030\003 \001(\0132$.sig",
|
||||||
"mber\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\0224\n\006avatar\030\003 \001(\013" +
|
"nalservice.ContactDetails.Avatar\022\r\n\005colo" +
|
||||||
"2$.signalservice.ContactDetails.Avatar\022\r" +
|
"r\030\004 \001(\t\022\022\n\nprofileKey\030\006 \001(\014\022\017\n\007blocked\030\007" +
|
||||||
"\n\005color\030\004 \001(\t\022\022\n\nprofileKey\030\006 \001(\014\022\017\n\007blo" +
|
" \001(\010\022\023\n\013expireTimer\030\010 \001(\r\022\020\n\010nickname\030e " +
|
||||||
"cked\030\007 \001(\010\022\023\n\013expireTimer\030\010 \001(\r\022\020\n\010nickn" +
|
"\001(\t\032-\n\006Avatar\022\023\n\013contentType\030\001 \001(\t\022\016\n\006le" +
|
||||||
"ame\030e \001(\t\032-\n\006Avatar\022\023\n\013contentType\030\001 \001(\t" +
|
"ngth\030\002 \001(\r\"\367\001\n\014GroupDetails\022\n\n\002id\030\001 \001(\014\022" +
|
||||||
"\022\016\n\006length\030\002 \001(\r\"\367\001\n\014GroupDetails\022\n\n\002id\030" +
|
"\014\n\004name\030\002 \001(\t\022\017\n\007members\030\003 \003(\t\0222\n\006avatar" +
|
||||||
"\001 \001(\014\022\014\n\004name\030\002 \001(\t\022\017\n\007members\030\003 \003(\t\0222\n\006" +
|
"\030\004 \001(\0132\".signalservice.GroupDetails.Avat" +
|
||||||
"avatar\030\004 \001(\0132\".signalservice.GroupDetail" +
|
"ar\022\024\n\006active\030\005 \001(\010:\004true\022\023\n\013expireTimer\030" +
|
||||||
"s.Avatar\022\024\n\006active\030\005 \001(\010:\004true\022\023\n\013expire" +
|
"\006 \001(\r\022\r\n\005color\030\007 \001(\t\022\017\n\007blocked\030\010 \001(\010\022\016\n" +
|
||||||
"Timer\030\006 \001(\r\022\r\n\005color\030\007 \001(\t\022\017\n\007blocked\030\010 ",
|
"\006admins\030\t \003(\t\032-\n\006Avatar\022\023\n\013contentType\030\001",
|
||||||
"\001(\010\022\016\n\006admins\030\t \003(\t\032-\n\006Avatar\022\023\n\013content" +
|
" \001(\t\022\016\n\006length\030\002 \001(\r\"\"\n\016PublicChatInfo\022\020" +
|
||||||
"Type\030\001 \001(\t\022\016\n\006length\030\002 \001(\r\"\"\n\016PublicChat" +
|
"\n\010serverID\030\001 \001(\004BB\n+org.session.libsigna" +
|
||||||
"Info\022\020\n\010serverID\030\001 \001(\004BB\n+org.session.li" +
|
"l.service.internal.pushB\023SignalServicePr" +
|
||||||
"bsignal.service.internal.pushB\023SignalSer" +
|
"otos"
|
||||||
"viceProtos"
|
|
||||||
};
|
};
|
||||||
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
||||||
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
|
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
|
||||||
@ -33642,7 +33169,7 @@ public final class SignalServiceProtos {
|
|||||||
internal_static_signalservice_GroupContext_fieldAccessorTable = new
|
internal_static_signalservice_GroupContext_fieldAccessorTable = new
|
||||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||||
internal_static_signalservice_GroupContext_descriptor,
|
internal_static_signalservice_GroupContext_descriptor,
|
||||||
new java.lang.String[] { "Id", "Type", "Name", "Members", "Avatar", "Admins", "NewMembers", "RemovedMembers", });
|
new java.lang.String[] { "Id", "Type", "Name", "Members", "Avatar", "Admins", });
|
||||||
internal_static_signalservice_ContactDetails_descriptor =
|
internal_static_signalservice_ContactDetails_descriptor =
|
||||||
getDescriptor().getMessageTypes().get(11);
|
getDescriptor().getMessageTypes().get(11);
|
||||||
internal_static_signalservice_ContactDetails_fieldAccessorTable = new
|
internal_static_signalservice_ContactDetails_fieldAccessorTable = new
|
||||||
|
Loading…
x
Reference in New Issue
Block a user