Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mls/api/v1/mls.proto
package org.xmtp.proto.mls.api.v1;
public final class Mls {
private Mls() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
/**
*
* Sort direction for queries
*
*
* Protobuf enum {@code xmtp.mls.api.v1.SortDirection}
*/
public enum SortDirection
implements com.google.protobuf.Internal.EnumLite {
/**
* SORT_DIRECTION_UNSPECIFIED = 0;
*/
SORT_DIRECTION_UNSPECIFIED(0),
/**
* SORT_DIRECTION_ASCENDING = 1;
*/
SORT_DIRECTION_ASCENDING(1),
/**
* SORT_DIRECTION_DESCENDING = 2;
*/
SORT_DIRECTION_DESCENDING(2),
UNRECOGNIZED(-1),
;
/**
* SORT_DIRECTION_UNSPECIFIED = 0;
*/
public static final int SORT_DIRECTION_UNSPECIFIED_VALUE = 0;
/**
* SORT_DIRECTION_ASCENDING = 1;
*/
public static final int SORT_DIRECTION_ASCENDING_VALUE = 1;
/**
* SORT_DIRECTION_DESCENDING = 2;
*/
public static final int SORT_DIRECTION_DESCENDING_VALUE = 2;
@java.lang.Override
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static SortDirection valueOf(int value) {
return forNumber(value);
}
public static SortDirection forNumber(int value) {
switch (value) {
case 0: return SORT_DIRECTION_UNSPECIFIED;
case 1: return SORT_DIRECTION_ASCENDING;
case 2: return SORT_DIRECTION_DESCENDING;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
SortDirection> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
@java.lang.Override
public SortDirection findValueByNumber(int number) {
return SortDirection.forNumber(number);
}
};
public static com.google.protobuf.Internal.EnumVerifier
internalGetVerifier() {
return SortDirectionVerifier.INSTANCE;
}
private static final class SortDirectionVerifier implements
com.google.protobuf.Internal.EnumVerifier {
static final com.google.protobuf.Internal.EnumVerifier INSTANCE = new SortDirectionVerifier();
@java.lang.Override
public boolean isInRange(int number) {
return SortDirection.forNumber(number) != null;
}
};
private final int value;
private SortDirection(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:xmtp.mls.api.v1.SortDirection)
}
public interface WelcomeMessageOrBuilder extends
// @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.WelcomeMessage)
com.google.protobuf.MessageLiteOrBuilder {
/**
* .xmtp.mls.api.v1.WelcomeMessage.V1 v1 = 1;
* @return Whether the v1 field is set.
*/
boolean hasV1();
/**
* .xmtp.mls.api.v1.WelcomeMessage.V1 v1 = 1;
* @return The v1.
*/
org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1 getV1();
public org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.VersionCase getVersionCase();
}
/**
*
* Full representation of a welcome message
*
*
* Protobuf type {@code xmtp.mls.api.v1.WelcomeMessage}
*/
public static final class WelcomeMessage extends
com.google.protobuf.GeneratedMessageLite<
WelcomeMessage, WelcomeMessage.Builder> implements
// @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.WelcomeMessage)
WelcomeMessageOrBuilder {
private WelcomeMessage() {
}
public interface V1OrBuilder extends
// @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.WelcomeMessage.V1)
com.google.protobuf.MessageLiteOrBuilder {
/**
* uint64 id = 1;
* @return The id.
*/
long getId();
/**
* uint64 created_ns = 2;
* @return The createdNs.
*/
long getCreatedNs();
/**
* bytes installation_key = 3;
* @return The installationKey.
*/
com.google.protobuf.ByteString getInstallationKey();
/**
* bytes data = 4;
* @return The data.
*/
com.google.protobuf.ByteString getData();
/**
* bytes hpke_public_key = 5;
* @return The hpkePublicKey.
*/
com.google.protobuf.ByteString getHpkePublicKey();
}
/**
*
* Version 1 of the WelcomeMessage format
*
*
* Protobuf type {@code xmtp.mls.api.v1.WelcomeMessage.V1}
*/
public static final class V1 extends
com.google.protobuf.GeneratedMessageLite<
V1, V1.Builder> implements
// @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.WelcomeMessage.V1)
V1OrBuilder {
private V1() {
installationKey_ = com.google.protobuf.ByteString.EMPTY;
data_ = com.google.protobuf.ByteString.EMPTY;
hpkePublicKey_ = com.google.protobuf.ByteString.EMPTY;
}
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* uint64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* uint64 id = 1;
* @param value The id to set.
*/
private void setId(long value) {
id_ = value;
}
/**
* uint64 id = 1;
*/
private void clearId() {
id_ = 0L;
}
public static final int CREATED_NS_FIELD_NUMBER = 2;
private long createdNs_;
/**
* uint64 created_ns = 2;
* @return The createdNs.
*/
@java.lang.Override
public long getCreatedNs() {
return createdNs_;
}
/**
* uint64 created_ns = 2;
* @param value The createdNs to set.
*/
private void setCreatedNs(long value) {
createdNs_ = value;
}
/**
* uint64 created_ns = 2;
*/
private void clearCreatedNs() {
createdNs_ = 0L;
}
public static final int INSTALLATION_KEY_FIELD_NUMBER = 3;
private com.google.protobuf.ByteString installationKey_;
/**
* bytes installation_key = 3;
* @return The installationKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getInstallationKey() {
return installationKey_;
}
/**
* bytes installation_key = 3;
* @param value The installationKey to set.
*/
private void setInstallationKey(com.google.protobuf.ByteString value) {
java.lang.Class valueClass = value.getClass();
installationKey_ = value;
}
/**
* bytes installation_key = 3;
*/
private void clearInstallationKey() {
installationKey_ = getDefaultInstance().getInstallationKey();
}
public static final int DATA_FIELD_NUMBER = 4;
private com.google.protobuf.ByteString data_;
/**
* bytes data = 4;
* @return The data.
*/
@java.lang.Override
public com.google.protobuf.ByteString getData() {
return data_;
}
/**
* bytes data = 4;
* @param value The data to set.
*/
private void setData(com.google.protobuf.ByteString value) {
java.lang.Class valueClass = value.getClass();
data_ = value;
}
/**
* bytes data = 4;
*/
private void clearData() {
data_ = getDefaultInstance().getData();
}
public static final int HPKE_PUBLIC_KEY_FIELD_NUMBER = 5;
private com.google.protobuf.ByteString hpkePublicKey_;
/**
* bytes hpke_public_key = 5;
* @return The hpkePublicKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getHpkePublicKey() {
return hpkePublicKey_;
}
/**
* bytes hpke_public_key = 5;
* @param value The hpkePublicKey to set.
*/
private void setHpkePublicKey(com.google.protobuf.ByteString value) {
java.lang.Class valueClass = value.getClass();
hpkePublicKey_ = value;
}
/**
* bytes hpke_public_key = 5;
*/
private void clearHpkePublicKey() {
hpkePublicKey_ = getDefaultInstance().getHpkePublicKey();
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1 parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1 parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1 parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1 parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1 parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1 parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1 parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1 parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1 parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1 parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1 parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1 parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1 prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
*
* Version 1 of the WelcomeMessage format
*
*
* Protobuf type {@code xmtp.mls.api.v1.WelcomeMessage.V1}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1, Builder> implements
// @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.WelcomeMessage.V1)
org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1OrBuilder {
// Construct using org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* uint64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return instance.getId();
}
/**
* uint64 id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* uint64 id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* uint64 created_ns = 2;
* @return The createdNs.
*/
@java.lang.Override
public long getCreatedNs() {
return instance.getCreatedNs();
}
/**
* uint64 created_ns = 2;
* @param value The createdNs to set.
* @return This builder for chaining.
*/
public Builder setCreatedNs(long value) {
copyOnWrite();
instance.setCreatedNs(value);
return this;
}
/**
* uint64 created_ns = 2;
* @return This builder for chaining.
*/
public Builder clearCreatedNs() {
copyOnWrite();
instance.clearCreatedNs();
return this;
}
/**
* bytes installation_key = 3;
* @return The installationKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getInstallationKey() {
return instance.getInstallationKey();
}
/**
* bytes installation_key = 3;
* @param value The installationKey to set.
* @return This builder for chaining.
*/
public Builder setInstallationKey(com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setInstallationKey(value);
return this;
}
/**
* bytes installation_key = 3;
* @return This builder for chaining.
*/
public Builder clearInstallationKey() {
copyOnWrite();
instance.clearInstallationKey();
return this;
}
/**
* bytes data = 4;
* @return The data.
*/
@java.lang.Override
public com.google.protobuf.ByteString getData() {
return instance.getData();
}
/**
* bytes data = 4;
* @param value The data to set.
* @return This builder for chaining.
*/
public Builder setData(com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setData(value);
return this;
}
/**
* bytes data = 4;
* @return This builder for chaining.
*/
public Builder clearData() {
copyOnWrite();
instance.clearData();
return this;
}
/**
* bytes hpke_public_key = 5;
* @return The hpkePublicKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getHpkePublicKey() {
return instance.getHpkePublicKey();
}
/**
* bytes hpke_public_key = 5;
* @param value The hpkePublicKey to set.
* @return This builder for chaining.
*/
public Builder setHpkePublicKey(com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setHpkePublicKey(value);
return this;
}
/**
* bytes hpke_public_key = 5;
* @return This builder for chaining.
*/
public Builder clearHpkePublicKey() {
copyOnWrite();
instance.clearHpkePublicKey();
return this;
}
// @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.WelcomeMessage.V1)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"id_",
"createdNs_",
"installationKey_",
"data_",
"hpkePublicKey_",
};
java.lang.String info =
"\u0000\u0005\u0000\u0000\u0001\u0005\u0005\u0000\u0000\u0000\u0001\u0003\u0002\u0003" +
"\u0003\n\u0004\n\u0005\n";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:xmtp.mls.api.v1.WelcomeMessage.V1)
private static final org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1 DEFAULT_INSTANCE;
static {
V1 defaultInstance = new V1();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
V1.class, defaultInstance);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1 getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int versionCase_ = 0;
private java.lang.Object version_;
public enum VersionCase {
V1(1),
VERSION_NOT_SET(0);
private final int value;
private VersionCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static VersionCase valueOf(int value) {
return forNumber(value);
}
public static VersionCase forNumber(int value) {
switch (value) {
case 1: return V1;
case 0: return VERSION_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public VersionCase
getVersionCase() {
return VersionCase.forNumber(
versionCase_);
}
private void clearVersion() {
versionCase_ = 0;
version_ = null;
}
public static final int V1_FIELD_NUMBER = 1;
/**
* .xmtp.mls.api.v1.WelcomeMessage.V1 v1 = 1;
*/
@java.lang.Override
public boolean hasV1() {
return versionCase_ == 1;
}
/**
* .xmtp.mls.api.v1.WelcomeMessage.V1 v1 = 1;
*/
@java.lang.Override
public org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1 getV1() {
if (versionCase_ == 1) {
return (org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1) version_;
}
return org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1.getDefaultInstance();
}
/**
* .xmtp.mls.api.v1.WelcomeMessage.V1 v1 = 1;
*/
private void setV1(org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1 value) {
value.getClass();
version_ = value;
versionCase_ = 1;
}
/**
* .xmtp.mls.api.v1.WelcomeMessage.V1 v1 = 1;
*/
private void mergeV1(org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1 value) {
value.getClass();
if (versionCase_ == 1 &&
version_ != org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1.getDefaultInstance()) {
version_ = org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1.newBuilder((org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1) version_)
.mergeFrom(value).buildPartial();
} else {
version_ = value;
}
versionCase_ = 1;
}
/**
* .xmtp.mls.api.v1.WelcomeMessage.V1 v1 = 1;
*/
private void clearV1() {
if (versionCase_ == 1) {
versionCase_ = 0;
version_ = null;
}
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
*
* Full representation of a welcome message
*
*
* Protobuf type {@code xmtp.mls.api.v1.WelcomeMessage}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage, Builder> implements
// @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.WelcomeMessage)
org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageOrBuilder {
// Construct using org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public VersionCase
getVersionCase() {
return instance.getVersionCase();
}
public Builder clearVersion() {
copyOnWrite();
instance.clearVersion();
return this;
}
/**
* .xmtp.mls.api.v1.WelcomeMessage.V1 v1 = 1;
*/
@java.lang.Override
public boolean hasV1() {
return instance.hasV1();
}
/**
* .xmtp.mls.api.v1.WelcomeMessage.V1 v1 = 1;
*/
@java.lang.Override
public org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1 getV1() {
return instance.getV1();
}
/**
* .xmtp.mls.api.v1.WelcomeMessage.V1 v1 = 1;
*/
public Builder setV1(org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1 value) {
copyOnWrite();
instance.setV1(value);
return this;
}
/**
* .xmtp.mls.api.v1.WelcomeMessage.V1 v1 = 1;
*/
public Builder setV1(
org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1.Builder builderForValue) {
copyOnWrite();
instance.setV1(builderForValue.build());
return this;
}
/**
* .xmtp.mls.api.v1.WelcomeMessage.V1 v1 = 1;
*/
public Builder mergeV1(org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1 value) {
copyOnWrite();
instance.mergeV1(value);
return this;
}
/**
* .xmtp.mls.api.v1.WelcomeMessage.V1 v1 = 1;
*/
public Builder clearV1() {
copyOnWrite();
instance.clearV1();
return this;
}
// @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.WelcomeMessage)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"version_",
"versionCase_",
org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.V1.class,
};
java.lang.String info =
"\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001<\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:xmtp.mls.api.v1.WelcomeMessage)
private static final org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage DEFAULT_INSTANCE;
static {
WelcomeMessage defaultInstance = new WelcomeMessage();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
WelcomeMessage.class, defaultInstance);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface WelcomeMessageInputOrBuilder extends
// @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.WelcomeMessageInput)
com.google.protobuf.MessageLiteOrBuilder {
/**
* .xmtp.mls.api.v1.WelcomeMessageInput.V1 v1 = 1;
* @return Whether the v1 field is set.
*/
boolean hasV1();
/**
* .xmtp.mls.api.v1.WelcomeMessageInput.V1 v1 = 1;
* @return The v1.
*/
org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1 getV1();
public org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.VersionCase getVersionCase();
}
/**
*
* Input type for a welcome message
*
*
* Protobuf type {@code xmtp.mls.api.v1.WelcomeMessageInput}
*/
public static final class WelcomeMessageInput extends
com.google.protobuf.GeneratedMessageLite<
WelcomeMessageInput, WelcomeMessageInput.Builder> implements
// @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.WelcomeMessageInput)
WelcomeMessageInputOrBuilder {
private WelcomeMessageInput() {
}
public interface V1OrBuilder extends
// @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.WelcomeMessageInput.V1)
com.google.protobuf.MessageLiteOrBuilder {
/**
* bytes installation_key = 1;
* @return The installationKey.
*/
com.google.protobuf.ByteString getInstallationKey();
/**
* bytes data = 2;
* @return The data.
*/
com.google.protobuf.ByteString getData();
/**
* bytes hpke_public_key = 3;
* @return The hpkePublicKey.
*/
com.google.protobuf.ByteString getHpkePublicKey();
}
/**
*
* Version 1 of the WelcomeMessageInput format
*
*
* Protobuf type {@code xmtp.mls.api.v1.WelcomeMessageInput.V1}
*/
public static final class V1 extends
com.google.protobuf.GeneratedMessageLite<
V1, V1.Builder> implements
// @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.WelcomeMessageInput.V1)
V1OrBuilder {
private V1() {
installationKey_ = com.google.protobuf.ByteString.EMPTY;
data_ = com.google.protobuf.ByteString.EMPTY;
hpkePublicKey_ = com.google.protobuf.ByteString.EMPTY;
}
public static final int INSTALLATION_KEY_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString installationKey_;
/**
* bytes installation_key = 1;
* @return The installationKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getInstallationKey() {
return installationKey_;
}
/**
* bytes installation_key = 1;
* @param value The installationKey to set.
*/
private void setInstallationKey(com.google.protobuf.ByteString value) {
java.lang.Class valueClass = value.getClass();
installationKey_ = value;
}
/**
* bytes installation_key = 1;
*/
private void clearInstallationKey() {
installationKey_ = getDefaultInstance().getInstallationKey();
}
public static final int DATA_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString data_;
/**
* bytes data = 2;
* @return The data.
*/
@java.lang.Override
public com.google.protobuf.ByteString getData() {
return data_;
}
/**
* bytes data = 2;
* @param value The data to set.
*/
private void setData(com.google.protobuf.ByteString value) {
java.lang.Class valueClass = value.getClass();
data_ = value;
}
/**
* bytes data = 2;
*/
private void clearData() {
data_ = getDefaultInstance().getData();
}
public static final int HPKE_PUBLIC_KEY_FIELD_NUMBER = 3;
private com.google.protobuf.ByteString hpkePublicKey_;
/**
* bytes hpke_public_key = 3;
* @return The hpkePublicKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getHpkePublicKey() {
return hpkePublicKey_;
}
/**
* bytes hpke_public_key = 3;
* @param value The hpkePublicKey to set.
*/
private void setHpkePublicKey(com.google.protobuf.ByteString value) {
java.lang.Class valueClass = value.getClass();
hpkePublicKey_ = value;
}
/**
* bytes hpke_public_key = 3;
*/
private void clearHpkePublicKey() {
hpkePublicKey_ = getDefaultInstance().getHpkePublicKey();
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1 parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1 parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1 parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1 parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1 parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1 parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1 parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1 parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1 parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1 parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1 parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1 parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1 prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
*
* Version 1 of the WelcomeMessageInput format
*
*
* Protobuf type {@code xmtp.mls.api.v1.WelcomeMessageInput.V1}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1, Builder> implements
// @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.WelcomeMessageInput.V1)
org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1OrBuilder {
// Construct using org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* bytes installation_key = 1;
* @return The installationKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getInstallationKey() {
return instance.getInstallationKey();
}
/**
* bytes installation_key = 1;
* @param value The installationKey to set.
* @return This builder for chaining.
*/
public Builder setInstallationKey(com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setInstallationKey(value);
return this;
}
/**
* bytes installation_key = 1;
* @return This builder for chaining.
*/
public Builder clearInstallationKey() {
copyOnWrite();
instance.clearInstallationKey();
return this;
}
/**
* bytes data = 2;
* @return The data.
*/
@java.lang.Override
public com.google.protobuf.ByteString getData() {
return instance.getData();
}
/**
* bytes data = 2;
* @param value The data to set.
* @return This builder for chaining.
*/
public Builder setData(com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setData(value);
return this;
}
/**
* bytes data = 2;
* @return This builder for chaining.
*/
public Builder clearData() {
copyOnWrite();
instance.clearData();
return this;
}
/**
* bytes hpke_public_key = 3;
* @return The hpkePublicKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString getHpkePublicKey() {
return instance.getHpkePublicKey();
}
/**
* bytes hpke_public_key = 3;
* @param value The hpkePublicKey to set.
* @return This builder for chaining.
*/
public Builder setHpkePublicKey(com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setHpkePublicKey(value);
return this;
}
/**
* bytes hpke_public_key = 3;
* @return This builder for chaining.
*/
public Builder clearHpkePublicKey() {
copyOnWrite();
instance.clearHpkePublicKey();
return this;
}
// @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.WelcomeMessageInput.V1)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"installationKey_",
"data_",
"hpkePublicKey_",
};
java.lang.String info =
"\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\n\u0002\n\u0003" +
"\n";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:xmtp.mls.api.v1.WelcomeMessageInput.V1)
private static final org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1 DEFAULT_INSTANCE;
static {
V1 defaultInstance = new V1();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
V1.class, defaultInstance);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1 getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int versionCase_ = 0;
private java.lang.Object version_;
public enum VersionCase {
V1(1),
VERSION_NOT_SET(0);
private final int value;
private VersionCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static VersionCase valueOf(int value) {
return forNumber(value);
}
public static VersionCase forNumber(int value) {
switch (value) {
case 1: return V1;
case 0: return VERSION_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public VersionCase
getVersionCase() {
return VersionCase.forNumber(
versionCase_);
}
private void clearVersion() {
versionCase_ = 0;
version_ = null;
}
public static final int V1_FIELD_NUMBER = 1;
/**
* .xmtp.mls.api.v1.WelcomeMessageInput.V1 v1 = 1;
*/
@java.lang.Override
public boolean hasV1() {
return versionCase_ == 1;
}
/**
* .xmtp.mls.api.v1.WelcomeMessageInput.V1 v1 = 1;
*/
@java.lang.Override
public org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1 getV1() {
if (versionCase_ == 1) {
return (org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1) version_;
}
return org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1.getDefaultInstance();
}
/**
* .xmtp.mls.api.v1.WelcomeMessageInput.V1 v1 = 1;
*/
private void setV1(org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1 value) {
value.getClass();
version_ = value;
versionCase_ = 1;
}
/**
* .xmtp.mls.api.v1.WelcomeMessageInput.V1 v1 = 1;
*/
private void mergeV1(org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1 value) {
value.getClass();
if (versionCase_ == 1 &&
version_ != org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1.getDefaultInstance()) {
version_ = org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1.newBuilder((org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1) version_)
.mergeFrom(value).buildPartial();
} else {
version_ = value;
}
versionCase_ = 1;
}
/**
* .xmtp.mls.api.v1.WelcomeMessageInput.V1 v1 = 1;
*/
private void clearV1() {
if (versionCase_ == 1) {
versionCase_ = 0;
version_ = null;
}
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
*
* Input type for a welcome message
*
*
* Protobuf type {@code xmtp.mls.api.v1.WelcomeMessageInput}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput, Builder> implements
// @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.WelcomeMessageInput)
org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInputOrBuilder {
// Construct using org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public VersionCase
getVersionCase() {
return instance.getVersionCase();
}
public Builder clearVersion() {
copyOnWrite();
instance.clearVersion();
return this;
}
/**
* .xmtp.mls.api.v1.WelcomeMessageInput.V1 v1 = 1;
*/
@java.lang.Override
public boolean hasV1() {
return instance.hasV1();
}
/**
* .xmtp.mls.api.v1.WelcomeMessageInput.V1 v1 = 1;
*/
@java.lang.Override
public org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1 getV1() {
return instance.getV1();
}
/**
* .xmtp.mls.api.v1.WelcomeMessageInput.V1 v1 = 1;
*/
public Builder setV1(org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1 value) {
copyOnWrite();
instance.setV1(value);
return this;
}
/**
* .xmtp.mls.api.v1.WelcomeMessageInput.V1 v1 = 1;
*/
public Builder setV1(
org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1.Builder builderForValue) {
copyOnWrite();
instance.setV1(builderForValue.build());
return this;
}
/**
* .xmtp.mls.api.v1.WelcomeMessageInput.V1 v1 = 1;
*/
public Builder mergeV1(org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1 value) {
copyOnWrite();
instance.mergeV1(value);
return this;
}
/**
* .xmtp.mls.api.v1.WelcomeMessageInput.V1 v1 = 1;
*/
public Builder clearV1() {
copyOnWrite();
instance.clearV1();
return this;
}
// @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.WelcomeMessageInput)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"version_",
"versionCase_",
org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.V1.class,
};
java.lang.String info =
"\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001<\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:xmtp.mls.api.v1.WelcomeMessageInput)
private static final org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput DEFAULT_INSTANCE;
static {
WelcomeMessageInput defaultInstance = new WelcomeMessageInput();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
WelcomeMessageInput.class, defaultInstance);
}
public static org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface GroupMessageOrBuilder extends
// @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.GroupMessage)
com.google.protobuf.MessageLiteOrBuilder {
/**
* .xmtp.mls.api.v1.GroupMessage.V1 v1 = 1;
* @return Whether the v1 field is set.
*/
boolean hasV1();
/**
* .xmtp.mls.api.v1.GroupMessage.V1 v1 = 1;
* @return The v1.
*/
org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1 getV1();
public org.xmtp.proto.mls.api.v1.Mls.GroupMessage.VersionCase getVersionCase();
}
/**
*
* Full representation of a group message
*
*
* Protobuf type {@code xmtp.mls.api.v1.GroupMessage}
*/
public static final class GroupMessage extends
com.google.protobuf.GeneratedMessageLite<
GroupMessage, GroupMessage.Builder> implements
// @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.GroupMessage)
GroupMessageOrBuilder {
private GroupMessage() {
}
public interface V1OrBuilder extends
// @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.GroupMessage.V1)
com.google.protobuf.MessageLiteOrBuilder {
/**
* uint64 id = 1;
* @return The id.
*/
long getId();
/**
* uint64 created_ns = 2;
* @return The createdNs.
*/
long getCreatedNs();
/**
* bytes group_id = 3;
* @return The groupId.
*/
com.google.protobuf.ByteString getGroupId();
/**
* bytes data = 4;
* @return The data.
*/
com.google.protobuf.ByteString getData();
/**
* bytes sender_hmac = 5;
* @return The senderHmac.
*/
com.google.protobuf.ByteString getSenderHmac();
}
/**
*
* Version 1 of the GroupMessage format
*
*
* Protobuf type {@code xmtp.mls.api.v1.GroupMessage.V1}
*/
public static final class V1 extends
com.google.protobuf.GeneratedMessageLite<
V1, V1.Builder> implements
// @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.GroupMessage.V1)
V1OrBuilder {
private V1() {
groupId_ = com.google.protobuf.ByteString.EMPTY;
data_ = com.google.protobuf.ByteString.EMPTY;
senderHmac_ = com.google.protobuf.ByteString.EMPTY;
}
public static final int ID_FIELD_NUMBER = 1;
private long id_;
/**
* uint64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* uint64 id = 1;
* @param value The id to set.
*/
private void setId(long value) {
id_ = value;
}
/**
* uint64 id = 1;
*/
private void clearId() {
id_ = 0L;
}
public static final int CREATED_NS_FIELD_NUMBER = 2;
private long createdNs_;
/**
* uint64 created_ns = 2;
* @return The createdNs.
*/
@java.lang.Override
public long getCreatedNs() {
return createdNs_;
}
/**
* uint64 created_ns = 2;
* @param value The createdNs to set.
*/
private void setCreatedNs(long value) {
createdNs_ = value;
}
/**
* uint64 created_ns = 2;
*/
private void clearCreatedNs() {
createdNs_ = 0L;
}
public static final int GROUP_ID_FIELD_NUMBER = 3;
private com.google.protobuf.ByteString groupId_;
/**
* bytes group_id = 3;
* @return The groupId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getGroupId() {
return groupId_;
}
/**
* bytes group_id = 3;
* @param value The groupId to set.
*/
private void setGroupId(com.google.protobuf.ByteString value) {
java.lang.Class valueClass = value.getClass();
groupId_ = value;
}
/**
* bytes group_id = 3;
*/
private void clearGroupId() {
groupId_ = getDefaultInstance().getGroupId();
}
public static final int DATA_FIELD_NUMBER = 4;
private com.google.protobuf.ByteString data_;
/**
* bytes data = 4;
* @return The data.
*/
@java.lang.Override
public com.google.protobuf.ByteString getData() {
return data_;
}
/**
* bytes data = 4;
* @param value The data to set.
*/
private void setData(com.google.protobuf.ByteString value) {
java.lang.Class valueClass = value.getClass();
data_ = value;
}
/**
* bytes data = 4;
*/
private void clearData() {
data_ = getDefaultInstance().getData();
}
public static final int SENDER_HMAC_FIELD_NUMBER = 5;
private com.google.protobuf.ByteString senderHmac_;
/**
* bytes sender_hmac = 5;
* @return The senderHmac.
*/
@java.lang.Override
public com.google.protobuf.ByteString getSenderHmac() {
return senderHmac_;
}
/**
* bytes sender_hmac = 5;
* @param value The senderHmac to set.
*/
private void setSenderHmac(com.google.protobuf.ByteString value) {
java.lang.Class valueClass = value.getClass();
senderHmac_ = value;
}
/**
* bytes sender_hmac = 5;
*/
private void clearSenderHmac() {
senderHmac_ = getDefaultInstance().getSenderHmac();
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1 parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1 parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1 parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1 parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1 parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1 parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1 parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1 parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1 parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1 parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1 parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1 parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1 prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
*
* Version 1 of the GroupMessage format
*
*
* Protobuf type {@code xmtp.mls.api.v1.GroupMessage.V1}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1, Builder> implements
// @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.GroupMessage.V1)
org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1OrBuilder {
// Construct using org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* uint64 id = 1;
* @return The id.
*/
@java.lang.Override
public long getId() {
return instance.getId();
}
/**
* uint64 id = 1;
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
copyOnWrite();
instance.setId(value);
return this;
}
/**
* uint64 id = 1;
* @return This builder for chaining.
*/
public Builder clearId() {
copyOnWrite();
instance.clearId();
return this;
}
/**
* uint64 created_ns = 2;
* @return The createdNs.
*/
@java.lang.Override
public long getCreatedNs() {
return instance.getCreatedNs();
}
/**
* uint64 created_ns = 2;
* @param value The createdNs to set.
* @return This builder for chaining.
*/
public Builder setCreatedNs(long value) {
copyOnWrite();
instance.setCreatedNs(value);
return this;
}
/**
* uint64 created_ns = 2;
* @return This builder for chaining.
*/
public Builder clearCreatedNs() {
copyOnWrite();
instance.clearCreatedNs();
return this;
}
/**
* bytes group_id = 3;
* @return The groupId.
*/
@java.lang.Override
public com.google.protobuf.ByteString getGroupId() {
return instance.getGroupId();
}
/**
* bytes group_id = 3;
* @param value The groupId to set.
* @return This builder for chaining.
*/
public Builder setGroupId(com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setGroupId(value);
return this;
}
/**
* bytes group_id = 3;
* @return This builder for chaining.
*/
public Builder clearGroupId() {
copyOnWrite();
instance.clearGroupId();
return this;
}
/**
* bytes data = 4;
* @return The data.
*/
@java.lang.Override
public com.google.protobuf.ByteString getData() {
return instance.getData();
}
/**
* bytes data = 4;
* @param value The data to set.
* @return This builder for chaining.
*/
public Builder setData(com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setData(value);
return this;
}
/**
* bytes data = 4;
* @return This builder for chaining.
*/
public Builder clearData() {
copyOnWrite();
instance.clearData();
return this;
}
/**
* bytes sender_hmac = 5;
* @return The senderHmac.
*/
@java.lang.Override
public com.google.protobuf.ByteString getSenderHmac() {
return instance.getSenderHmac();
}
/**
* bytes sender_hmac = 5;
* @param value The senderHmac to set.
* @return This builder for chaining.
*/
public Builder setSenderHmac(com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSenderHmac(value);
return this;
}
/**
* bytes sender_hmac = 5;
* @return This builder for chaining.
*/
public Builder clearSenderHmac() {
copyOnWrite();
instance.clearSenderHmac();
return this;
}
// @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.GroupMessage.V1)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"id_",
"createdNs_",
"groupId_",
"data_",
"senderHmac_",
};
java.lang.String info =
"\u0000\u0005\u0000\u0000\u0001\u0005\u0005\u0000\u0000\u0000\u0001\u0003\u0002\u0003" +
"\u0003\n\u0004\n\u0005\n";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:xmtp.mls.api.v1.GroupMessage.V1)
private static final org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1 DEFAULT_INSTANCE;
static {
V1 defaultInstance = new V1();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
V1.class, defaultInstance);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1 getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int versionCase_ = 0;
private java.lang.Object version_;
public enum VersionCase {
V1(1),
VERSION_NOT_SET(0);
private final int value;
private VersionCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static VersionCase valueOf(int value) {
return forNumber(value);
}
public static VersionCase forNumber(int value) {
switch (value) {
case 1: return V1;
case 0: return VERSION_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public VersionCase
getVersionCase() {
return VersionCase.forNumber(
versionCase_);
}
private void clearVersion() {
versionCase_ = 0;
version_ = null;
}
public static final int V1_FIELD_NUMBER = 1;
/**
* .xmtp.mls.api.v1.GroupMessage.V1 v1 = 1;
*/
@java.lang.Override
public boolean hasV1() {
return versionCase_ == 1;
}
/**
* .xmtp.mls.api.v1.GroupMessage.V1 v1 = 1;
*/
@java.lang.Override
public org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1 getV1() {
if (versionCase_ == 1) {
return (org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1) version_;
}
return org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1.getDefaultInstance();
}
/**
* .xmtp.mls.api.v1.GroupMessage.V1 v1 = 1;
*/
private void setV1(org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1 value) {
value.getClass();
version_ = value;
versionCase_ = 1;
}
/**
* .xmtp.mls.api.v1.GroupMessage.V1 v1 = 1;
*/
private void mergeV1(org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1 value) {
value.getClass();
if (versionCase_ == 1 &&
version_ != org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1.getDefaultInstance()) {
version_ = org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1.newBuilder((org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1) version_)
.mergeFrom(value).buildPartial();
} else {
version_ = value;
}
versionCase_ = 1;
}
/**
* .xmtp.mls.api.v1.GroupMessage.V1 v1 = 1;
*/
private void clearV1() {
if (versionCase_ == 1) {
versionCase_ = 0;
version_ = null;
}
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(org.xmtp.proto.mls.api.v1.Mls.GroupMessage prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
*
* Full representation of a group message
*
*
* Protobuf type {@code xmtp.mls.api.v1.GroupMessage}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.xmtp.proto.mls.api.v1.Mls.GroupMessage, Builder> implements
// @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.GroupMessage)
org.xmtp.proto.mls.api.v1.Mls.GroupMessageOrBuilder {
// Construct using org.xmtp.proto.mls.api.v1.Mls.GroupMessage.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public VersionCase
getVersionCase() {
return instance.getVersionCase();
}
public Builder clearVersion() {
copyOnWrite();
instance.clearVersion();
return this;
}
/**
* .xmtp.mls.api.v1.GroupMessage.V1 v1 = 1;
*/
@java.lang.Override
public boolean hasV1() {
return instance.hasV1();
}
/**
* .xmtp.mls.api.v1.GroupMessage.V1 v1 = 1;
*/
@java.lang.Override
public org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1 getV1() {
return instance.getV1();
}
/**
* .xmtp.mls.api.v1.GroupMessage.V1 v1 = 1;
*/
public Builder setV1(org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1 value) {
copyOnWrite();
instance.setV1(value);
return this;
}
/**
* .xmtp.mls.api.v1.GroupMessage.V1 v1 = 1;
*/
public Builder setV1(
org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1.Builder builderForValue) {
copyOnWrite();
instance.setV1(builderForValue.build());
return this;
}
/**
* .xmtp.mls.api.v1.GroupMessage.V1 v1 = 1;
*/
public Builder mergeV1(org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1 value) {
copyOnWrite();
instance.mergeV1(value);
return this;
}
/**
* .xmtp.mls.api.v1.GroupMessage.V1 v1 = 1;
*/
public Builder clearV1() {
copyOnWrite();
instance.clearV1();
return this;
}
// @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.GroupMessage)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new org.xmtp.proto.mls.api.v1.Mls.GroupMessage();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"version_",
"versionCase_",
org.xmtp.proto.mls.api.v1.Mls.GroupMessage.V1.class,
};
java.lang.String info =
"\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001<\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (org.xmtp.proto.mls.api.v1.Mls.GroupMessage.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:xmtp.mls.api.v1.GroupMessage)
private static final org.xmtp.proto.mls.api.v1.Mls.GroupMessage DEFAULT_INSTANCE;
static {
GroupMessage defaultInstance = new GroupMessage();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
GroupMessage.class, defaultInstance);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessage getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface GroupMessageInputOrBuilder extends
// @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.GroupMessageInput)
com.google.protobuf.MessageLiteOrBuilder {
/**
* .xmtp.mls.api.v1.GroupMessageInput.V1 v1 = 1;
* @return Whether the v1 field is set.
*/
boolean hasV1();
/**
* .xmtp.mls.api.v1.GroupMessageInput.V1 v1 = 1;
* @return The v1.
*/
org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1 getV1();
public org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.VersionCase getVersionCase();
}
/**
*
* Input type for a group message
*
*
* Protobuf type {@code xmtp.mls.api.v1.GroupMessageInput}
*/
public static final class GroupMessageInput extends
com.google.protobuf.GeneratedMessageLite<
GroupMessageInput, GroupMessageInput.Builder> implements
// @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.GroupMessageInput)
GroupMessageInputOrBuilder {
private GroupMessageInput() {
}
public interface V1OrBuilder extends
// @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.GroupMessageInput.V1)
com.google.protobuf.MessageLiteOrBuilder {
/**
* bytes data = 1;
* @return The data.
*/
com.google.protobuf.ByteString getData();
/**
* bytes sender_hmac = 2;
* @return The senderHmac.
*/
com.google.protobuf.ByteString getSenderHmac();
}
/**
*
* Version 1 of the GroupMessageInput payload format
*
*
* Protobuf type {@code xmtp.mls.api.v1.GroupMessageInput.V1}
*/
public static final class V1 extends
com.google.protobuf.GeneratedMessageLite<
V1, V1.Builder> implements
// @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.GroupMessageInput.V1)
V1OrBuilder {
private V1() {
data_ = com.google.protobuf.ByteString.EMPTY;
senderHmac_ = com.google.protobuf.ByteString.EMPTY;
}
public static final int DATA_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString data_;
/**
* bytes data = 1;
* @return The data.
*/
@java.lang.Override
public com.google.protobuf.ByteString getData() {
return data_;
}
/**
* bytes data = 1;
* @param value The data to set.
*/
private void setData(com.google.protobuf.ByteString value) {
java.lang.Class valueClass = value.getClass();
data_ = value;
}
/**
* bytes data = 1;
*/
private void clearData() {
data_ = getDefaultInstance().getData();
}
public static final int SENDER_HMAC_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString senderHmac_;
/**
* bytes sender_hmac = 2;
* @return The senderHmac.
*/
@java.lang.Override
public com.google.protobuf.ByteString getSenderHmac() {
return senderHmac_;
}
/**
* bytes sender_hmac = 2;
* @param value The senderHmac to set.
*/
private void setSenderHmac(com.google.protobuf.ByteString value) {
java.lang.Class valueClass = value.getClass();
senderHmac_ = value;
}
/**
* bytes sender_hmac = 2;
*/
private void clearSenderHmac() {
senderHmac_ = getDefaultInstance().getSenderHmac();
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1 parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1 parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1 parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1 parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1 parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1 parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1 parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1 parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1 parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1 parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1 parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1 parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1 prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
*
* Version 1 of the GroupMessageInput payload format
*
*
* Protobuf type {@code xmtp.mls.api.v1.GroupMessageInput.V1}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1, Builder> implements
// @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.GroupMessageInput.V1)
org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1OrBuilder {
// Construct using org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* bytes data = 1;
* @return The data.
*/
@java.lang.Override
public com.google.protobuf.ByteString getData() {
return instance.getData();
}
/**
* bytes data = 1;
* @param value The data to set.
* @return This builder for chaining.
*/
public Builder setData(com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setData(value);
return this;
}
/**
* bytes data = 1;
* @return This builder for chaining.
*/
public Builder clearData() {
copyOnWrite();
instance.clearData();
return this;
}
/**
* bytes sender_hmac = 2;
* @return The senderHmac.
*/
@java.lang.Override
public com.google.protobuf.ByteString getSenderHmac() {
return instance.getSenderHmac();
}
/**
* bytes sender_hmac = 2;
* @param value The senderHmac to set.
* @return This builder for chaining.
*/
public Builder setSenderHmac(com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSenderHmac(value);
return this;
}
/**
* bytes sender_hmac = 2;
* @return This builder for chaining.
*/
public Builder clearSenderHmac() {
copyOnWrite();
instance.clearSenderHmac();
return this;
}
// @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.GroupMessageInput.V1)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"data_",
"senderHmac_",
};
java.lang.String info =
"\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\n\u0002\n";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:xmtp.mls.api.v1.GroupMessageInput.V1)
private static final org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1 DEFAULT_INSTANCE;
static {
V1 defaultInstance = new V1();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
V1.class, defaultInstance);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1 getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int versionCase_ = 0;
private java.lang.Object version_;
public enum VersionCase {
V1(1),
VERSION_NOT_SET(0);
private final int value;
private VersionCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static VersionCase valueOf(int value) {
return forNumber(value);
}
public static VersionCase forNumber(int value) {
switch (value) {
case 1: return V1;
case 0: return VERSION_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
@java.lang.Override
public VersionCase
getVersionCase() {
return VersionCase.forNumber(
versionCase_);
}
private void clearVersion() {
versionCase_ = 0;
version_ = null;
}
public static final int V1_FIELD_NUMBER = 1;
/**
* .xmtp.mls.api.v1.GroupMessageInput.V1 v1 = 1;
*/
@java.lang.Override
public boolean hasV1() {
return versionCase_ == 1;
}
/**
* .xmtp.mls.api.v1.GroupMessageInput.V1 v1 = 1;
*/
@java.lang.Override
public org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1 getV1() {
if (versionCase_ == 1) {
return (org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1) version_;
}
return org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1.getDefaultInstance();
}
/**
* .xmtp.mls.api.v1.GroupMessageInput.V1 v1 = 1;
*/
private void setV1(org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1 value) {
value.getClass();
version_ = value;
versionCase_ = 1;
}
/**
* .xmtp.mls.api.v1.GroupMessageInput.V1 v1 = 1;
*/
private void mergeV1(org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1 value) {
value.getClass();
if (versionCase_ == 1 &&
version_ != org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1.getDefaultInstance()) {
version_ = org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1.newBuilder((org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1) version_)
.mergeFrom(value).buildPartial();
} else {
version_ = value;
}
versionCase_ = 1;
}
/**
* .xmtp.mls.api.v1.GroupMessageInput.V1 v1 = 1;
*/
private void clearV1() {
if (versionCase_ == 1) {
versionCase_ = 0;
version_ = null;
}
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
*
* Input type for a group message
*
*
* Protobuf type {@code xmtp.mls.api.v1.GroupMessageInput}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput, Builder> implements
// @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.GroupMessageInput)
org.xmtp.proto.mls.api.v1.Mls.GroupMessageInputOrBuilder {
// Construct using org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
@java.lang.Override
public VersionCase
getVersionCase() {
return instance.getVersionCase();
}
public Builder clearVersion() {
copyOnWrite();
instance.clearVersion();
return this;
}
/**
* .xmtp.mls.api.v1.GroupMessageInput.V1 v1 = 1;
*/
@java.lang.Override
public boolean hasV1() {
return instance.hasV1();
}
/**
* .xmtp.mls.api.v1.GroupMessageInput.V1 v1 = 1;
*/
@java.lang.Override
public org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1 getV1() {
return instance.getV1();
}
/**
* .xmtp.mls.api.v1.GroupMessageInput.V1 v1 = 1;
*/
public Builder setV1(org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1 value) {
copyOnWrite();
instance.setV1(value);
return this;
}
/**
* .xmtp.mls.api.v1.GroupMessageInput.V1 v1 = 1;
*/
public Builder setV1(
org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1.Builder builderForValue) {
copyOnWrite();
instance.setV1(builderForValue.build());
return this;
}
/**
* .xmtp.mls.api.v1.GroupMessageInput.V1 v1 = 1;
*/
public Builder mergeV1(org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1 value) {
copyOnWrite();
instance.mergeV1(value);
return this;
}
/**
* .xmtp.mls.api.v1.GroupMessageInput.V1 v1 = 1;
*/
public Builder clearV1() {
copyOnWrite();
instance.clearV1();
return this;
}
// @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.GroupMessageInput)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"version_",
"versionCase_",
org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.V1.class,
};
java.lang.String info =
"\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001<\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:xmtp.mls.api.v1.GroupMessageInput)
private static final org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput DEFAULT_INSTANCE;
static {
GroupMessageInput defaultInstance = new GroupMessageInput();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
GroupMessageInput.class, defaultInstance);
}
public static org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface SendGroupMessagesRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.SendGroupMessagesRequest)
com.google.protobuf.MessageLiteOrBuilder {
/**
* repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1;
*/
java.util.List
getMessagesList();
/**
* repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1;
*/
org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput getMessages(int index);
/**
* repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1;
*/
int getMessagesCount();
}
/**
*
*
* .xmtp.mls.api.v1.KeyPackageUpload key_package = 1;
*/
public Builder clearKeyPackage() { copyOnWrite();
instance.clearKeyPackage();
return this;
}
// @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.UploadKeyPackageRequest)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new org.xmtp.proto.mls.api.v1.Mls.UploadKeyPackageRequest();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"keyPackage_",
};
java.lang.String info =
"\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\t";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (org.xmtp.proto.mls.api.v1.Mls.UploadKeyPackageRequest.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:xmtp.mls.api.v1.UploadKeyPackageRequest)
private static final org.xmtp.proto.mls.api.v1.Mls.UploadKeyPackageRequest DEFAULT_INSTANCE;
static {
UploadKeyPackageRequest defaultInstance = new UploadKeyPackageRequest();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
UploadKeyPackageRequest.class, defaultInstance);
}
public static org.xmtp.proto.mls.api.v1.Mls.UploadKeyPackageRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface FetchKeyPackagesRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.FetchKeyPackagesRequest)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* The caller can provide an array of installation keys, and the API
* will return one key package for each installation associated with each
* installation key
*
*
* repeated bytes installation_keys = 1;
* @return A list containing the installationKeys.
*/
java.util.List getInstallationKeysList();
/**
*
* The caller can provide an array of installation keys, and the API
* will return one key package for each installation associated with each
* installation key
*
*
* repeated bytes installation_keys = 1;
* @return The count of installationKeys.
*/
int getInstallationKeysCount();
/**
*
* The caller can provide an array of installation keys, and the API
* will return one key package for each installation associated with each
* installation key
*
*
* repeated bytes installation_keys = 1;
* @param index The index of the element to return.
* @return The installationKeys at the given index.
*/
com.google.protobuf.ByteString getInstallationKeys(int index);
}
/**
*
* Fetch one or more key packages
*
*
* Protobuf type {@code xmtp.mls.api.v1.FetchKeyPackagesRequest}
*/
public static final class FetchKeyPackagesRequest extends
com.google.protobuf.GeneratedMessageLite<
FetchKeyPackagesRequest, FetchKeyPackagesRequest.Builder> implements
// @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.FetchKeyPackagesRequest)
FetchKeyPackagesRequestOrBuilder {
private FetchKeyPackagesRequest() {
installationKeys_ = emptyProtobufList();
}
public static final int INSTALLATION_KEYS_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList installationKeys_;
/**
*
* The caller can provide an array of installation keys, and the API
* will return one key package for each installation associated with each
* installation key
*
*
* repeated bytes installation_keys = 1;
* @return A list containing the installationKeys.
*/
@java.lang.Override
public java.util.List
getInstallationKeysList() {
return installationKeys_;
}
/**
*
* The caller can provide an array of installation keys, and the API
* will return one key package for each installation associated with each
* installation key
*
*
* repeated bytes installation_keys = 1;
* @return The count of installationKeys.
*/
@java.lang.Override
public int getInstallationKeysCount() {
return installationKeys_.size();
}
/**
*
* The caller can provide an array of installation keys, and the API
* will return one key package for each installation associated with each
* installation key
*
*
* repeated bytes installation_keys = 1;
* @param index The index of the element to return.
* @return The installationKeys at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString getInstallationKeys(int index) {
return installationKeys_.get(index);
}
private void ensureInstallationKeysIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = installationKeys_;
if (!tmp.isModifiable()) {
installationKeys_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
*
* The caller can provide an array of installation keys, and the API
* will return one key package for each installation associated with each
* installation key
*
*
* repeated bytes installation_keys = 1;
* @param index The index to set the value at.
* @param value The installationKeys to set.
*/
private void setInstallationKeys(
int index, com.google.protobuf.ByteString value) {
java.lang.Class valueClass = value.getClass();
ensureInstallationKeysIsMutable();
installationKeys_.set(index, value);
}
/**
*
* The caller can provide an array of installation keys, and the API
* will return one key package for each installation associated with each
* installation key
*
*
* repeated bytes installation_keys = 1;
* @param value The installationKeys to add.
*/
private void addInstallationKeys(com.google.protobuf.ByteString value) {
java.lang.Class valueClass = value.getClass();
ensureInstallationKeysIsMutable();
installationKeys_.add(value);
}
/**
*
* The caller can provide an array of installation keys, and the API
* will return one key package for each installation associated with each
* installation key
*
* The caller can provide an array of installation keys, and the API
* will return one key package for each installation associated with each
* installation key
*
*
* Protobuf type {@code xmtp.mls.api.v1.FetchKeyPackagesRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesRequest, Builder> implements
// @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.FetchKeyPackagesRequest)
org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesRequestOrBuilder {
// Construct using org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesRequest.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* The caller can provide an array of installation keys, and the API
* will return one key package for each installation associated with each
* installation key
*
*
* repeated bytes installation_keys = 1;
* @return A list containing the installationKeys.
*/
@java.lang.Override
public java.util.List
getInstallationKeysList() {
return java.util.Collections.unmodifiableList(
instance.getInstallationKeysList());
}
/**
*
* The caller can provide an array of installation keys, and the API
* will return one key package for each installation associated with each
* installation key
*
*
* repeated bytes installation_keys = 1;
* @return The count of installationKeys.
*/
@java.lang.Override
public int getInstallationKeysCount() {
return instance.getInstallationKeysCount();
}
/**
*
* The caller can provide an array of installation keys, and the API
* will return one key package for each installation associated with each
* installation key
*
*
* repeated bytes installation_keys = 1;
* @param index The index of the element to return.
* @return The installationKeys at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString getInstallationKeys(int index) {
return instance.getInstallationKeys(index);
}
/**
*
* The caller can provide an array of installation keys, and the API
* will return one key package for each installation associated with each
* installation key
*
*
* repeated bytes installation_keys = 1;
* @param value The installationKeys to set.
* @return This builder for chaining.
*/
public Builder setInstallationKeys(
int index, com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setInstallationKeys(index, value);
return this;
}
/**
*
* The caller can provide an array of installation keys, and the API
* will return one key package for each installation associated with each
* installation key
*
*
* repeated bytes installation_keys = 1;
* @param value The installationKeys to add.
* @return This builder for chaining.
*/
public Builder addInstallationKeys(com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addInstallationKeys(value);
return this;
}
/**
*
* The caller can provide an array of installation keys, and the API
* will return one key package for each installation associated with each
* installation key
*
*
* repeated bytes installation_keys = 1;
* @param values The installationKeys to add.
* @return This builder for chaining.
*/
public Builder addAllInstallationKeys(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllInstallationKeys(values);
return this;
}
/**
*
* The caller can provide an array of installation keys, and the API
* will return one key package for each installation associated with each
* installation key
*
*
* repeated bytes installation_keys = 1;
* @return This builder for chaining.
*/
public Builder clearInstallationKeys() {
copyOnWrite();
instance.clearInstallationKeys();
return this;
}
// @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.FetchKeyPackagesRequest)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesRequest();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"installationKeys_",
};
java.lang.String info =
"\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0001\u0000\u0001\u001c";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesRequest.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:xmtp.mls.api.v1.FetchKeyPackagesRequest)
private static final org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesRequest DEFAULT_INSTANCE;
static {
FetchKeyPackagesRequest defaultInstance = new FetchKeyPackagesRequest();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
FetchKeyPackagesRequest.class, defaultInstance);
}
public static org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface FetchKeyPackagesResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.FetchKeyPackagesResponse)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
*
* Protobuf type {@code xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage, Builder> implements
// @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage)
org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackageOrBuilder {
// Construct using org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* bytes key_package_tls_serialized = 1;
* @return The keyPackageTlsSerialized.
*/
@java.lang.Override
public com.google.protobuf.ByteString getKeyPackageTlsSerialized() {
return instance.getKeyPackageTlsSerialized();
}
/**
* bytes key_package_tls_serialized = 1;
* @param value The keyPackageTlsSerialized to set.
* @return This builder for chaining.
*/
public Builder setKeyPackageTlsSerialized(com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setKeyPackageTlsSerialized(value);
return this;
}
/**
* bytes key_package_tls_serialized = 1;
* @return This builder for chaining.
*/
public Builder clearKeyPackageTlsSerialized() {
copyOnWrite();
instance.clearKeyPackageTlsSerialized();
return this;
}
// @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"keyPackageTlsSerialized_",
};
java.lang.String info =
"\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\n";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage)
private static final org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage DEFAULT_INSTANCE;
static {
KeyPackage defaultInstance = new KeyPackage();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
KeyPackage.class, defaultInstance);
}
public static org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public static final int KEY_PACKAGES_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList keyPackages_;
/**
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
*
* repeated .xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage key_packages = 1;
*/
@java.lang.Override
public int getKeyPackagesCount() {
return keyPackages_.size();
}
/**
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
*
* Protobuf type {@code xmtp.mls.api.v1.FetchKeyPackagesResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse, Builder> implements
// @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.FetchKeyPackagesResponse)
org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponseOrBuilder {
// Construct using org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
*
* repeated .xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage key_packages = 1;
*/
@java.lang.Override
public int getKeyPackagesCount() {
return instance.getKeyPackagesCount();
}/**
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
* Returns one key package per installation in the original order of the
* request. If any installations are missing key packages, an empty entry is
* left in their respective spots in the array.
*
*
* repeated .xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage key_packages = 1;
*/
public Builder removeKeyPackages(int index) {
copyOnWrite();
instance.removeKeyPackages(index);
return this;
}
// @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.FetchKeyPackagesResponse)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"keyPackages_",
org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage.class,
};
java.lang.String info =
"\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0001\u0000\u0001\u001b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:xmtp.mls.api.v1.FetchKeyPackagesResponse)
private static final org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse DEFAULT_INSTANCE;
static {
FetchKeyPackagesResponse defaultInstance = new FetchKeyPackagesResponse();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
FetchKeyPackagesResponse.class, defaultInstance);
}
public static org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface RevokeInstallationRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.RevokeInstallationRequest)
com.google.protobuf.MessageLiteOrBuilder {
/**
* bytes installation_key = 1;
* @return The installationKey.
*/
com.google.protobuf.ByteString getInstallationKey();
/**
*
* All revocations must be validated with a wallet signature over the
* installation_id being revoked (and some sort of standard prologue)
*
*
* .xmtp.message_contents.Signature wallet_signature = 2;
* @return Whether the walletSignature field is set.
*/
boolean hasWalletSignature();
/**
*
* All revocations must be validated with a wallet signature over the
* installation_id being revoked (and some sort of standard prologue)
*
* All revocations must be validated with a wallet signature over the
* installation_id being revoked (and some sort of standard prologue)
*
*
* .xmtp.message_contents.Signature wallet_signature = 2;
*/
public Builder clearWalletSignature() { copyOnWrite();
instance.clearWalletSignature();
return this;
}
// @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.RevokeInstallationRequest)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new org.xmtp.proto.mls.api.v1.Mls.RevokeInstallationRequest();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"installationKey_",
"walletSignature_",
};
java.lang.String info =
"\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\n\u0002\t";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (org.xmtp.proto.mls.api.v1.Mls.RevokeInstallationRequest.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:xmtp.mls.api.v1.RevokeInstallationRequest)
private static final org.xmtp.proto.mls.api.v1.Mls.RevokeInstallationRequest DEFAULT_INSTANCE;
static {
RevokeInstallationRequest defaultInstance = new RevokeInstallationRequest();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
RevokeInstallationRequest.class, defaultInstance);
}
public static org.xmtp.proto.mls.api.v1.Mls.RevokeInstallationRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface GetIdentityUpdatesRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.GetIdentityUpdatesRequest)
com.google.protobuf.MessageLiteOrBuilder {
/**
* repeated string account_addresses = 1;
* @return A list containing the accountAddresses.
*/
java.util.List
getAccountAddressesList();
/**
* repeated string account_addresses = 1;
* @return The count of accountAddresses.
*/
int getAccountAddressesCount();
/**
* repeated string account_addresses = 1;
* @param index The index of the element to return.
* @return The accountAddresses at the given index.
*/
java.lang.String getAccountAddresses(int index);
/**
* repeated string account_addresses = 1;
* @param index The index of the element to return.
* @return The accountAddresses at the given index.
*/
com.google.protobuf.ByteString
getAccountAddressesBytes(int index);
/**
* uint64 start_time_ns = 2;
* @return The startTimeNs.
*/
long getStartTimeNs();
}
/**
*
* Get all updates for an identity since the specified time
*
*
* Protobuf type {@code xmtp.mls.api.v1.GetIdentityUpdatesRequest}
*/
public static final class GetIdentityUpdatesRequest extends
com.google.protobuf.GeneratedMessageLite<
GetIdentityUpdatesRequest, GetIdentityUpdatesRequest.Builder> implements
// @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.GetIdentityUpdatesRequest)
GetIdentityUpdatesRequestOrBuilder {
private GetIdentityUpdatesRequest() {
accountAddresses_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
public static final int ACCOUNT_ADDRESSES_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList accountAddresses_;
/**
* repeated string account_addresses = 1;
* @return A list containing the accountAddresses.
*/
@java.lang.Override
public java.util.List getAccountAddressesList() {
return accountAddresses_;
}
/**
* repeated string account_addresses = 1;
* @return The count of accountAddresses.
*/
@java.lang.Override
public int getAccountAddressesCount() {
return accountAddresses_.size();
}
/**
* repeated string account_addresses = 1;
* @param index The index of the element to return.
* @return The accountAddresses at the given index.
*/
@java.lang.Override
public java.lang.String getAccountAddresses(int index) {
return accountAddresses_.get(index);
}
/**
* repeated string account_addresses = 1;
* @param index The index of the value to return.
* @return The bytes of the accountAddresses at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccountAddressesBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
accountAddresses_.get(index));
}
private void ensureAccountAddressesIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp =
accountAddresses_; if (!tmp.isModifiable()) {
accountAddresses_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated string account_addresses = 1;
* @param index The index to set the value at.
* @param value The accountAddresses to set.
*/
private void setAccountAddresses(
int index, java.lang.String value) {
java.lang.Class valueClass = value.getClass();
ensureAccountAddressesIsMutable();
accountAddresses_.set(index, value);
}
/**
* repeated string account_addresses = 1;
* @param value The accountAddresses to add.
*/
private void addAccountAddresses(
java.lang.String value) {
java.lang.Class valueClass = value.getClass();
ensureAccountAddressesIsMutable();
accountAddresses_.add(value);
}
/**
* repeated string account_addresses = 1;
* @param values The accountAddresses to add.
*/
private void addAllAccountAddresses(
java.lang.Iterable values) {
ensureAccountAddressesIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, accountAddresses_);
}
/**
* repeated string account_addresses = 1;
*/
private void clearAccountAddresses() {
accountAddresses_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* repeated string account_addresses = 1;
* @param value The bytes of the accountAddresses to add.
*/
private void addAccountAddressesBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureAccountAddressesIsMutable();
accountAddresses_.add(value.toStringUtf8());
}
public static final int START_TIME_NS_FIELD_NUMBER = 2;
private long startTimeNs_;
/**
* uint64 start_time_ns = 2;
* @return The startTimeNs.
*/
@java.lang.Override
public long getStartTimeNs() {
return startTimeNs_;
}
/**
* uint64 start_time_ns = 2;
* @param value The startTimeNs to set.
*/
private void setStartTimeNs(long value) {
startTimeNs_ = value;
}
/**
* uint64 start_time_ns = 2;
*/
private void clearStartTimeNs() {
startTimeNs_ = 0L;
}
public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesRequest prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
*
* Get all updates for an identity since the specified time
*
*
* Protobuf type {@code xmtp.mls.api.v1.GetIdentityUpdatesRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesRequest, Builder> implements
// @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.GetIdentityUpdatesRequest)
org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesRequestOrBuilder {
// Construct using org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesRequest.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* repeated string account_addresses = 1;
* @return A list containing the accountAddresses.
*/
@java.lang.Override
public java.util.List
getAccountAddressesList() {
return java.util.Collections.unmodifiableList(
instance.getAccountAddressesList());
}
/**
* repeated string account_addresses = 1;
* @return The count of accountAddresses.
*/
@java.lang.Override
public int getAccountAddressesCount() {
return instance.getAccountAddressesCount();
}
/**
* repeated string account_addresses = 1;
* @param index The index of the element to return.
* @return The accountAddresses at the given index.
*/
@java.lang.Override
public java.lang.String getAccountAddresses(int index) {
return instance.getAccountAddresses(index);
}
/**
* repeated string account_addresses = 1;
* @param index The index of the value to return.
* @return The bytes of the accountAddresses at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccountAddressesBytes(int index) {
return instance.getAccountAddressesBytes(index);
}
/**
* repeated string account_addresses = 1;
* @param index The index to set the value at.
* @param value The accountAddresses to set.
* @return This builder for chaining.
*/
public Builder setAccountAddresses(
int index, java.lang.String value) {
copyOnWrite();
instance.setAccountAddresses(index, value);
return this;
}
/**
* repeated string account_addresses = 1;
* @param value The accountAddresses to add.
* @return This builder for chaining.
*/
public Builder addAccountAddresses(
java.lang.String value) {
copyOnWrite();
instance.addAccountAddresses(value);
return this;
}
/**
* repeated string account_addresses = 1;
* @param values The accountAddresses to add.
* @return This builder for chaining.
*/
public Builder addAllAccountAddresses(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllAccountAddresses(values);
return this;
}
/**
* repeated string account_addresses = 1;
* @return This builder for chaining.
*/
public Builder clearAccountAddresses() {
copyOnWrite();
instance.clearAccountAddresses();
return this;
}
/**
* repeated string account_addresses = 1;
* @param value The bytes of the accountAddresses to add.
* @return This builder for chaining.
*/
public Builder addAccountAddressesBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addAccountAddressesBytes(value);
return this;
}
/**
* uint64 start_time_ns = 2;
* @return The startTimeNs.
*/
@java.lang.Override
public long getStartTimeNs() {
return instance.getStartTimeNs();
}
/**
* uint64 start_time_ns = 2;
* @param value The startTimeNs to set.
* @return This builder for chaining.
*/
public Builder setStartTimeNs(long value) {
copyOnWrite();
instance.setStartTimeNs(value);
return this;
}
/**
* uint64 start_time_ns = 2;
* @return This builder for chaining.
*/
public Builder clearStartTimeNs() {
copyOnWrite();
instance.clearStartTimeNs();
return this;
}
// @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.GetIdentityUpdatesRequest)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesRequest();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"accountAddresses_",
"startTimeNs_",
};
java.lang.String info =
"\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0001\u0000\u0001\u021a\u0002\u0003" +
"";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesRequest.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:xmtp.mls.api.v1.GetIdentityUpdatesRequest)
private static final org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesRequest DEFAULT_INSTANCE;
static {
GetIdentityUpdatesRequest defaultInstance = new GetIdentityUpdatesRequest();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
GetIdentityUpdatesRequest.class, defaultInstance);
}
public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface GetIdentityUpdatesResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.GetIdentityUpdatesResponse)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* A list of updates (or empty objects if no changes) in the original order
* of the request
*