Move protos

This commit is contained in:
Niels Andriesse 2021-05-18 09:36:20 +10:00
parent 961972a723
commit c124f86f6b
7 changed files with 159 additions and 159 deletions

View File

@ -3,7 +3,7 @@ package org.thoughtcrime.securesms.loki.utilities
import android.content.Context import android.content.Context
import android.content.Intent import android.content.Intent
import androidx.localbroadcastmanager.content.LocalBroadcastManager import androidx.localbroadcastmanager.content.LocalBroadcastManager
import org.session.libsignal.service.loki.Broadcaster import org.session.libsignal.utilities.Broadcaster
class Broadcaster(private val context: Context) : Broadcaster { class Broadcaster(private val context: Context) : Broadcaster {

View File

@ -3,8 +3,8 @@ package org.session.libsession.messaging.utilities
import com.google.protobuf.ByteString import com.google.protobuf.ByteString
import org.session.libsignal.utilities.Log import org.session.libsignal.utilities.Log
import org.session.libsignal.service.internal.push.SignalServiceProtos.Envelope import org.session.libsignal.service.internal.push.SignalServiceProtos.Envelope
import org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage import org.session.libsignal.protos.WebSocketProtos.WebSocketMessage
import org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage import org.session.libsignal.protos.WebSocketProtos.WebSocketRequestMessage
import java.security.SecureRandom import java.security.SecureRandom
object MessageWrapper { object MessageWrapper {

View File

@ -18,7 +18,7 @@ import org.session.libsession.utilities.getBodyForOnionRequest
import org.session.libsession.utilities.getHeadersForOnionRequest import org.session.libsession.utilities.getHeadersForOnionRequest
import org.session.libsignal.crypto.getRandomElement import org.session.libsignal.crypto.getRandomElement
import org.session.libsignal.crypto.getRandomElementOrNull import org.session.libsignal.crypto.getRandomElementOrNull
import org.session.libsignal.service.loki.Broadcaster import org.session.libsignal.utilities.Broadcaster
import org.session.libsignal.utilities.HTTP import org.session.libsignal.utilities.HTTP
import org.session.libsignal.service.loki.LokiAPIDatabaseProtocol import org.session.libsignal.service.loki.LokiAPIDatabaseProtocol

View File

@ -12,7 +12,7 @@ import org.session.libsignal.service.internal.push.SignalServiceProtos
import org.session.libsignal.service.loki.Snode import org.session.libsignal.service.loki.Snode
import org.session.libsignal.utilities.HTTP import org.session.libsignal.utilities.HTTP
import org.session.libsignal.service.loki.LokiAPIDatabaseProtocol import org.session.libsignal.service.loki.LokiAPIDatabaseProtocol
import org.session.libsignal.service.loki.Broadcaster import org.session.libsignal.utilities.Broadcaster
import org.session.libsignal.utilities.prettifiedDescription import org.session.libsignal.utilities.prettifiedDescription
import org.session.libsignal.utilities.removing05PrefixIfNeeded import org.session.libsignal.utilities.removing05PrefixIfNeeded
import org.session.libsignal.utilities.retryIfNeeded import org.session.libsignal.utilities.retryIfNeeded

View File

@ -1,7 +1,7 @@
package org.session.libsession.snode package org.session.libsession.snode
import org.session.libsignal.service.loki.LokiAPIDatabaseProtocol import org.session.libsignal.service.loki.LokiAPIDatabaseProtocol
import org.session.libsignal.service.loki.Broadcaster import org.session.libsignal.utilities.Broadcaster
class SnodeModule(val storage: LokiAPIDatabaseProtocol, val broadcaster: Broadcaster) { class SnodeModule(val storage: LokiAPIDatabaseProtocol, val broadcaster: Broadcaster) {

View File

@ -1,7 +1,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT! // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: WebSocketResources.proto // source: WebSocketResources.proto
package org.session.libsignal.service.internal.websocket; package org.session.libsignal.protos;
public final class WebSocketProtos { public final class WebSocketProtos {
private WebSocketProtos() {} private WebSocketProtos() {}
@ -177,14 +177,14 @@ public final class WebSocketProtos {
} }
public static final com.google.protobuf.Descriptors.Descriptor public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() { getDescriptor() {
return org.session.libsignal.service.internal.websocket.WebSocketProtos.internal_static_signalservice_WebSocketRequestMessage_descriptor; return WebSocketProtos.internal_static_signalservice_WebSocketRequestMessage_descriptor;
} }
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() { internalGetFieldAccessorTable() {
return org.session.libsignal.service.internal.websocket.WebSocketProtos.internal_static_signalservice_WebSocketRequestMessage_fieldAccessorTable return WebSocketProtos.internal_static_signalservice_WebSocketRequestMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized( .ensureFieldAccessorsInitialized(
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage.class, org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage.Builder.class); WebSocketProtos.WebSocketRequestMessage.class, WebSocketProtos.WebSocketRequestMessage.Builder.class);
} }
public static com.google.protobuf.Parser<WebSocketRequestMessage> PARSER = public static com.google.protobuf.Parser<WebSocketRequestMessage> PARSER =
@ -431,53 +431,53 @@ public final class WebSocketProtos {
return super.writeReplace(); return super.writeReplace();
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage parseFrom( public static WebSocketProtos.WebSocketRequestMessage parseFrom(
com.google.protobuf.ByteString data) com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data); return PARSER.parseFrom(data);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage parseFrom( public static WebSocketProtos.WebSocketRequestMessage parseFrom(
com.google.protobuf.ByteString data, com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry); return PARSER.parseFrom(data, extensionRegistry);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage parseFrom(byte[] data) public static WebSocketProtos.WebSocketRequestMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data); return PARSER.parseFrom(data);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage parseFrom( public static WebSocketProtos.WebSocketRequestMessage parseFrom(
byte[] data, byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry); return PARSER.parseFrom(data, extensionRegistry);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage parseFrom(java.io.InputStream input) public static WebSocketProtos.WebSocketRequestMessage parseFrom(java.io.InputStream input)
throws java.io.IOException { throws java.io.IOException {
return PARSER.parseFrom(input); return PARSER.parseFrom(input);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage parseFrom( public static WebSocketProtos.WebSocketRequestMessage parseFrom(
java.io.InputStream input, java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException { throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry); return PARSER.parseFrom(input, extensionRegistry);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage parseDelimitedFrom(java.io.InputStream input) public static WebSocketProtos.WebSocketRequestMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException { throws java.io.IOException {
return PARSER.parseDelimitedFrom(input); return PARSER.parseDelimitedFrom(input);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage parseDelimitedFrom( public static WebSocketProtos.WebSocketRequestMessage parseDelimitedFrom(
java.io.InputStream input, java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException { throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry); return PARSER.parseDelimitedFrom(input, extensionRegistry);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage parseFrom( public static WebSocketProtos.WebSocketRequestMessage parseFrom(
com.google.protobuf.CodedInputStream input) com.google.protobuf.CodedInputStream input)
throws java.io.IOException { throws java.io.IOException {
return PARSER.parseFrom(input); return PARSER.parseFrom(input);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage parseFrom( public static WebSocketProtos.WebSocketRequestMessage parseFrom(
com.google.protobuf.CodedInputStream input, com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException { throws java.io.IOException {
@ -486,7 +486,7 @@ public final class WebSocketProtos {
public static Builder newBuilder() { return Builder.create(); } public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); } public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage prototype) { public static Builder newBuilder(WebSocketProtos.WebSocketRequestMessage prototype) {
return newBuilder().mergeFrom(prototype); return newBuilder().mergeFrom(prototype);
} }
public Builder toBuilder() { return newBuilder(this); } public Builder toBuilder() { return newBuilder(this); }
@ -502,20 +502,20 @@ public final class WebSocketProtos {
*/ */
public static final class Builder extends public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder> com.google.protobuf.GeneratedMessage.Builder<Builder>
implements org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessageOrBuilder { implements WebSocketProtos.WebSocketRequestMessageOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() { getDescriptor() {
return org.session.libsignal.service.internal.websocket.WebSocketProtos.internal_static_signalservice_WebSocketRequestMessage_descriptor; return WebSocketProtos.internal_static_signalservice_WebSocketRequestMessage_descriptor;
} }
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() { internalGetFieldAccessorTable() {
return org.session.libsignal.service.internal.websocket.WebSocketProtos.internal_static_signalservice_WebSocketRequestMessage_fieldAccessorTable return WebSocketProtos.internal_static_signalservice_WebSocketRequestMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized( .ensureFieldAccessorsInitialized(
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage.class, org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage.Builder.class); WebSocketProtos.WebSocketRequestMessage.class, WebSocketProtos.WebSocketRequestMessage.Builder.class);
} }
// Construct using org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage.newBuilder() // Construct using org.session.libsignal.protos.WebSocketProtos.WebSocketRequestMessage.newBuilder()
private Builder() { private Builder() {
maybeForceBuilderInitialization(); maybeForceBuilderInitialization();
} }
@ -554,23 +554,23 @@ public final class WebSocketProtos {
public com.google.protobuf.Descriptors.Descriptor public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() { getDescriptorForType() {
return org.session.libsignal.service.internal.websocket.WebSocketProtos.internal_static_signalservice_WebSocketRequestMessage_descriptor; return WebSocketProtos.internal_static_signalservice_WebSocketRequestMessage_descriptor;
} }
public org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage getDefaultInstanceForType() { public WebSocketProtos.WebSocketRequestMessage getDefaultInstanceForType() {
return org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage.getDefaultInstance(); return WebSocketProtos.WebSocketRequestMessage.getDefaultInstance();
} }
public org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage build() { public WebSocketProtos.WebSocketRequestMessage build() {
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage result = buildPartial(); WebSocketProtos.WebSocketRequestMessage result = buildPartial();
if (!result.isInitialized()) { if (!result.isInitialized()) {
throw newUninitializedMessageException(result); throw newUninitializedMessageException(result);
} }
return result; return result;
} }
public org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage buildPartial() { public WebSocketProtos.WebSocketRequestMessage buildPartial() {
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage result = new org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage(this); WebSocketProtos.WebSocketRequestMessage result = new WebSocketProtos.WebSocketRequestMessage(this);
int from_bitField0_ = bitField0_; int from_bitField0_ = bitField0_;
int to_bitField0_ = 0; int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) { if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
@ -601,16 +601,16 @@ public final class WebSocketProtos {
} }
public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage) { if (other instanceof WebSocketProtos.WebSocketRequestMessage) {
return mergeFrom((org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage)other); return mergeFrom((WebSocketProtos.WebSocketRequestMessage)other);
} else { } else {
super.mergeFrom(other); super.mergeFrom(other);
return this; return this;
} }
} }
public Builder mergeFrom(org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage other) { public Builder mergeFrom(WebSocketProtos.WebSocketRequestMessage other) {
if (other == org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage.getDefaultInstance()) return this; if (other == WebSocketProtos.WebSocketRequestMessage.getDefaultInstance()) return this;
if (other.hasVerb()) { if (other.hasVerb()) {
bitField0_ |= 0x00000001; bitField0_ |= 0x00000001;
verb_ = other.verb_; verb_ = other.verb_;
@ -649,11 +649,11 @@ public final class WebSocketProtos {
com.google.protobuf.CodedInputStream input, com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException { throws java.io.IOException {
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage parsedMessage = null; WebSocketProtos.WebSocketRequestMessage parsedMessage = null;
try { try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) { } catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage) e.getUnfinishedMessage(); parsedMessage = (WebSocketProtos.WebSocketRequestMessage) e.getUnfinishedMessage();
throw e; throw e;
} finally { } finally {
if (parsedMessage != null) { if (parsedMessage != null) {
@ -1149,14 +1149,14 @@ public final class WebSocketProtos {
} }
public static final com.google.protobuf.Descriptors.Descriptor public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() { getDescriptor() {
return org.session.libsignal.service.internal.websocket.WebSocketProtos.internal_static_signalservice_WebSocketResponseMessage_descriptor; return WebSocketProtos.internal_static_signalservice_WebSocketResponseMessage_descriptor;
} }
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() { internalGetFieldAccessorTable() {
return org.session.libsignal.service.internal.websocket.WebSocketProtos.internal_static_signalservice_WebSocketResponseMessage_fieldAccessorTable return WebSocketProtos.internal_static_signalservice_WebSocketResponseMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized( .ensureFieldAccessorsInitialized(
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage.class, org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage.Builder.class); WebSocketProtos.WebSocketResponseMessage.class, WebSocketProtos.WebSocketResponseMessage.Builder.class);
} }
public static com.google.protobuf.Parser<WebSocketResponseMessage> PARSER = public static com.google.protobuf.Parser<WebSocketResponseMessage> PARSER =
@ -1376,53 +1376,53 @@ public final class WebSocketProtos {
return super.writeReplace(); return super.writeReplace();
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage parseFrom( public static WebSocketProtos.WebSocketResponseMessage parseFrom(
com.google.protobuf.ByteString data) com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data); return PARSER.parseFrom(data);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage parseFrom( public static WebSocketProtos.WebSocketResponseMessage parseFrom(
com.google.protobuf.ByteString data, com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry); return PARSER.parseFrom(data, extensionRegistry);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage parseFrom(byte[] data) public static WebSocketProtos.WebSocketResponseMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data); return PARSER.parseFrom(data);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage parseFrom( public static WebSocketProtos.WebSocketResponseMessage parseFrom(
byte[] data, byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry); return PARSER.parseFrom(data, extensionRegistry);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage parseFrom(java.io.InputStream input) public static WebSocketProtos.WebSocketResponseMessage parseFrom(java.io.InputStream input)
throws java.io.IOException { throws java.io.IOException {
return PARSER.parseFrom(input); return PARSER.parseFrom(input);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage parseFrom( public static WebSocketProtos.WebSocketResponseMessage parseFrom(
java.io.InputStream input, java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException { throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry); return PARSER.parseFrom(input, extensionRegistry);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage parseDelimitedFrom(java.io.InputStream input) public static WebSocketProtos.WebSocketResponseMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException { throws java.io.IOException {
return PARSER.parseDelimitedFrom(input); return PARSER.parseDelimitedFrom(input);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage parseDelimitedFrom( public static WebSocketProtos.WebSocketResponseMessage parseDelimitedFrom(
java.io.InputStream input, java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException { throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry); return PARSER.parseDelimitedFrom(input, extensionRegistry);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage parseFrom( public static WebSocketProtos.WebSocketResponseMessage parseFrom(
com.google.protobuf.CodedInputStream input) com.google.protobuf.CodedInputStream input)
throws java.io.IOException { throws java.io.IOException {
return PARSER.parseFrom(input); return PARSER.parseFrom(input);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage parseFrom( public static WebSocketProtos.WebSocketResponseMessage parseFrom(
com.google.protobuf.CodedInputStream input, com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException { throws java.io.IOException {
@ -1431,7 +1431,7 @@ public final class WebSocketProtos {
public static Builder newBuilder() { return Builder.create(); } public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); } public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage prototype) { public static Builder newBuilder(WebSocketProtos.WebSocketResponseMessage prototype) {
return newBuilder().mergeFrom(prototype); return newBuilder().mergeFrom(prototype);
} }
public Builder toBuilder() { return newBuilder(this); } public Builder toBuilder() { return newBuilder(this); }
@ -1447,20 +1447,20 @@ public final class WebSocketProtos {
*/ */
public static final class Builder extends public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder> com.google.protobuf.GeneratedMessage.Builder<Builder>
implements org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessageOrBuilder { implements WebSocketProtos.WebSocketResponseMessageOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() { getDescriptor() {
return org.session.libsignal.service.internal.websocket.WebSocketProtos.internal_static_signalservice_WebSocketResponseMessage_descriptor; return WebSocketProtos.internal_static_signalservice_WebSocketResponseMessage_descriptor;
} }
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() { internalGetFieldAccessorTable() {
return org.session.libsignal.service.internal.websocket.WebSocketProtos.internal_static_signalservice_WebSocketResponseMessage_fieldAccessorTable return WebSocketProtos.internal_static_signalservice_WebSocketResponseMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized( .ensureFieldAccessorsInitialized(
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage.class, org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage.Builder.class); WebSocketProtos.WebSocketResponseMessage.class, WebSocketProtos.WebSocketResponseMessage.Builder.class);
} }
// Construct using org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage.newBuilder() // Construct using org.session.libsignal.protos.WebSocketProtos.WebSocketResponseMessage.newBuilder()
private Builder() { private Builder() {
maybeForceBuilderInitialization(); maybeForceBuilderInitialization();
} }
@ -1499,23 +1499,23 @@ public final class WebSocketProtos {
public com.google.protobuf.Descriptors.Descriptor public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() { getDescriptorForType() {
return org.session.libsignal.service.internal.websocket.WebSocketProtos.internal_static_signalservice_WebSocketResponseMessage_descriptor; return WebSocketProtos.internal_static_signalservice_WebSocketResponseMessage_descriptor;
} }
public org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage getDefaultInstanceForType() { public WebSocketProtos.WebSocketResponseMessage getDefaultInstanceForType() {
return org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage.getDefaultInstance(); return WebSocketProtos.WebSocketResponseMessage.getDefaultInstance();
} }
public org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage build() { public WebSocketProtos.WebSocketResponseMessage build() {
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage result = buildPartial(); WebSocketProtos.WebSocketResponseMessage result = buildPartial();
if (!result.isInitialized()) { if (!result.isInitialized()) {
throw newUninitializedMessageException(result); throw newUninitializedMessageException(result);
} }
return result; return result;
} }
public org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage buildPartial() { public WebSocketProtos.WebSocketResponseMessage buildPartial() {
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage result = new org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage(this); WebSocketProtos.WebSocketResponseMessage result = new WebSocketProtos.WebSocketResponseMessage(this);
int from_bitField0_ = bitField0_; int from_bitField0_ = bitField0_;
int to_bitField0_ = 0; int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) { if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
@ -1546,16 +1546,16 @@ public final class WebSocketProtos {
} }
public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage) { if (other instanceof WebSocketProtos.WebSocketResponseMessage) {
return mergeFrom((org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage)other); return mergeFrom((WebSocketProtos.WebSocketResponseMessage)other);
} else { } else {
super.mergeFrom(other); super.mergeFrom(other);
return this; return this;
} }
} }
public Builder mergeFrom(org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage other) { public Builder mergeFrom(WebSocketProtos.WebSocketResponseMessage other) {
if (other == org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage.getDefaultInstance()) return this; if (other == WebSocketProtos.WebSocketResponseMessage.getDefaultInstance()) return this;
if (other.hasId()) { if (other.hasId()) {
setId(other.getId()); setId(other.getId());
} }
@ -1592,11 +1592,11 @@ public final class WebSocketProtos {
com.google.protobuf.CodedInputStream input, com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException { throws java.io.IOException {
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage parsedMessage = null; WebSocketProtos.WebSocketResponseMessage parsedMessage = null;
try { try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) { } catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage) e.getUnfinishedMessage(); parsedMessage = (WebSocketProtos.WebSocketResponseMessage) e.getUnfinishedMessage();
throw e; throw e;
} finally { } finally {
if (parsedMessage != null) { if (parsedMessage != null) {
@ -1898,7 +1898,7 @@ public final class WebSocketProtos {
/** /**
* <code>optional .signalservice.WebSocketMessage.Type type = 1;</code> * <code>optional .signalservice.WebSocketMessage.Type type = 1;</code>
*/ */
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage.Type getType(); WebSocketProtos.WebSocketMessage.Type getType();
// optional .signalservice.WebSocketRequestMessage request = 2; // optional .signalservice.WebSocketRequestMessage request = 2;
/** /**
@ -1908,11 +1908,11 @@ public final class WebSocketProtos {
/** /**
* <code>optional .signalservice.WebSocketRequestMessage request = 2;</code> * <code>optional .signalservice.WebSocketRequestMessage request = 2;</code>
*/ */
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage getRequest(); WebSocketProtos.WebSocketRequestMessage getRequest();
/** /**
* <code>optional .signalservice.WebSocketRequestMessage request = 2;</code> * <code>optional .signalservice.WebSocketRequestMessage request = 2;</code>
*/ */
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessageOrBuilder getRequestOrBuilder(); WebSocketProtos.WebSocketRequestMessageOrBuilder getRequestOrBuilder();
// optional .signalservice.WebSocketResponseMessage response = 3; // optional .signalservice.WebSocketResponseMessage response = 3;
/** /**
@ -1922,11 +1922,11 @@ public final class WebSocketProtos {
/** /**
* <code>optional .signalservice.WebSocketResponseMessage response = 3;</code> * <code>optional .signalservice.WebSocketResponseMessage response = 3;</code>
*/ */
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage getResponse(); WebSocketProtos.WebSocketResponseMessage getResponse();
/** /**
* <code>optional .signalservice.WebSocketResponseMessage response = 3;</code> * <code>optional .signalservice.WebSocketResponseMessage response = 3;</code>
*/ */
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessageOrBuilder getResponseOrBuilder(); WebSocketProtos.WebSocketResponseMessageOrBuilder getResponseOrBuilder();
} }
/** /**
* Protobuf type {@code signalservice.WebSocketMessage} * Protobuf type {@code signalservice.WebSocketMessage}
@ -1981,7 +1981,7 @@ public final class WebSocketProtos {
} }
case 8: { case 8: {
int rawValue = input.readEnum(); int rawValue = input.readEnum();
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage.Type value = org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage.Type.valueOf(rawValue); WebSocketProtos.WebSocketMessage.Type value = WebSocketProtos.WebSocketMessage.Type.valueOf(rawValue);
if (value == null) { if (value == null) {
unknownFields.mergeVarintField(1, rawValue); unknownFields.mergeVarintField(1, rawValue);
} else { } else {
@ -1991,11 +1991,11 @@ public final class WebSocketProtos {
break; break;
} }
case 18: { case 18: {
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage.Builder subBuilder = null; WebSocketProtos.WebSocketRequestMessage.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) { if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = request_.toBuilder(); subBuilder = request_.toBuilder();
} }
request_ = input.readMessage(org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage.PARSER, extensionRegistry); request_ = input.readMessage(WebSocketProtos.WebSocketRequestMessage.PARSER, extensionRegistry);
if (subBuilder != null) { if (subBuilder != null) {
subBuilder.mergeFrom(request_); subBuilder.mergeFrom(request_);
request_ = subBuilder.buildPartial(); request_ = subBuilder.buildPartial();
@ -2004,11 +2004,11 @@ public final class WebSocketProtos {
break; break;
} }
case 26: { case 26: {
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage.Builder subBuilder = null; WebSocketProtos.WebSocketResponseMessage.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) == 0x00000004)) { if (((bitField0_ & 0x00000004) == 0x00000004)) {
subBuilder = response_.toBuilder(); subBuilder = response_.toBuilder();
} }
response_ = input.readMessage(org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage.PARSER, extensionRegistry); response_ = input.readMessage(WebSocketProtos.WebSocketResponseMessage.PARSER, extensionRegistry);
if (subBuilder != null) { if (subBuilder != null) {
subBuilder.mergeFrom(response_); subBuilder.mergeFrom(response_);
response_ = subBuilder.buildPartial(); response_ = subBuilder.buildPartial();
@ -2030,14 +2030,14 @@ public final class WebSocketProtos {
} }
public static final com.google.protobuf.Descriptors.Descriptor public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() { getDescriptor() {
return org.session.libsignal.service.internal.websocket.WebSocketProtos.internal_static_signalservice_WebSocketMessage_descriptor; return WebSocketProtos.internal_static_signalservice_WebSocketMessage_descriptor;
} }
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() { internalGetFieldAccessorTable() {
return org.session.libsignal.service.internal.websocket.WebSocketProtos.internal_static_signalservice_WebSocketMessage_fieldAccessorTable return WebSocketProtos.internal_static_signalservice_WebSocketMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized( .ensureFieldAccessorsInitialized(
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage.class, org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage.Builder.class); WebSocketProtos.WebSocketMessage.class, WebSocketProtos.WebSocketMessage.Builder.class);
} }
public static com.google.protobuf.Parser<WebSocketMessage> PARSER = public static com.google.protobuf.Parser<WebSocketMessage> PARSER =
@ -2121,7 +2121,7 @@ public final class WebSocketProtos {
} }
public static final com.google.protobuf.Descriptors.EnumDescriptor public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() { getDescriptor() {
return org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage.getDescriptor().getEnumTypes().get(0); return WebSocketProtos.WebSocketMessage.getDescriptor().getEnumTypes().get(0);
} }
private static final Type[] VALUES = values(); private static final Type[] VALUES = values();
@ -2149,7 +2149,7 @@ public final class WebSocketProtos {
private int bitField0_; private int bitField0_;
// optional .signalservice.WebSocketMessage.Type type = 1; // optional .signalservice.WebSocketMessage.Type type = 1;
public static final int TYPE_FIELD_NUMBER = 1; public static final int TYPE_FIELD_NUMBER = 1;
private org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage.Type type_; private WebSocketProtos.WebSocketMessage.Type type_;
/** /**
* <code>optional .signalservice.WebSocketMessage.Type type = 1;</code> * <code>optional .signalservice.WebSocketMessage.Type type = 1;</code>
*/ */
@ -2159,13 +2159,13 @@ public final class WebSocketProtos {
/** /**
* <code>optional .signalservice.WebSocketMessage.Type type = 1;</code> * <code>optional .signalservice.WebSocketMessage.Type type = 1;</code>
*/ */
public org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage.Type getType() { public WebSocketProtos.WebSocketMessage.Type getType() {
return type_; return type_;
} }
// optional .signalservice.WebSocketRequestMessage request = 2; // optional .signalservice.WebSocketRequestMessage request = 2;
public static final int REQUEST_FIELD_NUMBER = 2; public static final int REQUEST_FIELD_NUMBER = 2;
private org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage request_; private WebSocketProtos.WebSocketRequestMessage request_;
/** /**
* <code>optional .signalservice.WebSocketRequestMessage request = 2;</code> * <code>optional .signalservice.WebSocketRequestMessage request = 2;</code>
*/ */
@ -2175,19 +2175,19 @@ public final class WebSocketProtos {
/** /**
* <code>optional .signalservice.WebSocketRequestMessage request = 2;</code> * <code>optional .signalservice.WebSocketRequestMessage request = 2;</code>
*/ */
public org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage getRequest() { public WebSocketProtos.WebSocketRequestMessage getRequest() {
return request_; return request_;
} }
/** /**
* <code>optional .signalservice.WebSocketRequestMessage request = 2;</code> * <code>optional .signalservice.WebSocketRequestMessage request = 2;</code>
*/ */
public org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessageOrBuilder getRequestOrBuilder() { public WebSocketProtos.WebSocketRequestMessageOrBuilder getRequestOrBuilder() {
return request_; return request_;
} }
// optional .signalservice.WebSocketResponseMessage response = 3; // optional .signalservice.WebSocketResponseMessage response = 3;
public static final int RESPONSE_FIELD_NUMBER = 3; public static final int RESPONSE_FIELD_NUMBER = 3;
private org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage response_; private WebSocketProtos.WebSocketResponseMessage response_;
/** /**
* <code>optional .signalservice.WebSocketResponseMessage response = 3;</code> * <code>optional .signalservice.WebSocketResponseMessage response = 3;</code>
*/ */
@ -2197,20 +2197,20 @@ public final class WebSocketProtos {
/** /**
* <code>optional .signalservice.WebSocketResponseMessage response = 3;</code> * <code>optional .signalservice.WebSocketResponseMessage response = 3;</code>
*/ */
public org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage getResponse() { public WebSocketProtos.WebSocketResponseMessage getResponse() {
return response_; return response_;
} }
/** /**
* <code>optional .signalservice.WebSocketResponseMessage response = 3;</code> * <code>optional .signalservice.WebSocketResponseMessage response = 3;</code>
*/ */
public org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessageOrBuilder getResponseOrBuilder() { public WebSocketProtos.WebSocketResponseMessageOrBuilder getResponseOrBuilder() {
return response_; return response_;
} }
private void initFields() { private void initFields() {
type_ = org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage.Type.UNKNOWN; type_ = WebSocketProtos.WebSocketMessage.Type.UNKNOWN;
request_ = org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage.getDefaultInstance(); request_ = WebSocketProtos.WebSocketRequestMessage.getDefaultInstance();
response_ = org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage.getDefaultInstance(); response_ = WebSocketProtos.WebSocketResponseMessage.getDefaultInstance();
} }
private byte memoizedIsInitialized = -1; private byte memoizedIsInitialized = -1;
public final boolean isInitialized() { public final boolean isInitialized() {
@ -2266,53 +2266,53 @@ public final class WebSocketProtos {
return super.writeReplace(); return super.writeReplace();
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage parseFrom( public static WebSocketProtos.WebSocketMessage parseFrom(
com.google.protobuf.ByteString data) com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data); return PARSER.parseFrom(data);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage parseFrom( public static WebSocketProtos.WebSocketMessage parseFrom(
com.google.protobuf.ByteString data, com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry); return PARSER.parseFrom(data, extensionRegistry);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage parseFrom(byte[] data) public static WebSocketProtos.WebSocketMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data); return PARSER.parseFrom(data);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage parseFrom( public static WebSocketProtos.WebSocketMessage parseFrom(
byte[] data, byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException { throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry); return PARSER.parseFrom(data, extensionRegistry);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage parseFrom(java.io.InputStream input) public static WebSocketProtos.WebSocketMessage parseFrom(java.io.InputStream input)
throws java.io.IOException { throws java.io.IOException {
return PARSER.parseFrom(input); return PARSER.parseFrom(input);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage parseFrom( public static WebSocketProtos.WebSocketMessage parseFrom(
java.io.InputStream input, java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException { throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry); return PARSER.parseFrom(input, extensionRegistry);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage parseDelimitedFrom(java.io.InputStream input) public static WebSocketProtos.WebSocketMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException { throws java.io.IOException {
return PARSER.parseDelimitedFrom(input); return PARSER.parseDelimitedFrom(input);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage parseDelimitedFrom( public static WebSocketProtos.WebSocketMessage parseDelimitedFrom(
java.io.InputStream input, java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException { throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry); return PARSER.parseDelimitedFrom(input, extensionRegistry);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage parseFrom( public static WebSocketProtos.WebSocketMessage parseFrom(
com.google.protobuf.CodedInputStream input) com.google.protobuf.CodedInputStream input)
throws java.io.IOException { throws java.io.IOException {
return PARSER.parseFrom(input); return PARSER.parseFrom(input);
} }
public static org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage parseFrom( public static WebSocketProtos.WebSocketMessage parseFrom(
com.google.protobuf.CodedInputStream input, com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException { throws java.io.IOException {
@ -2321,7 +2321,7 @@ public final class WebSocketProtos {
public static Builder newBuilder() { return Builder.create(); } public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); } public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage prototype) { public static Builder newBuilder(WebSocketProtos.WebSocketMessage prototype) {
return newBuilder().mergeFrom(prototype); return newBuilder().mergeFrom(prototype);
} }
public Builder toBuilder() { return newBuilder(this); } public Builder toBuilder() { return newBuilder(this); }
@ -2337,20 +2337,20 @@ public final class WebSocketProtos {
*/ */
public static final class Builder extends public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder> com.google.protobuf.GeneratedMessage.Builder<Builder>
implements org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessageOrBuilder { implements WebSocketProtos.WebSocketMessageOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() { getDescriptor() {
return org.session.libsignal.service.internal.websocket.WebSocketProtos.internal_static_signalservice_WebSocketMessage_descriptor; return WebSocketProtos.internal_static_signalservice_WebSocketMessage_descriptor;
} }
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() { internalGetFieldAccessorTable() {
return org.session.libsignal.service.internal.websocket.WebSocketProtos.internal_static_signalservice_WebSocketMessage_fieldAccessorTable return WebSocketProtos.internal_static_signalservice_WebSocketMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized( .ensureFieldAccessorsInitialized(
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage.class, org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage.Builder.class); WebSocketProtos.WebSocketMessage.class, WebSocketProtos.WebSocketMessage.Builder.class);
} }
// Construct using org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage.newBuilder() // Construct using org.session.libsignal.protos.WebSocketProtos.WebSocketMessage.newBuilder()
private Builder() { private Builder() {
maybeForceBuilderInitialization(); maybeForceBuilderInitialization();
} }
@ -2372,16 +2372,16 @@ public final class WebSocketProtos {
public Builder clear() { public Builder clear() {
super.clear(); super.clear();
type_ = org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage.Type.UNKNOWN; type_ = WebSocketProtos.WebSocketMessage.Type.UNKNOWN;
bitField0_ = (bitField0_ & ~0x00000001); bitField0_ = (bitField0_ & ~0x00000001);
if (requestBuilder_ == null) { if (requestBuilder_ == null) {
request_ = org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage.getDefaultInstance(); request_ = WebSocketProtos.WebSocketRequestMessage.getDefaultInstance();
} else { } else {
requestBuilder_.clear(); requestBuilder_.clear();
} }
bitField0_ = (bitField0_ & ~0x00000002); bitField0_ = (bitField0_ & ~0x00000002);
if (responseBuilder_ == null) { if (responseBuilder_ == null) {
response_ = org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage.getDefaultInstance(); response_ = WebSocketProtos.WebSocketResponseMessage.getDefaultInstance();
} else { } else {
responseBuilder_.clear(); responseBuilder_.clear();
} }
@ -2395,23 +2395,23 @@ public final class WebSocketProtos {
public com.google.protobuf.Descriptors.Descriptor public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() { getDescriptorForType() {
return org.session.libsignal.service.internal.websocket.WebSocketProtos.internal_static_signalservice_WebSocketMessage_descriptor; return WebSocketProtos.internal_static_signalservice_WebSocketMessage_descriptor;
} }
public org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage getDefaultInstanceForType() { public WebSocketProtos.WebSocketMessage getDefaultInstanceForType() {
return org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage.getDefaultInstance(); return WebSocketProtos.WebSocketMessage.getDefaultInstance();
} }
public org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage build() { public WebSocketProtos.WebSocketMessage build() {
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage result = buildPartial(); WebSocketProtos.WebSocketMessage result = buildPartial();
if (!result.isInitialized()) { if (!result.isInitialized()) {
throw newUninitializedMessageException(result); throw newUninitializedMessageException(result);
} }
return result; return result;
} }
public org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage buildPartial() { public WebSocketProtos.WebSocketMessage buildPartial() {
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage result = new org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage(this); WebSocketProtos.WebSocketMessage result = new WebSocketProtos.WebSocketMessage(this);
int from_bitField0_ = bitField0_; int from_bitField0_ = bitField0_;
int to_bitField0_ = 0; int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) { if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
@ -2440,16 +2440,16 @@ public final class WebSocketProtos {
} }
public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage) { if (other instanceof WebSocketProtos.WebSocketMessage) {
return mergeFrom((org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage)other); return mergeFrom((WebSocketProtos.WebSocketMessage)other);
} else { } else {
super.mergeFrom(other); super.mergeFrom(other);
return this; return this;
} }
} }
public Builder mergeFrom(org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage other) { public Builder mergeFrom(WebSocketProtos.WebSocketMessage other) {
if (other == org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage.getDefaultInstance()) return this; if (other == WebSocketProtos.WebSocketMessage.getDefaultInstance()) return this;
if (other.hasType()) { if (other.hasType()) {
setType(other.getType()); setType(other.getType());
} }
@ -2471,11 +2471,11 @@ public final class WebSocketProtos {
com.google.protobuf.CodedInputStream input, com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException { throws java.io.IOException {
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage parsedMessage = null; WebSocketProtos.WebSocketMessage parsedMessage = null;
try { try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) { } catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage) e.getUnfinishedMessage(); parsedMessage = (WebSocketProtos.WebSocketMessage) e.getUnfinishedMessage();
throw e; throw e;
} finally { } finally {
if (parsedMessage != null) { if (parsedMessage != null) {
@ -2487,7 +2487,7 @@ public final class WebSocketProtos {
private int bitField0_; private int bitField0_;
// optional .signalservice.WebSocketMessage.Type type = 1; // optional .signalservice.WebSocketMessage.Type type = 1;
private org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage.Type type_ = org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage.Type.UNKNOWN; private WebSocketProtos.WebSocketMessage.Type type_ = WebSocketProtos.WebSocketMessage.Type.UNKNOWN;
/** /**
* <code>optional .signalservice.WebSocketMessage.Type type = 1;</code> * <code>optional .signalservice.WebSocketMessage.Type type = 1;</code>
*/ */
@ -2497,13 +2497,13 @@ public final class WebSocketProtos {
/** /**
* <code>optional .signalservice.WebSocketMessage.Type type = 1;</code> * <code>optional .signalservice.WebSocketMessage.Type type = 1;</code>
*/ */
public org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage.Type getType() { public WebSocketProtos.WebSocketMessage.Type getType() {
return type_; return type_;
} }
/** /**
* <code>optional .signalservice.WebSocketMessage.Type type = 1;</code> * <code>optional .signalservice.WebSocketMessage.Type type = 1;</code>
*/ */
public Builder setType(org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage.Type value) { public Builder setType(WebSocketProtos.WebSocketMessage.Type value) {
if (value == null) { if (value == null) {
throw new NullPointerException(); throw new NullPointerException();
} }
@ -2517,15 +2517,15 @@ public final class WebSocketProtos {
*/ */
public Builder clearType() { public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000001); bitField0_ = (bitField0_ & ~0x00000001);
type_ = org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketMessage.Type.UNKNOWN; type_ = WebSocketProtos.WebSocketMessage.Type.UNKNOWN;
onChanged(); onChanged();
return this; return this;
} }
// optional .signalservice.WebSocketRequestMessage request = 2; // optional .signalservice.WebSocketRequestMessage request = 2;
private org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage request_ = org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage.getDefaultInstance(); private WebSocketProtos.WebSocketRequestMessage request_ = WebSocketProtos.WebSocketRequestMessage.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder< private com.google.protobuf.SingleFieldBuilder<
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage, org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage.Builder, org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessageOrBuilder> requestBuilder_; WebSocketProtos.WebSocketRequestMessage, WebSocketProtos.WebSocketRequestMessage.Builder, WebSocketProtos.WebSocketRequestMessageOrBuilder> requestBuilder_;
/** /**
* <code>optional .signalservice.WebSocketRequestMessage request = 2;</code> * <code>optional .signalservice.WebSocketRequestMessage request = 2;</code>
*/ */
@ -2535,7 +2535,7 @@ public final class WebSocketProtos {
/** /**
* <code>optional .signalservice.WebSocketRequestMessage request = 2;</code> * <code>optional .signalservice.WebSocketRequestMessage request = 2;</code>
*/ */
public org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage getRequest() { public WebSocketProtos.WebSocketRequestMessage getRequest() {
if (requestBuilder_ == null) { if (requestBuilder_ == null) {
return request_; return request_;
} else { } else {
@ -2545,7 +2545,7 @@ public final class WebSocketProtos {
/** /**
* <code>optional .signalservice.WebSocketRequestMessage request = 2;</code> * <code>optional .signalservice.WebSocketRequestMessage request = 2;</code>
*/ */
public Builder setRequest(org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage value) { public Builder setRequest(WebSocketProtos.WebSocketRequestMessage value) {
if (requestBuilder_ == null) { if (requestBuilder_ == null) {
if (value == null) { if (value == null) {
throw new NullPointerException(); throw new NullPointerException();
@ -2562,7 +2562,7 @@ public final class WebSocketProtos {
* <code>optional .signalservice.WebSocketRequestMessage request = 2;</code> * <code>optional .signalservice.WebSocketRequestMessage request = 2;</code>
*/ */
public Builder setRequest( public Builder setRequest(
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage.Builder builderForValue) { WebSocketProtos.WebSocketRequestMessage.Builder builderForValue) {
if (requestBuilder_ == null) { if (requestBuilder_ == null) {
request_ = builderForValue.build(); request_ = builderForValue.build();
onChanged(); onChanged();
@ -2575,12 +2575,12 @@ public final class WebSocketProtos {
/** /**
* <code>optional .signalservice.WebSocketRequestMessage request = 2;</code> * <code>optional .signalservice.WebSocketRequestMessage request = 2;</code>
*/ */
public Builder mergeRequest(org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage value) { public Builder mergeRequest(WebSocketProtos.WebSocketRequestMessage value) {
if (requestBuilder_ == null) { if (requestBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) && if (((bitField0_ & 0x00000002) == 0x00000002) &&
request_ != org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage.getDefaultInstance()) { request_ != WebSocketProtos.WebSocketRequestMessage.getDefaultInstance()) {
request_ = request_ =
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage.newBuilder(request_).mergeFrom(value).buildPartial(); WebSocketProtos.WebSocketRequestMessage.newBuilder(request_).mergeFrom(value).buildPartial();
} else { } else {
request_ = value; request_ = value;
} }
@ -2596,7 +2596,7 @@ public final class WebSocketProtos {
*/ */
public Builder clearRequest() { public Builder clearRequest() {
if (requestBuilder_ == null) { if (requestBuilder_ == null) {
request_ = org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage.getDefaultInstance(); request_ = WebSocketProtos.WebSocketRequestMessage.getDefaultInstance();
onChanged(); onChanged();
} else { } else {
requestBuilder_.clear(); requestBuilder_.clear();
@ -2607,7 +2607,7 @@ public final class WebSocketProtos {
/** /**
* <code>optional .signalservice.WebSocketRequestMessage request = 2;</code> * <code>optional .signalservice.WebSocketRequestMessage request = 2;</code>
*/ */
public org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage.Builder getRequestBuilder() { public WebSocketProtos.WebSocketRequestMessage.Builder getRequestBuilder() {
bitField0_ |= 0x00000002; bitField0_ |= 0x00000002;
onChanged(); onChanged();
return getRequestFieldBuilder().getBuilder(); return getRequestFieldBuilder().getBuilder();
@ -2615,7 +2615,7 @@ public final class WebSocketProtos {
/** /**
* <code>optional .signalservice.WebSocketRequestMessage request = 2;</code> * <code>optional .signalservice.WebSocketRequestMessage request = 2;</code>
*/ */
public org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessageOrBuilder getRequestOrBuilder() { public WebSocketProtos.WebSocketRequestMessageOrBuilder getRequestOrBuilder() {
if (requestBuilder_ != null) { if (requestBuilder_ != null) {
return requestBuilder_.getMessageOrBuilder(); return requestBuilder_.getMessageOrBuilder();
} else { } else {
@ -2626,11 +2626,11 @@ public final class WebSocketProtos {
* <code>optional .signalservice.WebSocketRequestMessage request = 2;</code> * <code>optional .signalservice.WebSocketRequestMessage request = 2;</code>
*/ */
private com.google.protobuf.SingleFieldBuilder< private com.google.protobuf.SingleFieldBuilder<
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage, org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage.Builder, org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessageOrBuilder> WebSocketProtos.WebSocketRequestMessage, WebSocketProtos.WebSocketRequestMessage.Builder, WebSocketProtos.WebSocketRequestMessageOrBuilder>
getRequestFieldBuilder() { getRequestFieldBuilder() {
if (requestBuilder_ == null) { if (requestBuilder_ == null) {
requestBuilder_ = new com.google.protobuf.SingleFieldBuilder< requestBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage, org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessage.Builder, org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketRequestMessageOrBuilder>( WebSocketProtos.WebSocketRequestMessage, WebSocketProtos.WebSocketRequestMessage.Builder, WebSocketProtos.WebSocketRequestMessageOrBuilder>(
request_, request_,
getParentForChildren(), getParentForChildren(),
isClean()); isClean());
@ -2640,9 +2640,9 @@ public final class WebSocketProtos {
} }
// optional .signalservice.WebSocketResponseMessage response = 3; // optional .signalservice.WebSocketResponseMessage response = 3;
private org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage response_ = org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage.getDefaultInstance(); private WebSocketProtos.WebSocketResponseMessage response_ = WebSocketProtos.WebSocketResponseMessage.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder< private com.google.protobuf.SingleFieldBuilder<
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage, org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage.Builder, org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessageOrBuilder> responseBuilder_; WebSocketProtos.WebSocketResponseMessage, WebSocketProtos.WebSocketResponseMessage.Builder, WebSocketProtos.WebSocketResponseMessageOrBuilder> responseBuilder_;
/** /**
* <code>optional .signalservice.WebSocketResponseMessage response = 3;</code> * <code>optional .signalservice.WebSocketResponseMessage response = 3;</code>
*/ */
@ -2652,7 +2652,7 @@ public final class WebSocketProtos {
/** /**
* <code>optional .signalservice.WebSocketResponseMessage response = 3;</code> * <code>optional .signalservice.WebSocketResponseMessage response = 3;</code>
*/ */
public org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage getResponse() { public WebSocketProtos.WebSocketResponseMessage getResponse() {
if (responseBuilder_ == null) { if (responseBuilder_ == null) {
return response_; return response_;
} else { } else {
@ -2662,7 +2662,7 @@ public final class WebSocketProtos {
/** /**
* <code>optional .signalservice.WebSocketResponseMessage response = 3;</code> * <code>optional .signalservice.WebSocketResponseMessage response = 3;</code>
*/ */
public Builder setResponse(org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage value) { public Builder setResponse(WebSocketProtos.WebSocketResponseMessage value) {
if (responseBuilder_ == null) { if (responseBuilder_ == null) {
if (value == null) { if (value == null) {
throw new NullPointerException(); throw new NullPointerException();
@ -2679,7 +2679,7 @@ public final class WebSocketProtos {
* <code>optional .signalservice.WebSocketResponseMessage response = 3;</code> * <code>optional .signalservice.WebSocketResponseMessage response = 3;</code>
*/ */
public Builder setResponse( public Builder setResponse(
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage.Builder builderForValue) { WebSocketProtos.WebSocketResponseMessage.Builder builderForValue) {
if (responseBuilder_ == null) { if (responseBuilder_ == null) {
response_ = builderForValue.build(); response_ = builderForValue.build();
onChanged(); onChanged();
@ -2692,12 +2692,12 @@ public final class WebSocketProtos {
/** /**
* <code>optional .signalservice.WebSocketResponseMessage response = 3;</code> * <code>optional .signalservice.WebSocketResponseMessage response = 3;</code>
*/ */
public Builder mergeResponse(org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage value) { public Builder mergeResponse(WebSocketProtos.WebSocketResponseMessage value) {
if (responseBuilder_ == null) { if (responseBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004) && if (((bitField0_ & 0x00000004) == 0x00000004) &&
response_ != org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage.getDefaultInstance()) { response_ != WebSocketProtos.WebSocketResponseMessage.getDefaultInstance()) {
response_ = response_ =
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage.newBuilder(response_).mergeFrom(value).buildPartial(); WebSocketProtos.WebSocketResponseMessage.newBuilder(response_).mergeFrom(value).buildPartial();
} else { } else {
response_ = value; response_ = value;
} }
@ -2713,7 +2713,7 @@ public final class WebSocketProtos {
*/ */
public Builder clearResponse() { public Builder clearResponse() {
if (responseBuilder_ == null) { if (responseBuilder_ == null) {
response_ = org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage.getDefaultInstance(); response_ = WebSocketProtos.WebSocketResponseMessage.getDefaultInstance();
onChanged(); onChanged();
} else { } else {
responseBuilder_.clear(); responseBuilder_.clear();
@ -2724,7 +2724,7 @@ public final class WebSocketProtos {
/** /**
* <code>optional .signalservice.WebSocketResponseMessage response = 3;</code> * <code>optional .signalservice.WebSocketResponseMessage response = 3;</code>
*/ */
public org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage.Builder getResponseBuilder() { public WebSocketProtos.WebSocketResponseMessage.Builder getResponseBuilder() {
bitField0_ |= 0x00000004; bitField0_ |= 0x00000004;
onChanged(); onChanged();
return getResponseFieldBuilder().getBuilder(); return getResponseFieldBuilder().getBuilder();
@ -2732,7 +2732,7 @@ public final class WebSocketProtos {
/** /**
* <code>optional .signalservice.WebSocketResponseMessage response = 3;</code> * <code>optional .signalservice.WebSocketResponseMessage response = 3;</code>
*/ */
public org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessageOrBuilder getResponseOrBuilder() { public WebSocketProtos.WebSocketResponseMessageOrBuilder getResponseOrBuilder() {
if (responseBuilder_ != null) { if (responseBuilder_ != null) {
return responseBuilder_.getMessageOrBuilder(); return responseBuilder_.getMessageOrBuilder();
} else { } else {
@ -2743,11 +2743,11 @@ public final class WebSocketProtos {
* <code>optional .signalservice.WebSocketResponseMessage response = 3;</code> * <code>optional .signalservice.WebSocketResponseMessage response = 3;</code>
*/ */
private com.google.protobuf.SingleFieldBuilder< private com.google.protobuf.SingleFieldBuilder<
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage, org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage.Builder, org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessageOrBuilder> WebSocketProtos.WebSocketResponseMessage, WebSocketProtos.WebSocketResponseMessage.Builder, WebSocketProtos.WebSocketResponseMessageOrBuilder>
getResponseFieldBuilder() { getResponseFieldBuilder() {
if (responseBuilder_ == null) { if (responseBuilder_ == null) {
responseBuilder_ = new com.google.protobuf.SingleFieldBuilder< responseBuilder_ = new com.google.protobuf.SingleFieldBuilder<
org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage, org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessage.Builder, org.session.libsignal.service.internal.websocket.WebSocketProtos.WebSocketResponseMessageOrBuilder>( WebSocketProtos.WebSocketResponseMessage, WebSocketProtos.WebSocketResponseMessage.Builder, WebSocketProtos.WebSocketResponseMessageOrBuilder>(
response_, response_,
getParentForChildren(), getParentForChildren(),
isClean()); isClean());

View File

@ -1,4 +1,4 @@
package org.session.libsignal.service.loki package org.session.libsignal.utilities
interface Broadcaster { interface Broadcaster {