All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.xmtp.proto.mls.api.v1.Mls Maven / Gradle / Ivy

// 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(); } /** *
   * Send a batch of MLS messages
   * 
* * Protobuf type {@code xmtp.mls.api.v1.SendGroupMessagesRequest} */ public static final class SendGroupMessagesRequest extends com.google.protobuf.GeneratedMessageLite< SendGroupMessagesRequest, SendGroupMessagesRequest.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.SendGroupMessagesRequest) SendGroupMessagesRequestOrBuilder { private SendGroupMessagesRequest() { messages_ = emptyProtobufList(); } public static final int MESSAGES_FIELD_NUMBER = 1; private com.google.protobuf.Internal.ProtobufList messages_; /** * repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1; */ @java.lang.Override public java.util.List getMessagesList() { return messages_; } /** * repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1; */ public java.util.List getMessagesOrBuilderList() { return messages_; } /** * repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1; */ @java.lang.Override public int getMessagesCount() { return messages_.size(); } /** * repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput getMessages(int index) { return messages_.get(index); } /** * repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1; */ public org.xmtp.proto.mls.api.v1.Mls.GroupMessageInputOrBuilder getMessagesOrBuilder( int index) { return messages_.get(index); } private void ensureMessagesIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = messages_; if (!tmp.isModifiable()) { messages_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** * repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1; */ private void setMessages( int index, org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput value) { value.getClass(); ensureMessagesIsMutable(); messages_.set(index, value); } /** * repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1; */ private void addMessages(org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput value) { value.getClass(); ensureMessagesIsMutable(); messages_.add(value); } /** * repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1; */ private void addMessages( int index, org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput value) { value.getClass(); ensureMessagesIsMutable(); messages_.add(index, value); } /** * repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1; */ private void addAllMessages( java.lang.Iterable values) { ensureMessagesIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, messages_); } /** * repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1; */ private void clearMessages() { messages_ = emptyProtobufList(); } /** * repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1; */ private void removeMessages(int index) { ensureMessagesIsMutable(); messages_.remove(index); } public static org.xmtp.proto.mls.api.v1.Mls.SendGroupMessagesRequest 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.SendGroupMessagesRequest 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.SendGroupMessagesRequest 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.SendGroupMessagesRequest 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.SendGroupMessagesRequest 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.SendGroupMessagesRequest 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.SendGroupMessagesRequest 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.SendGroupMessagesRequest 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.SendGroupMessagesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.SendGroupMessagesRequest 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.SendGroupMessagesRequest 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.SendGroupMessagesRequest 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.SendGroupMessagesRequest prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * Send a batch of MLS messages
     * 
* * Protobuf type {@code xmtp.mls.api.v1.SendGroupMessagesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.xmtp.proto.mls.api.v1.Mls.SendGroupMessagesRequest, Builder> implements // @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.SendGroupMessagesRequest) org.xmtp.proto.mls.api.v1.Mls.SendGroupMessagesRequestOrBuilder { // Construct using org.xmtp.proto.mls.api.v1.Mls.SendGroupMessagesRequest.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1; */ @java.lang.Override public java.util.List getMessagesList() { return java.util.Collections.unmodifiableList( instance.getMessagesList()); } /** * repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1; */ @java.lang.Override public int getMessagesCount() { return instance.getMessagesCount(); }/** * repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput getMessages(int index) { return instance.getMessages(index); } /** * repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1; */ public Builder setMessages( int index, org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput value) { copyOnWrite(); instance.setMessages(index, value); return this; } /** * repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1; */ public Builder setMessages( int index, org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.Builder builderForValue) { copyOnWrite(); instance.setMessages(index, builderForValue.build()); return this; } /** * repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1; */ public Builder addMessages(org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput value) { copyOnWrite(); instance.addMessages(value); return this; } /** * repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1; */ public Builder addMessages( int index, org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput value) { copyOnWrite(); instance.addMessages(index, value); return this; } /** * repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1; */ public Builder addMessages( org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.Builder builderForValue) { copyOnWrite(); instance.addMessages(builderForValue.build()); return this; } /** * repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1; */ public Builder addMessages( int index, org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.Builder builderForValue) { copyOnWrite(); instance.addMessages(index, builderForValue.build()); return this; } /** * repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1; */ public Builder addAllMessages( java.lang.Iterable values) { copyOnWrite(); instance.addAllMessages(values); return this; } /** * repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1; */ public Builder clearMessages() { copyOnWrite(); instance.clearMessages(); return this; } /** * repeated .xmtp.mls.api.v1.GroupMessageInput messages = 1; */ public Builder removeMessages(int index) { copyOnWrite(); instance.removeMessages(index); return this; } // @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.SendGroupMessagesRequest) } @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.SendGroupMessagesRequest(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "messages_", org.xmtp.proto.mls.api.v1.Mls.GroupMessageInput.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.SendGroupMessagesRequest.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.SendGroupMessagesRequest) private static final org.xmtp.proto.mls.api.v1.Mls.SendGroupMessagesRequest DEFAULT_INSTANCE; static { SendGroupMessagesRequest defaultInstance = new SendGroupMessagesRequest(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( SendGroupMessagesRequest.class, defaultInstance); } public static org.xmtp.proto.mls.api.v1.Mls.SendGroupMessagesRequest 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 SendWelcomeMessagesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.SendWelcomeMessagesRequest) com.google.protobuf.MessageLiteOrBuilder { /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ java.util.List getMessagesList(); /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput getMessages(int index); /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ int getMessagesCount(); } /** *
   * Send a batch of welcome messages
   * 
* * Protobuf type {@code xmtp.mls.api.v1.SendWelcomeMessagesRequest} */ public static final class SendWelcomeMessagesRequest extends com.google.protobuf.GeneratedMessageLite< SendWelcomeMessagesRequest, SendWelcomeMessagesRequest.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.SendWelcomeMessagesRequest) SendWelcomeMessagesRequestOrBuilder { private SendWelcomeMessagesRequest() { messages_ = emptyProtobufList(); } public static final int MESSAGES_FIELD_NUMBER = 1; private com.google.protobuf.Internal.ProtobufList messages_; /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ @java.lang.Override public java.util.List getMessagesList() { return messages_; } /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ public java.util.List getMessagesOrBuilderList() { return messages_; } /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ @java.lang.Override public int getMessagesCount() { return messages_.size(); } /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput getMessages(int index) { return messages_.get(index); } /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ public org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInputOrBuilder getMessagesOrBuilder( int index) { return messages_.get(index); } private void ensureMessagesIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = messages_; if (!tmp.isModifiable()) { messages_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ private void setMessages( int index, org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput value) { value.getClass(); ensureMessagesIsMutable(); messages_.set(index, value); } /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ private void addMessages(org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput value) { value.getClass(); ensureMessagesIsMutable(); messages_.add(value); } /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ private void addMessages( int index, org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput value) { value.getClass(); ensureMessagesIsMutable(); messages_.add(index, value); } /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ private void addAllMessages( java.lang.Iterable values) { ensureMessagesIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, messages_); } /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ private void clearMessages() { messages_ = emptyProtobufList(); } /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ private void removeMessages(int index) { ensureMessagesIsMutable(); messages_.remove(index); } public static org.xmtp.proto.mls.api.v1.Mls.SendWelcomeMessagesRequest 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.SendWelcomeMessagesRequest 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.SendWelcomeMessagesRequest 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.SendWelcomeMessagesRequest 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.SendWelcomeMessagesRequest 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.SendWelcomeMessagesRequest 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.SendWelcomeMessagesRequest 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.SendWelcomeMessagesRequest 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.SendWelcomeMessagesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.SendWelcomeMessagesRequest 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.SendWelcomeMessagesRequest 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.SendWelcomeMessagesRequest 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.SendWelcomeMessagesRequest prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * Send a batch of welcome messages
     * 
* * Protobuf type {@code xmtp.mls.api.v1.SendWelcomeMessagesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.xmtp.proto.mls.api.v1.Mls.SendWelcomeMessagesRequest, Builder> implements // @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.SendWelcomeMessagesRequest) org.xmtp.proto.mls.api.v1.Mls.SendWelcomeMessagesRequestOrBuilder { // Construct using org.xmtp.proto.mls.api.v1.Mls.SendWelcomeMessagesRequest.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ @java.lang.Override public java.util.List getMessagesList() { return java.util.Collections.unmodifiableList( instance.getMessagesList()); } /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ @java.lang.Override public int getMessagesCount() { return instance.getMessagesCount(); }/** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput getMessages(int index) { return instance.getMessages(index); } /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ public Builder setMessages( int index, org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput value) { copyOnWrite(); instance.setMessages(index, value); return this; } /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ public Builder setMessages( int index, org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.Builder builderForValue) { copyOnWrite(); instance.setMessages(index, builderForValue.build()); return this; } /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ public Builder addMessages(org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput value) { copyOnWrite(); instance.addMessages(value); return this; } /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ public Builder addMessages( int index, org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput value) { copyOnWrite(); instance.addMessages(index, value); return this; } /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ public Builder addMessages( org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.Builder builderForValue) { copyOnWrite(); instance.addMessages(builderForValue.build()); return this; } /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ public Builder addMessages( int index, org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.Builder builderForValue) { copyOnWrite(); instance.addMessages(index, builderForValue.build()); return this; } /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ public Builder addAllMessages( java.lang.Iterable values) { copyOnWrite(); instance.addAllMessages(values); return this; } /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ public Builder clearMessages() { copyOnWrite(); instance.clearMessages(); return this; } /** * repeated .xmtp.mls.api.v1.WelcomeMessageInput messages = 1; */ public Builder removeMessages(int index) { copyOnWrite(); instance.removeMessages(index); return this; } // @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.SendWelcomeMessagesRequest) } @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.SendWelcomeMessagesRequest(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "messages_", org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageInput.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.SendWelcomeMessagesRequest.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.SendWelcomeMessagesRequest) private static final org.xmtp.proto.mls.api.v1.Mls.SendWelcomeMessagesRequest DEFAULT_INSTANCE; static { SendWelcomeMessagesRequest defaultInstance = new SendWelcomeMessagesRequest(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( SendWelcomeMessagesRequest.class, defaultInstance); } public static org.xmtp.proto.mls.api.v1.Mls.SendWelcomeMessagesRequest 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 KeyPackageUploadOrBuilder extends // @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.KeyPackageUpload) com.google.protobuf.MessageLiteOrBuilder { /** *
     * The owner's wallet address would be extracted from the identity
     * credential in the key package, and all signatures would be validated.
     * 
* * bytes key_package_tls_serialized = 1; * @return The keyPackageTlsSerialized. */ com.google.protobuf.ByteString getKeyPackageTlsSerialized(); } /** *
   * A wrapper around the Key Package bytes
   * 
* * Protobuf type {@code xmtp.mls.api.v1.KeyPackageUpload} */ public static final class KeyPackageUpload extends com.google.protobuf.GeneratedMessageLite< KeyPackageUpload, KeyPackageUpload.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.KeyPackageUpload) KeyPackageUploadOrBuilder { private KeyPackageUpload() { keyPackageTlsSerialized_ = com.google.protobuf.ByteString.EMPTY; } public static final int KEY_PACKAGE_TLS_SERIALIZED_FIELD_NUMBER = 1; private com.google.protobuf.ByteString keyPackageTlsSerialized_; /** *
     * The owner's wallet address would be extracted from the identity
     * credential in the key package, and all signatures would be validated.
     * 
* * bytes key_package_tls_serialized = 1; * @return The keyPackageTlsSerialized. */ @java.lang.Override public com.google.protobuf.ByteString getKeyPackageTlsSerialized() { return keyPackageTlsSerialized_; } /** *
     * The owner's wallet address would be extracted from the identity
     * credential in the key package, and all signatures would be validated.
     * 
* * bytes key_package_tls_serialized = 1; * @param value The keyPackageTlsSerialized to set. */ private void setKeyPackageTlsSerialized(com.google.protobuf.ByteString value) { java.lang.Class valueClass = value.getClass(); keyPackageTlsSerialized_ = value; } /** *
     * The owner's wallet address would be extracted from the identity
     * credential in the key package, and all signatures would be validated.
     * 
* * bytes key_package_tls_serialized = 1; */ private void clearKeyPackageTlsSerialized() { keyPackageTlsSerialized_ = getDefaultInstance().getKeyPackageTlsSerialized(); } public static org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload 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.KeyPackageUpload 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.KeyPackageUpload 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.KeyPackageUpload 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.KeyPackageUpload 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.KeyPackageUpload 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.KeyPackageUpload 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.KeyPackageUpload 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.KeyPackageUpload parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload 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.KeyPackageUpload 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.KeyPackageUpload 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.KeyPackageUpload prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * A wrapper around the Key Package bytes
     * 
* * Protobuf type {@code xmtp.mls.api.v1.KeyPackageUpload} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload, Builder> implements // @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.KeyPackageUpload) org.xmtp.proto.mls.api.v1.Mls.KeyPackageUploadOrBuilder { // Construct using org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
       * The owner's wallet address would be extracted from the identity
       * credential in the key package, and all signatures would be validated.
       * 
* * bytes key_package_tls_serialized = 1; * @return The keyPackageTlsSerialized. */ @java.lang.Override public com.google.protobuf.ByteString getKeyPackageTlsSerialized() { return instance.getKeyPackageTlsSerialized(); } /** *
       * The owner's wallet address would be extracted from the identity
       * credential in the key package, and all signatures would be validated.
       * 
* * 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; } /** *
       * The owner's wallet address would be extracted from the identity
       * credential in the key package, and all signatures would be validated.
       * 
* * 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.KeyPackageUpload) } @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.KeyPackageUpload(); } 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.KeyPackageUpload.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.KeyPackageUpload) private static final org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload DEFAULT_INSTANCE; static { KeyPackageUpload defaultInstance = new KeyPackageUpload(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( KeyPackageUpload.class, defaultInstance); } public static org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload 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 RegisterInstallationRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.RegisterInstallationRequest) com.google.protobuf.MessageLiteOrBuilder { /** *
     * The Key Package contains all information needed to register an installation
     * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; * @return Whether the keyPackage field is set. */ boolean hasKeyPackage(); /** *
     * The Key Package contains all information needed to register an installation
     * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; * @return The keyPackage. */ org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload getKeyPackage(); } /** *
   * Register a new installation
   * 
* * Protobuf type {@code xmtp.mls.api.v1.RegisterInstallationRequest} */ public static final class RegisterInstallationRequest extends com.google.protobuf.GeneratedMessageLite< RegisterInstallationRequest, RegisterInstallationRequest.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.RegisterInstallationRequest) RegisterInstallationRequestOrBuilder { private RegisterInstallationRequest() { } public static final int KEY_PACKAGE_FIELD_NUMBER = 1; private org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload keyPackage_; /** *
     * The Key Package contains all information needed to register an installation
     * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; */ @java.lang.Override public boolean hasKeyPackage() { return keyPackage_ != null; } /** *
     * The Key Package contains all information needed to register an installation
     * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload getKeyPackage() { return keyPackage_ == null ? org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload.getDefaultInstance() : keyPackage_; } /** *
     * The Key Package contains all information needed to register an installation
     * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; */ private void setKeyPackage(org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload value) { value.getClass(); keyPackage_ = value; } /** *
     * The Key Package contains all information needed to register an installation
     * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeKeyPackage(org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload value) { value.getClass(); if (keyPackage_ != null && keyPackage_ != org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload.getDefaultInstance()) { keyPackage_ = org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload.newBuilder(keyPackage_).mergeFrom(value).buildPartial(); } else { keyPackage_ = value; } } /** *
     * The Key Package contains all information needed to register an installation
     * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; */ private void clearKeyPackage() { keyPackage_ = null; } public static org.xmtp.proto.mls.api.v1.Mls.RegisterInstallationRequest 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.RegisterInstallationRequest 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.RegisterInstallationRequest 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.RegisterInstallationRequest 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.RegisterInstallationRequest 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.RegisterInstallationRequest 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.RegisterInstallationRequest 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.RegisterInstallationRequest 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.RegisterInstallationRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.RegisterInstallationRequest 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.RegisterInstallationRequest 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.RegisterInstallationRequest 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.RegisterInstallationRequest prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * Register a new installation
     * 
* * Protobuf type {@code xmtp.mls.api.v1.RegisterInstallationRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.xmtp.proto.mls.api.v1.Mls.RegisterInstallationRequest, Builder> implements // @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.RegisterInstallationRequest) org.xmtp.proto.mls.api.v1.Mls.RegisterInstallationRequestOrBuilder { // Construct using org.xmtp.proto.mls.api.v1.Mls.RegisterInstallationRequest.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
       * The Key Package contains all information needed to register an installation
       * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; */ @java.lang.Override public boolean hasKeyPackage() { return instance.hasKeyPackage(); } /** *
       * The Key Package contains all information needed to register an installation
       * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload getKeyPackage() { return instance.getKeyPackage(); } /** *
       * The Key Package contains all information needed to register an installation
       * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; */ public Builder setKeyPackage(org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload value) { copyOnWrite(); instance.setKeyPackage(value); return this; } /** *
       * The Key Package contains all information needed to register an installation
       * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; */ public Builder setKeyPackage( org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload.Builder builderForValue) { copyOnWrite(); instance.setKeyPackage(builderForValue.build()); return this; } /** *
       * The Key Package contains all information needed to register an installation
       * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; */ public Builder mergeKeyPackage(org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload value) { copyOnWrite(); instance.mergeKeyPackage(value); return this; } /** *
       * The Key Package contains all information needed to register an installation
       * 
* * .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.RegisterInstallationRequest) } @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.RegisterInstallationRequest(); } 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.RegisterInstallationRequest.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.RegisterInstallationRequest) private static final org.xmtp.proto.mls.api.v1.Mls.RegisterInstallationRequest DEFAULT_INSTANCE; static { RegisterInstallationRequest defaultInstance = new RegisterInstallationRequest(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( RegisterInstallationRequest.class, defaultInstance); } public static org.xmtp.proto.mls.api.v1.Mls.RegisterInstallationRequest 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 RegisterInstallationResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.RegisterInstallationResponse) com.google.protobuf.MessageLiteOrBuilder { /** * bytes installation_key = 1; * @return The installationKey. */ com.google.protobuf.ByteString getInstallationKey(); } /** *
   * The response to a RegisterInstallationRequest
   * 
* * Protobuf type {@code xmtp.mls.api.v1.RegisterInstallationResponse} */ public static final class RegisterInstallationResponse extends com.google.protobuf.GeneratedMessageLite< RegisterInstallationResponse, RegisterInstallationResponse.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.RegisterInstallationResponse) RegisterInstallationResponseOrBuilder { private RegisterInstallationResponse() { installationKey_ = 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 org.xmtp.proto.mls.api.v1.Mls.RegisterInstallationResponse 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.RegisterInstallationResponse 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.RegisterInstallationResponse 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.RegisterInstallationResponse 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.RegisterInstallationResponse 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.RegisterInstallationResponse 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.RegisterInstallationResponse 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.RegisterInstallationResponse 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.RegisterInstallationResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.RegisterInstallationResponse 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.RegisterInstallationResponse 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.RegisterInstallationResponse 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.RegisterInstallationResponse prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * The response to a RegisterInstallationRequest
     * 
* * Protobuf type {@code xmtp.mls.api.v1.RegisterInstallationResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.xmtp.proto.mls.api.v1.Mls.RegisterInstallationResponse, Builder> implements // @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.RegisterInstallationResponse) org.xmtp.proto.mls.api.v1.Mls.RegisterInstallationResponseOrBuilder { // Construct using org.xmtp.proto.mls.api.v1.Mls.RegisterInstallationResponse.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; } // @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.RegisterInstallationResponse) } @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.RegisterInstallationResponse(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "installationKey_", }; 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.RegisterInstallationResponse.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.RegisterInstallationResponse) private static final org.xmtp.proto.mls.api.v1.Mls.RegisterInstallationResponse DEFAULT_INSTANCE; static { RegisterInstallationResponse defaultInstance = new RegisterInstallationResponse(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( RegisterInstallationResponse.class, defaultInstance); } public static org.xmtp.proto.mls.api.v1.Mls.RegisterInstallationResponse 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 UploadKeyPackageRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.UploadKeyPackageRequest) com.google.protobuf.MessageLiteOrBuilder { /** *
     * An individual key package upload request
     * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; * @return Whether the keyPackage field is set. */ boolean hasKeyPackage(); /** *
     * An individual key package upload request
     * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; * @return The keyPackage. */ org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload getKeyPackage(); } /** *
   * Upload a new key packages
   * 
* * Protobuf type {@code xmtp.mls.api.v1.UploadKeyPackageRequest} */ public static final class UploadKeyPackageRequest extends com.google.protobuf.GeneratedMessageLite< UploadKeyPackageRequest, UploadKeyPackageRequest.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.UploadKeyPackageRequest) UploadKeyPackageRequestOrBuilder { private UploadKeyPackageRequest() { } public static final int KEY_PACKAGE_FIELD_NUMBER = 1; private org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload keyPackage_; /** *
     * An individual key package upload request
     * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; */ @java.lang.Override public boolean hasKeyPackage() { return keyPackage_ != null; } /** *
     * An individual key package upload request
     * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload getKeyPackage() { return keyPackage_ == null ? org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload.getDefaultInstance() : keyPackage_; } /** *
     * An individual key package upload request
     * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; */ private void setKeyPackage(org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload value) { value.getClass(); keyPackage_ = value; } /** *
     * An individual key package upload request
     * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeKeyPackage(org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload value) { value.getClass(); if (keyPackage_ != null && keyPackage_ != org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload.getDefaultInstance()) { keyPackage_ = org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload.newBuilder(keyPackage_).mergeFrom(value).buildPartial(); } else { keyPackage_ = value; } } /** *
     * An individual key package upload request
     * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; */ private void clearKeyPackage() { keyPackage_ = null; } public static org.xmtp.proto.mls.api.v1.Mls.UploadKeyPackageRequest 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.UploadKeyPackageRequest 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.UploadKeyPackageRequest 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.UploadKeyPackageRequest 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.UploadKeyPackageRequest 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.UploadKeyPackageRequest 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.UploadKeyPackageRequest 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.UploadKeyPackageRequest 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.UploadKeyPackageRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.UploadKeyPackageRequest 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.UploadKeyPackageRequest 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.UploadKeyPackageRequest 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.UploadKeyPackageRequest prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * Upload a new key packages
     * 
* * Protobuf type {@code xmtp.mls.api.v1.UploadKeyPackageRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.xmtp.proto.mls.api.v1.Mls.UploadKeyPackageRequest, Builder> implements // @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.UploadKeyPackageRequest) org.xmtp.proto.mls.api.v1.Mls.UploadKeyPackageRequestOrBuilder { // Construct using org.xmtp.proto.mls.api.v1.Mls.UploadKeyPackageRequest.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
       * An individual key package upload request
       * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; */ @java.lang.Override public boolean hasKeyPackage() { return instance.hasKeyPackage(); } /** *
       * An individual key package upload request
       * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload getKeyPackage() { return instance.getKeyPackage(); } /** *
       * An individual key package upload request
       * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; */ public Builder setKeyPackage(org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload value) { copyOnWrite(); instance.setKeyPackage(value); return this; } /** *
       * An individual key package upload request
       * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; */ public Builder setKeyPackage( org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload.Builder builderForValue) { copyOnWrite(); instance.setKeyPackage(builderForValue.build()); return this; } /** *
       * An individual key package upload request
       * 
* * .xmtp.mls.api.v1.KeyPackageUpload key_package = 1; */ public Builder mergeKeyPackage(org.xmtp.proto.mls.api.v1.Mls.KeyPackageUpload value) { copyOnWrite(); instance.mergeKeyPackage(value); return this; } /** *
       * An individual key package upload request
       * 
* * .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
     * 
* * repeated bytes installation_keys = 1; * @param values The installationKeys to add. */ private void addAllInstallationKeys( java.lang.Iterable values) { ensureInstallationKeysIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, 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; */ private void clearInstallationKeys() { installationKeys_ = emptyProtobufList(); } public static org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesRequest 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.FetchKeyPackagesRequest 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.FetchKeyPackagesRequest 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.FetchKeyPackagesRequest 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.FetchKeyPackagesRequest 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.FetchKeyPackagesRequest 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.FetchKeyPackagesRequest 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.FetchKeyPackagesRequest 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.FetchKeyPackagesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesRequest 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.FetchKeyPackagesRequest 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.FetchKeyPackagesRequest 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.FetchKeyPackagesRequest prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * Fetch one or more key packages
     * 
* * 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.
     * 
* * repeated .xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage key_packages = 1; */ java.util.List getKeyPackagesList(); /** *
     * 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; */ org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage getKeyPackages(int index); /** *
     * 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; */ int getKeyPackagesCount(); } /** *
   * The response to a FetchKeyPackagesRequest
   * 
* * Protobuf type {@code xmtp.mls.api.v1.FetchKeyPackagesResponse} */ public static final class FetchKeyPackagesResponse extends com.google.protobuf.GeneratedMessageLite< FetchKeyPackagesResponse, FetchKeyPackagesResponse.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.FetchKeyPackagesResponse) FetchKeyPackagesResponseOrBuilder { private FetchKeyPackagesResponse() { keyPackages_ = emptyProtobufList(); } public interface KeyPackageOrBuilder extends // @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage) com.google.protobuf.MessageLiteOrBuilder { /** * bytes key_package_tls_serialized = 1; * @return The keyPackageTlsSerialized. */ com.google.protobuf.ByteString getKeyPackageTlsSerialized(); } /** *
     * An individual key package
     * 
* * Protobuf type {@code xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage} */ public static final class KeyPackage extends com.google.protobuf.GeneratedMessageLite< KeyPackage, KeyPackage.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage) KeyPackageOrBuilder { private KeyPackage() { keyPackageTlsSerialized_ = com.google.protobuf.ByteString.EMPTY; } public static final int KEY_PACKAGE_TLS_SERIALIZED_FIELD_NUMBER = 1; private com.google.protobuf.ByteString keyPackageTlsSerialized_; /** * bytes key_package_tls_serialized = 1; * @return The keyPackageTlsSerialized. */ @java.lang.Override public com.google.protobuf.ByteString getKeyPackageTlsSerialized() { return keyPackageTlsSerialized_; } /** * bytes key_package_tls_serialized = 1; * @param value The keyPackageTlsSerialized to set. */ private void setKeyPackageTlsSerialized(com.google.protobuf.ByteString value) { java.lang.Class valueClass = value.getClass(); keyPackageTlsSerialized_ = value; } /** * bytes key_package_tls_serialized = 1; */ private void clearKeyPackageTlsSerialized() { keyPackageTlsSerialized_ = getDefaultInstance().getKeyPackageTlsSerialized(); } public static org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage 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.FetchKeyPackagesResponse.KeyPackage 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.FetchKeyPackagesResponse.KeyPackage 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.FetchKeyPackagesResponse.KeyPackage 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.FetchKeyPackagesResponse.KeyPackage 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.FetchKeyPackagesResponse.KeyPackage 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.FetchKeyPackagesResponse.KeyPackage 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.FetchKeyPackagesResponse.KeyPackage 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.FetchKeyPackagesResponse.KeyPackage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage 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.FetchKeyPackagesResponse.KeyPackage 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.FetchKeyPackagesResponse.KeyPackage 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.FetchKeyPackagesResponse.KeyPackage prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
       * An individual key package
       * 
* * 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.
     * 
* * repeated .xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage key_packages = 1; */ @java.lang.Override public java.util.List getKeyPackagesList() { return 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.
     * 
* * repeated .xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage key_packages = 1; */ public java.util.List getKeyPackagesOrBuilderList() { return 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.
     * 
* * 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.
     * 
* * repeated .xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage key_packages = 1; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage getKeyPackages(int index) { return keyPackages_.get(index); } /** *
     * 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 org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackageOrBuilder getKeyPackagesOrBuilder( int index) { return keyPackages_.get(index); } private void ensureKeyPackagesIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = keyPackages_; if (!tmp.isModifiable()) { keyPackages_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** *
     * 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; */ private void setKeyPackages( int index, org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage value) { value.getClass(); ensureKeyPackagesIsMutable(); keyPackages_.set(index, value); } /** *
     * 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; */ private void addKeyPackages(org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage value) { value.getClass(); ensureKeyPackagesIsMutable(); keyPackages_.add(value); } /** *
     * 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; */ private void addKeyPackages( int index, org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage value) { value.getClass(); ensureKeyPackagesIsMutable(); keyPackages_.add(index, value); } /** *
     * 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; */ private void addAllKeyPackages( java.lang.Iterable values) { ensureKeyPackagesIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, 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.
     * 
* * repeated .xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage key_packages = 1; */ private void clearKeyPackages() { keyPackages_ = emptyProtobufList(); } /** *
     * 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; */ private void removeKeyPackages(int index) { ensureKeyPackagesIsMutable(); keyPackages_.remove(index); } public static org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse 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.FetchKeyPackagesResponse 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.FetchKeyPackagesResponse 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.FetchKeyPackagesResponse 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.FetchKeyPackagesResponse 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.FetchKeyPackagesResponse 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.FetchKeyPackagesResponse 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.FetchKeyPackagesResponse 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.FetchKeyPackagesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse 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.FetchKeyPackagesResponse 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.FetchKeyPackagesResponse 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.FetchKeyPackagesResponse prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * The response to a FetchKeyPackagesRequest
     * 
* * 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.
       * 
* * repeated .xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage key_packages = 1; */ @java.lang.Override public java.util.List getKeyPackagesList() { return java.util.Collections.unmodifiableList( instance.getKeyPackagesList()); } /** *
       * 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.
       * 
* * repeated .xmtp.mls.api.v1.FetchKeyPackagesResponse.KeyPackage key_packages = 1; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage getKeyPackages(int index) { return instance.getKeyPackages(index); } /** *
       * 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 setKeyPackages( int index, org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage value) { copyOnWrite(); instance.setKeyPackages(index, value); return this; } /** *
       * 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 setKeyPackages( int index, org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage.Builder builderForValue) { copyOnWrite(); instance.setKeyPackages(index, builderForValue.build()); return this; } /** *
       * 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 addKeyPackages(org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage value) { copyOnWrite(); instance.addKeyPackages(value); return this; } /** *
       * 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 addKeyPackages( int index, org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage value) { copyOnWrite(); instance.addKeyPackages(index, value); return this; } /** *
       * 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 addKeyPackages( org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage.Builder builderForValue) { copyOnWrite(); instance.addKeyPackages(builderForValue.build()); return this; } /** *
       * 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 addKeyPackages( int index, org.xmtp.proto.mls.api.v1.Mls.FetchKeyPackagesResponse.KeyPackage.Builder builderForValue) { copyOnWrite(); instance.addKeyPackages(index, builderForValue.build()); return this; } /** *
       * 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 addAllKeyPackages( java.lang.Iterable values) { copyOnWrite(); instance.addAllKeyPackages(values); return this; } /** *
       * 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 clearKeyPackages() { copyOnWrite(); instance.clearKeyPackages(); return this; } /** *
       * 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)
     * 
* * .xmtp.message_contents.Signature wallet_signature = 2; * @return The walletSignature. */ org.xmtp.proto.message.contents.SignatureOuterClass.Signature getWalletSignature(); } /** *
   * Revoke an installation
   * 
* * Protobuf type {@code xmtp.mls.api.v1.RevokeInstallationRequest} */ public static final class RevokeInstallationRequest extends com.google.protobuf.GeneratedMessageLite< RevokeInstallationRequest, RevokeInstallationRequest.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.RevokeInstallationRequest) RevokeInstallationRequestOrBuilder { private RevokeInstallationRequest() { installationKey_ = 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 WALLET_SIGNATURE_FIELD_NUMBER = 2; private org.xmtp.proto.message.contents.SignatureOuterClass.Signature walletSignature_; /** *
     * 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; */ @java.lang.Override public boolean hasWalletSignature() { return walletSignature_ != null; } /** *
     * 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; */ @java.lang.Override public org.xmtp.proto.message.contents.SignatureOuterClass.Signature getWalletSignature() { return walletSignature_ == null ? org.xmtp.proto.message.contents.SignatureOuterClass.Signature.getDefaultInstance() : walletSignature_; } /** *
     * 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; */ private void setWalletSignature(org.xmtp.proto.message.contents.SignatureOuterClass.Signature value) { value.getClass(); walletSignature_ = value; } /** *
     * 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; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeWalletSignature(org.xmtp.proto.message.contents.SignatureOuterClass.Signature value) { value.getClass(); if (walletSignature_ != null && walletSignature_ != org.xmtp.proto.message.contents.SignatureOuterClass.Signature.getDefaultInstance()) { walletSignature_ = org.xmtp.proto.message.contents.SignatureOuterClass.Signature.newBuilder(walletSignature_).mergeFrom(value).buildPartial(); } else { walletSignature_ = value; } } /** *
     * 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; */ private void clearWalletSignature() { walletSignature_ = null; } public static org.xmtp.proto.mls.api.v1.Mls.RevokeInstallationRequest 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.RevokeInstallationRequest 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.RevokeInstallationRequest 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.RevokeInstallationRequest 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.RevokeInstallationRequest 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.RevokeInstallationRequest 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.RevokeInstallationRequest 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.RevokeInstallationRequest 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.RevokeInstallationRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.RevokeInstallationRequest 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.RevokeInstallationRequest 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.RevokeInstallationRequest 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.RevokeInstallationRequest prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * Revoke an installation
     * 
* * Protobuf type {@code xmtp.mls.api.v1.RevokeInstallationRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.xmtp.proto.mls.api.v1.Mls.RevokeInstallationRequest, Builder> implements // @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.RevokeInstallationRequest) org.xmtp.proto.mls.api.v1.Mls.RevokeInstallationRequestOrBuilder { // Construct using org.xmtp.proto.mls.api.v1.Mls.RevokeInstallationRequest.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; } /** *
       * 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; */ @java.lang.Override public boolean hasWalletSignature() { return instance.hasWalletSignature(); } /** *
       * 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; */ @java.lang.Override public org.xmtp.proto.message.contents.SignatureOuterClass.Signature getWalletSignature() { return instance.getWalletSignature(); } /** *
       * 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 setWalletSignature(org.xmtp.proto.message.contents.SignatureOuterClass.Signature value) { copyOnWrite(); instance.setWalletSignature(value); return this; } /** *
       * 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 setWalletSignature( org.xmtp.proto.message.contents.SignatureOuterClass.Signature.Builder builderForValue) { copyOnWrite(); instance.setWalletSignature(builderForValue.build()); return this; } /** *
       * 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 mergeWalletSignature(org.xmtp.proto.message.contents.SignatureOuterClass.Signature value) { copyOnWrite(); instance.mergeWalletSignature(value); return this; } /** *
       * 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
     * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ java.util.List getUpdatesList(); /** *
     * A list of updates (or empty objects if no changes) in the original order
     * of the request
     * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.WalletUpdates getUpdates(int index); /** *
     * A list of updates (or empty objects if no changes) in the original order
     * of the request
     * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ int getUpdatesCount(); } /** *
   * Used to get any new or revoked installations for a list of wallet addresses
   * 
* * Protobuf type {@code xmtp.mls.api.v1.GetIdentityUpdatesResponse} */ public static final class GetIdentityUpdatesResponse extends com.google.protobuf.GeneratedMessageLite< GetIdentityUpdatesResponse, GetIdentityUpdatesResponse.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.GetIdentityUpdatesResponse) GetIdentityUpdatesResponseOrBuilder { private GetIdentityUpdatesResponse() { updates_ = emptyProtobufList(); } public interface NewInstallationUpdateOrBuilder extends // @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.GetIdentityUpdatesResponse.NewInstallationUpdate) com.google.protobuf.MessageLiteOrBuilder { /** * bytes installation_key = 1; * @return The installationKey. */ com.google.protobuf.ByteString getInstallationKey(); /** * bytes credential_identity = 2; * @return The credentialIdentity. */ com.google.protobuf.ByteString getCredentialIdentity(); } /** *
     * A new installation key was seen for the first time by the nodes
     * 
* * Protobuf type {@code xmtp.mls.api.v1.GetIdentityUpdatesResponse.NewInstallationUpdate} */ public static final class NewInstallationUpdate extends com.google.protobuf.GeneratedMessageLite< NewInstallationUpdate, NewInstallationUpdate.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.GetIdentityUpdatesResponse.NewInstallationUpdate) NewInstallationUpdateOrBuilder { private NewInstallationUpdate() { installationKey_ = com.google.protobuf.ByteString.EMPTY; credentialIdentity_ = 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 CREDENTIAL_IDENTITY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString credentialIdentity_; /** * bytes credential_identity = 2; * @return The credentialIdentity. */ @java.lang.Override public com.google.protobuf.ByteString getCredentialIdentity() { return credentialIdentity_; } /** * bytes credential_identity = 2; * @param value The credentialIdentity to set. */ private void setCredentialIdentity(com.google.protobuf.ByteString value) { java.lang.Class valueClass = value.getClass(); credentialIdentity_ = value; } /** * bytes credential_identity = 2; */ private void clearCredentialIdentity() { credentialIdentity_ = getDefaultInstance().getCredentialIdentity(); } public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.NewInstallationUpdate 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.GetIdentityUpdatesResponse.NewInstallationUpdate 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.GetIdentityUpdatesResponse.NewInstallationUpdate 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.GetIdentityUpdatesResponse.NewInstallationUpdate 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.GetIdentityUpdatesResponse.NewInstallationUpdate 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.GetIdentityUpdatesResponse.NewInstallationUpdate 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.GetIdentityUpdatesResponse.NewInstallationUpdate 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.GetIdentityUpdatesResponse.NewInstallationUpdate 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.GetIdentityUpdatesResponse.NewInstallationUpdate parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.NewInstallationUpdate 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.GetIdentityUpdatesResponse.NewInstallationUpdate 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.GetIdentityUpdatesResponse.NewInstallationUpdate 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.GetIdentityUpdatesResponse.NewInstallationUpdate prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
       * A new installation key was seen for the first time by the nodes
       * 
* * Protobuf type {@code xmtp.mls.api.v1.GetIdentityUpdatesResponse.NewInstallationUpdate} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.NewInstallationUpdate, Builder> implements // @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.GetIdentityUpdatesResponse.NewInstallationUpdate) org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.NewInstallationUpdateOrBuilder { // Construct using org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.NewInstallationUpdate.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 credential_identity = 2; * @return The credentialIdentity. */ @java.lang.Override public com.google.protobuf.ByteString getCredentialIdentity() { return instance.getCredentialIdentity(); } /** * bytes credential_identity = 2; * @param value The credentialIdentity to set. * @return This builder for chaining. */ public Builder setCredentialIdentity(com.google.protobuf.ByteString value) { copyOnWrite(); instance.setCredentialIdentity(value); return this; } /** * bytes credential_identity = 2; * @return This builder for chaining. */ public Builder clearCredentialIdentity() { copyOnWrite(); instance.clearCredentialIdentity(); return this; } // @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.GetIdentityUpdatesResponse.NewInstallationUpdate) } @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.GetIdentityUpdatesResponse.NewInstallationUpdate(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "installationKey_", "credentialIdentity_", }; 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.GetIdentityUpdatesResponse.NewInstallationUpdate.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.GetIdentityUpdatesResponse.NewInstallationUpdate) private static final org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.NewInstallationUpdate DEFAULT_INSTANCE; static { NewInstallationUpdate defaultInstance = new NewInstallationUpdate(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( NewInstallationUpdate.class, defaultInstance); } public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.NewInstallationUpdate 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 RevokedInstallationUpdateOrBuilder extends // @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.GetIdentityUpdatesResponse.RevokedInstallationUpdate) com.google.protobuf.MessageLiteOrBuilder { /** * bytes installation_key = 1; * @return The installationKey. */ com.google.protobuf.ByteString getInstallationKey(); } /** *
     * An installation was revoked
     * 
* * Protobuf type {@code xmtp.mls.api.v1.GetIdentityUpdatesResponse.RevokedInstallationUpdate} */ public static final class RevokedInstallationUpdate extends com.google.protobuf.GeneratedMessageLite< RevokedInstallationUpdate, RevokedInstallationUpdate.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.GetIdentityUpdatesResponse.RevokedInstallationUpdate) RevokedInstallationUpdateOrBuilder { private RevokedInstallationUpdate() { installationKey_ = 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 org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.RevokedInstallationUpdate 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.GetIdentityUpdatesResponse.RevokedInstallationUpdate 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.GetIdentityUpdatesResponse.RevokedInstallationUpdate 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.GetIdentityUpdatesResponse.RevokedInstallationUpdate 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.GetIdentityUpdatesResponse.RevokedInstallationUpdate 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.GetIdentityUpdatesResponse.RevokedInstallationUpdate 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.GetIdentityUpdatesResponse.RevokedInstallationUpdate 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.GetIdentityUpdatesResponse.RevokedInstallationUpdate 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.GetIdentityUpdatesResponse.RevokedInstallationUpdate parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.RevokedInstallationUpdate 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.GetIdentityUpdatesResponse.RevokedInstallationUpdate 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.GetIdentityUpdatesResponse.RevokedInstallationUpdate 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.GetIdentityUpdatesResponse.RevokedInstallationUpdate prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
       * An installation was revoked
       * 
* * Protobuf type {@code xmtp.mls.api.v1.GetIdentityUpdatesResponse.RevokedInstallationUpdate} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.RevokedInstallationUpdate, Builder> implements // @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.GetIdentityUpdatesResponse.RevokedInstallationUpdate) org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.RevokedInstallationUpdateOrBuilder { // Construct using org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.RevokedInstallationUpdate.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; } // @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.GetIdentityUpdatesResponse.RevokedInstallationUpdate) } @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.GetIdentityUpdatesResponse.RevokedInstallationUpdate(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "installationKey_", }; 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.GetIdentityUpdatesResponse.RevokedInstallationUpdate.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.GetIdentityUpdatesResponse.RevokedInstallationUpdate) private static final org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.RevokedInstallationUpdate DEFAULT_INSTANCE; static { RevokedInstallationUpdate defaultInstance = new RevokedInstallationUpdate(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( RevokedInstallationUpdate.class, defaultInstance); } public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.RevokedInstallationUpdate 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 UpdateOrBuilder extends // @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update) com.google.protobuf.MessageLiteOrBuilder { /** * uint64 timestamp_ns = 1; * @return The timestampNs. */ long getTimestampNs(); /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.NewInstallationUpdate new_installation = 2; * @return Whether the newInstallation field is set. */ boolean hasNewInstallation(); /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.NewInstallationUpdate new_installation = 2; * @return The newInstallation. */ org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.NewInstallationUpdate getNewInstallation(); /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.RevokedInstallationUpdate revoked_installation = 3; * @return Whether the revokedInstallation field is set. */ boolean hasRevokedInstallation(); /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.RevokedInstallationUpdate revoked_installation = 3; * @return The revokedInstallation. */ org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.RevokedInstallationUpdate getRevokedInstallation(); public org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.Update.KindCase getKindCase(); } /** *
     * A wrapper for any update to the wallet
     * 
* * Protobuf type {@code xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update} */ public static final class Update extends com.google.protobuf.GeneratedMessageLite< Update, Update.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update) UpdateOrBuilder { private Update() { } private int kindCase_ = 0; private java.lang.Object kind_; public enum KindCase { NEW_INSTALLATION(2), REVOKED_INSTALLATION(3), KIND_NOT_SET(0); private final int value; private KindCase(int value) { this.value = value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static KindCase valueOf(int value) { return forNumber(value); } public static KindCase forNumber(int value) { switch (value) { case 2: return NEW_INSTALLATION; case 3: return REVOKED_INSTALLATION; case 0: return KIND_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; @java.lang.Override public KindCase getKindCase() { return KindCase.forNumber( kindCase_); } private void clearKind() { kindCase_ = 0; kind_ = null; } public static final int TIMESTAMP_NS_FIELD_NUMBER = 1; private long timestampNs_; /** * uint64 timestamp_ns = 1; * @return The timestampNs. */ @java.lang.Override public long getTimestampNs() { return timestampNs_; } /** * uint64 timestamp_ns = 1; * @param value The timestampNs to set. */ private void setTimestampNs(long value) { timestampNs_ = value; } /** * uint64 timestamp_ns = 1; */ private void clearTimestampNs() { timestampNs_ = 0L; } public static final int NEW_INSTALLATION_FIELD_NUMBER = 2; /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.NewInstallationUpdate new_installation = 2; */ @java.lang.Override public boolean hasNewInstallation() { return kindCase_ == 2; } /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.NewInstallationUpdate new_installation = 2; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.NewInstallationUpdate getNewInstallation() { if (kindCase_ == 2) { return (org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.NewInstallationUpdate) kind_; } return org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.NewInstallationUpdate.getDefaultInstance(); } /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.NewInstallationUpdate new_installation = 2; */ private void setNewInstallation(org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.NewInstallationUpdate value) { value.getClass(); kind_ = value; kindCase_ = 2; } /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.NewInstallationUpdate new_installation = 2; */ private void mergeNewInstallation(org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.NewInstallationUpdate value) { value.getClass(); if (kindCase_ == 2 && kind_ != org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.NewInstallationUpdate.getDefaultInstance()) { kind_ = org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.NewInstallationUpdate.newBuilder((org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.NewInstallationUpdate) kind_) .mergeFrom(value).buildPartial(); } else { kind_ = value; } kindCase_ = 2; } /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.NewInstallationUpdate new_installation = 2; */ private void clearNewInstallation() { if (kindCase_ == 2) { kindCase_ = 0; kind_ = null; } } public static final int REVOKED_INSTALLATION_FIELD_NUMBER = 3; /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.RevokedInstallationUpdate revoked_installation = 3; */ @java.lang.Override public boolean hasRevokedInstallation() { return kindCase_ == 3; } /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.RevokedInstallationUpdate revoked_installation = 3; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.RevokedInstallationUpdate getRevokedInstallation() { if (kindCase_ == 3) { return (org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.RevokedInstallationUpdate) kind_; } return org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.RevokedInstallationUpdate.getDefaultInstance(); } /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.RevokedInstallationUpdate revoked_installation = 3; */ private void setRevokedInstallation(org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.RevokedInstallationUpdate value) { value.getClass(); kind_ = value; kindCase_ = 3; } /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.RevokedInstallationUpdate revoked_installation = 3; */ private void mergeRevokedInstallation(org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.RevokedInstallationUpdate value) { value.getClass(); if (kindCase_ == 3 && kind_ != org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.RevokedInstallationUpdate.getDefaultInstance()) { kind_ = org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.RevokedInstallationUpdate.newBuilder((org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.RevokedInstallationUpdate) kind_) .mergeFrom(value).buildPartial(); } else { kind_ = value; } kindCase_ = 3; } /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.RevokedInstallationUpdate revoked_installation = 3; */ private void clearRevokedInstallation() { if (kindCase_ == 3) { kindCase_ = 0; kind_ = null; } } public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.Update 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.GetIdentityUpdatesResponse.Update 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.GetIdentityUpdatesResponse.Update 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.GetIdentityUpdatesResponse.Update 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.GetIdentityUpdatesResponse.Update 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.GetIdentityUpdatesResponse.Update 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.GetIdentityUpdatesResponse.Update 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.GetIdentityUpdatesResponse.Update 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.GetIdentityUpdatesResponse.Update parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.Update 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.GetIdentityUpdatesResponse.Update 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.GetIdentityUpdatesResponse.Update 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.GetIdentityUpdatesResponse.Update prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
       * A wrapper for any update to the wallet
       * 
* * Protobuf type {@code xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.Update, Builder> implements // @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update) org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.UpdateOrBuilder { // Construct using org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.Update.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } @java.lang.Override public KindCase getKindCase() { return instance.getKindCase(); } public Builder clearKind() { copyOnWrite(); instance.clearKind(); return this; } /** * uint64 timestamp_ns = 1; * @return The timestampNs. */ @java.lang.Override public long getTimestampNs() { return instance.getTimestampNs(); } /** * uint64 timestamp_ns = 1; * @param value The timestampNs to set. * @return This builder for chaining. */ public Builder setTimestampNs(long value) { copyOnWrite(); instance.setTimestampNs(value); return this; } /** * uint64 timestamp_ns = 1; * @return This builder for chaining. */ public Builder clearTimestampNs() { copyOnWrite(); instance.clearTimestampNs(); return this; } /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.NewInstallationUpdate new_installation = 2; */ @java.lang.Override public boolean hasNewInstallation() { return instance.hasNewInstallation(); } /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.NewInstallationUpdate new_installation = 2; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.NewInstallationUpdate getNewInstallation() { return instance.getNewInstallation(); } /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.NewInstallationUpdate new_installation = 2; */ public Builder setNewInstallation(org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.NewInstallationUpdate value) { copyOnWrite(); instance.setNewInstallation(value); return this; } /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.NewInstallationUpdate new_installation = 2; */ public Builder setNewInstallation( org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.NewInstallationUpdate.Builder builderForValue) { copyOnWrite(); instance.setNewInstallation(builderForValue.build()); return this; } /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.NewInstallationUpdate new_installation = 2; */ public Builder mergeNewInstallation(org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.NewInstallationUpdate value) { copyOnWrite(); instance.mergeNewInstallation(value); return this; } /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.NewInstallationUpdate new_installation = 2; */ public Builder clearNewInstallation() { copyOnWrite(); instance.clearNewInstallation(); return this; } /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.RevokedInstallationUpdate revoked_installation = 3; */ @java.lang.Override public boolean hasRevokedInstallation() { return instance.hasRevokedInstallation(); } /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.RevokedInstallationUpdate revoked_installation = 3; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.RevokedInstallationUpdate getRevokedInstallation() { return instance.getRevokedInstallation(); } /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.RevokedInstallationUpdate revoked_installation = 3; */ public Builder setRevokedInstallation(org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.RevokedInstallationUpdate value) { copyOnWrite(); instance.setRevokedInstallation(value); return this; } /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.RevokedInstallationUpdate revoked_installation = 3; */ public Builder setRevokedInstallation( org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.RevokedInstallationUpdate.Builder builderForValue) { copyOnWrite(); instance.setRevokedInstallation(builderForValue.build()); return this; } /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.RevokedInstallationUpdate revoked_installation = 3; */ public Builder mergeRevokedInstallation(org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.RevokedInstallationUpdate value) { copyOnWrite(); instance.mergeRevokedInstallation(value); return this; } /** * .xmtp.mls.api.v1.GetIdentityUpdatesResponse.RevokedInstallationUpdate revoked_installation = 3; */ public Builder clearRevokedInstallation() { copyOnWrite(); instance.clearRevokedInstallation(); return this; } // @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update) } @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.GetIdentityUpdatesResponse.Update(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "kind_", "kindCase_", "timestampNs_", org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.NewInstallationUpdate.class, org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.RevokedInstallationUpdate.class, }; java.lang.String info = "\u0000\u0003\u0001\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u0003\u0002<\u0000" + "\u0003<\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.GetIdentityUpdatesResponse.Update.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.GetIdentityUpdatesResponse.Update) private static final org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.Update DEFAULT_INSTANCE; static { Update defaultInstance = new Update(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( Update.class, defaultInstance); } public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.Update 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 WalletUpdatesOrBuilder extends // @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates) com.google.protobuf.MessageLiteOrBuilder { /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ java.util.List getUpdatesList(); /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.Update getUpdates(int index); /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ int getUpdatesCount(); } /** *
     * A wrapper for the updates for a single wallet
     * 
* * Protobuf type {@code xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates} */ public static final class WalletUpdates extends com.google.protobuf.GeneratedMessageLite< WalletUpdates, WalletUpdates.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates) WalletUpdatesOrBuilder { private WalletUpdates() { updates_ = emptyProtobufList(); } public static final int UPDATES_FIELD_NUMBER = 1; private com.google.protobuf.Internal.ProtobufList updates_; /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ @java.lang.Override public java.util.List getUpdatesList() { return updates_; } /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ public java.util.List getUpdatesOrBuilderList() { return updates_; } /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ @java.lang.Override public int getUpdatesCount() { return updates_.size(); } /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.Update getUpdates(int index) { return updates_.get(index); } /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ public org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.UpdateOrBuilder getUpdatesOrBuilder( int index) { return updates_.get(index); } private void ensureUpdatesIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = updates_; if (!tmp.isModifiable()) { updates_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ private void setUpdates( int index, org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.Update value) { value.getClass(); ensureUpdatesIsMutable(); updates_.set(index, value); } /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ private void addUpdates(org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.Update value) { value.getClass(); ensureUpdatesIsMutable(); updates_.add(value); } /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ private void addUpdates( int index, org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.Update value) { value.getClass(); ensureUpdatesIsMutable(); updates_.add(index, value); } /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ private void addAllUpdates( java.lang.Iterable values) { ensureUpdatesIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, updates_); } /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ private void clearUpdates() { updates_ = emptyProtobufList(); } /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ private void removeUpdates(int index) { ensureUpdatesIsMutable(); updates_.remove(index); } public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.WalletUpdates 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.GetIdentityUpdatesResponse.WalletUpdates 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.GetIdentityUpdatesResponse.WalletUpdates 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.GetIdentityUpdatesResponse.WalletUpdates 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.GetIdentityUpdatesResponse.WalletUpdates 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.GetIdentityUpdatesResponse.WalletUpdates 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.GetIdentityUpdatesResponse.WalletUpdates 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.GetIdentityUpdatesResponse.WalletUpdates 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.GetIdentityUpdatesResponse.WalletUpdates parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.WalletUpdates 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.GetIdentityUpdatesResponse.WalletUpdates 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.GetIdentityUpdatesResponse.WalletUpdates 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.GetIdentityUpdatesResponse.WalletUpdates prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
       * A wrapper for the updates for a single wallet
       * 
* * Protobuf type {@code xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.WalletUpdates, Builder> implements // @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates) org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.WalletUpdatesOrBuilder { // Construct using org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.WalletUpdates.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ @java.lang.Override public java.util.List getUpdatesList() { return java.util.Collections.unmodifiableList( instance.getUpdatesList()); } /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ @java.lang.Override public int getUpdatesCount() { return instance.getUpdatesCount(); }/** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.Update getUpdates(int index) { return instance.getUpdates(index); } /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ public Builder setUpdates( int index, org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.Update value) { copyOnWrite(); instance.setUpdates(index, value); return this; } /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ public Builder setUpdates( int index, org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.Update.Builder builderForValue) { copyOnWrite(); instance.setUpdates(index, builderForValue.build()); return this; } /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ public Builder addUpdates(org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.Update value) { copyOnWrite(); instance.addUpdates(value); return this; } /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ public Builder addUpdates( int index, org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.Update value) { copyOnWrite(); instance.addUpdates(index, value); return this; } /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ public Builder addUpdates( org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.Update.Builder builderForValue) { copyOnWrite(); instance.addUpdates(builderForValue.build()); return this; } /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ public Builder addUpdates( int index, org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.Update.Builder builderForValue) { copyOnWrite(); instance.addUpdates(index, builderForValue.build()); return this; } /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ public Builder addAllUpdates( java.lang.Iterable values) { copyOnWrite(); instance.addAllUpdates(values); return this; } /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ public Builder clearUpdates() { copyOnWrite(); instance.clearUpdates(); return this; } /** * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.Update updates = 1; */ public Builder removeUpdates(int index) { copyOnWrite(); instance.removeUpdates(index); return this; } // @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates) } @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.GetIdentityUpdatesResponse.WalletUpdates(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "updates_", org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.Update.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.GetIdentityUpdatesResponse.WalletUpdates.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.GetIdentityUpdatesResponse.WalletUpdates) private static final org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.WalletUpdates DEFAULT_INSTANCE; static { WalletUpdates defaultInstance = new WalletUpdates(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( WalletUpdates.class, defaultInstance); } public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.WalletUpdates 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 UPDATES_FIELD_NUMBER = 1; private com.google.protobuf.Internal.ProtobufList updates_; /** *
     * A list of updates (or empty objects if no changes) in the original order
     * of the request
     * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ @java.lang.Override public java.util.List getUpdatesList() { return updates_; } /** *
     * A list of updates (or empty objects if no changes) in the original order
     * of the request
     * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ public java.util.List getUpdatesOrBuilderList() { return updates_; } /** *
     * A list of updates (or empty objects if no changes) in the original order
     * of the request
     * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ @java.lang.Override public int getUpdatesCount() { return updates_.size(); } /** *
     * A list of updates (or empty objects if no changes) in the original order
     * of the request
     * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.WalletUpdates getUpdates(int index) { return updates_.get(index); } /** *
     * A list of updates (or empty objects if no changes) in the original order
     * of the request
     * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ public org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.WalletUpdatesOrBuilder getUpdatesOrBuilder( int index) { return updates_.get(index); } private void ensureUpdatesIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = updates_; if (!tmp.isModifiable()) { updates_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** *
     * A list of updates (or empty objects if no changes) in the original order
     * of the request
     * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ private void setUpdates( int index, org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.WalletUpdates value) { value.getClass(); ensureUpdatesIsMutable(); updates_.set(index, value); } /** *
     * A list of updates (or empty objects if no changes) in the original order
     * of the request
     * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ private void addUpdates(org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.WalletUpdates value) { value.getClass(); ensureUpdatesIsMutable(); updates_.add(value); } /** *
     * A list of updates (or empty objects if no changes) in the original order
     * of the request
     * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ private void addUpdates( int index, org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.WalletUpdates value) { value.getClass(); ensureUpdatesIsMutable(); updates_.add(index, value); } /** *
     * A list of updates (or empty objects if no changes) in the original order
     * of the request
     * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ private void addAllUpdates( java.lang.Iterable values) { ensureUpdatesIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, updates_); } /** *
     * A list of updates (or empty objects if no changes) in the original order
     * of the request
     * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ private void clearUpdates() { updates_ = emptyProtobufList(); } /** *
     * A list of updates (or empty objects if no changes) in the original order
     * of the request
     * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ private void removeUpdates(int index) { ensureUpdatesIsMutable(); updates_.remove(index); } public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse 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.GetIdentityUpdatesResponse 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.GetIdentityUpdatesResponse 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.GetIdentityUpdatesResponse 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.GetIdentityUpdatesResponse 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.GetIdentityUpdatesResponse 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.GetIdentityUpdatesResponse 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.GetIdentityUpdatesResponse 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.GetIdentityUpdatesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse 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.GetIdentityUpdatesResponse 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.GetIdentityUpdatesResponse 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.GetIdentityUpdatesResponse prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * Used to get any new or revoked installations for a list of wallet addresses
     * 
* * Protobuf type {@code xmtp.mls.api.v1.GetIdentityUpdatesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse, Builder> implements // @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.GetIdentityUpdatesResponse) org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponseOrBuilder { // Construct using org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
       * A list of updates (or empty objects if no changes) in the original order
       * of the request
       * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ @java.lang.Override public java.util.List getUpdatesList() { return java.util.Collections.unmodifiableList( instance.getUpdatesList()); } /** *
       * A list of updates (or empty objects if no changes) in the original order
       * of the request
       * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ @java.lang.Override public int getUpdatesCount() { return instance.getUpdatesCount(); }/** *
       * A list of updates (or empty objects if no changes) in the original order
       * of the request
       * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.WalletUpdates getUpdates(int index) { return instance.getUpdates(index); } /** *
       * A list of updates (or empty objects if no changes) in the original order
       * of the request
       * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ public Builder setUpdates( int index, org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.WalletUpdates value) { copyOnWrite(); instance.setUpdates(index, value); return this; } /** *
       * A list of updates (or empty objects if no changes) in the original order
       * of the request
       * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ public Builder setUpdates( int index, org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.WalletUpdates.Builder builderForValue) { copyOnWrite(); instance.setUpdates(index, builderForValue.build()); return this; } /** *
       * A list of updates (or empty objects if no changes) in the original order
       * of the request
       * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ public Builder addUpdates(org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.WalletUpdates value) { copyOnWrite(); instance.addUpdates(value); return this; } /** *
       * A list of updates (or empty objects if no changes) in the original order
       * of the request
       * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ public Builder addUpdates( int index, org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.WalletUpdates value) { copyOnWrite(); instance.addUpdates(index, value); return this; } /** *
       * A list of updates (or empty objects if no changes) in the original order
       * of the request
       * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ public Builder addUpdates( org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.WalletUpdates.Builder builderForValue) { copyOnWrite(); instance.addUpdates(builderForValue.build()); return this; } /** *
       * A list of updates (or empty objects if no changes) in the original order
       * of the request
       * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ public Builder addUpdates( int index, org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.WalletUpdates.Builder builderForValue) { copyOnWrite(); instance.addUpdates(index, builderForValue.build()); return this; } /** *
       * A list of updates (or empty objects if no changes) in the original order
       * of the request
       * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ public Builder addAllUpdates( java.lang.Iterable values) { copyOnWrite(); instance.addAllUpdates(values); return this; } /** *
       * A list of updates (or empty objects if no changes) in the original order
       * of the request
       * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ public Builder clearUpdates() { copyOnWrite(); instance.clearUpdates(); return this; } /** *
       * A list of updates (or empty objects if no changes) in the original order
       * of the request
       * 
* * repeated .xmtp.mls.api.v1.GetIdentityUpdatesResponse.WalletUpdates updates = 1; */ public Builder removeUpdates(int index) { copyOnWrite(); instance.removeUpdates(index); return this; } // @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.GetIdentityUpdatesResponse) } @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.GetIdentityUpdatesResponse(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "updates_", org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse.WalletUpdates.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.GetIdentityUpdatesResponse.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.GetIdentityUpdatesResponse) private static final org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse DEFAULT_INSTANCE; static { GetIdentityUpdatesResponse defaultInstance = new GetIdentityUpdatesResponse(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( GetIdentityUpdatesResponse.class, defaultInstance); } public static org.xmtp.proto.mls.api.v1.Mls.GetIdentityUpdatesResponse 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 PagingInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.PagingInfo) com.google.protobuf.MessageLiteOrBuilder { /** * .xmtp.mls.api.v1.SortDirection direction = 1; * @return The enum numeric value on the wire for direction. */ int getDirectionValue(); /** * .xmtp.mls.api.v1.SortDirection direction = 1; * @return The direction. */ org.xmtp.proto.mls.api.v1.Mls.SortDirection getDirection(); /** * uint32 limit = 2; * @return The limit. */ int getLimit(); /** * uint64 id_cursor = 3; * @return The idCursor. */ long getIdCursor(); } /** *
   * Pagination config for queries
   * 
* * Protobuf type {@code xmtp.mls.api.v1.PagingInfo} */ public static final class PagingInfo extends com.google.protobuf.GeneratedMessageLite< PagingInfo, PagingInfo.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.PagingInfo) PagingInfoOrBuilder { private PagingInfo() { } public static final int DIRECTION_FIELD_NUMBER = 1; private int direction_; /** * .xmtp.mls.api.v1.SortDirection direction = 1; * @return The enum numeric value on the wire for direction. */ @java.lang.Override public int getDirectionValue() { return direction_; } /** * .xmtp.mls.api.v1.SortDirection direction = 1; * @return The direction. */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.SortDirection getDirection() { org.xmtp.proto.mls.api.v1.Mls.SortDirection result = org.xmtp.proto.mls.api.v1.Mls.SortDirection.forNumber(direction_); return result == null ? org.xmtp.proto.mls.api.v1.Mls.SortDirection.UNRECOGNIZED : result; } /** * .xmtp.mls.api.v1.SortDirection direction = 1; * @param value The enum numeric value on the wire for direction to set. */ private void setDirectionValue(int value) { direction_ = value; } /** * .xmtp.mls.api.v1.SortDirection direction = 1; * @param value The direction to set. */ private void setDirection(org.xmtp.proto.mls.api.v1.Mls.SortDirection value) { direction_ = value.getNumber(); } /** * .xmtp.mls.api.v1.SortDirection direction = 1; */ private void clearDirection() { direction_ = 0; } public static final int LIMIT_FIELD_NUMBER = 2; private int limit_; /** * uint32 limit = 2; * @return The limit. */ @java.lang.Override public int getLimit() { return limit_; } /** * uint32 limit = 2; * @param value The limit to set. */ private void setLimit(int value) { limit_ = value; } /** * uint32 limit = 2; */ private void clearLimit() { limit_ = 0; } public static final int ID_CURSOR_FIELD_NUMBER = 3; private long idCursor_; /** * uint64 id_cursor = 3; * @return The idCursor. */ @java.lang.Override public long getIdCursor() { return idCursor_; } /** * uint64 id_cursor = 3; * @param value The idCursor to set. */ private void setIdCursor(long value) { idCursor_ = value; } /** * uint64 id_cursor = 3; */ private void clearIdCursor() { idCursor_ = 0L; } public static org.xmtp.proto.mls.api.v1.Mls.PagingInfo 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.PagingInfo 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.PagingInfo 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.PagingInfo 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.PagingInfo 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.PagingInfo 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.PagingInfo 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.PagingInfo 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.PagingInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.PagingInfo 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.PagingInfo 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.PagingInfo 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.PagingInfo prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * Pagination config for queries
     * 
* * Protobuf type {@code xmtp.mls.api.v1.PagingInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.xmtp.proto.mls.api.v1.Mls.PagingInfo, Builder> implements // @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.PagingInfo) org.xmtp.proto.mls.api.v1.Mls.PagingInfoOrBuilder { // Construct using org.xmtp.proto.mls.api.v1.Mls.PagingInfo.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * .xmtp.mls.api.v1.SortDirection direction = 1; * @return The enum numeric value on the wire for direction. */ @java.lang.Override public int getDirectionValue() { return instance.getDirectionValue(); } /** * .xmtp.mls.api.v1.SortDirection direction = 1; * @param value The direction to set. * @return This builder for chaining. */ public Builder setDirectionValue(int value) { copyOnWrite(); instance.setDirectionValue(value); return this; } /** * .xmtp.mls.api.v1.SortDirection direction = 1; * @return The direction. */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.SortDirection getDirection() { return instance.getDirection(); } /** * .xmtp.mls.api.v1.SortDirection direction = 1; * @param value The enum numeric value on the wire for direction to set. * @return This builder for chaining. */ public Builder setDirection(org.xmtp.proto.mls.api.v1.Mls.SortDirection value) { copyOnWrite(); instance.setDirection(value); return this; } /** * .xmtp.mls.api.v1.SortDirection direction = 1; * @return This builder for chaining. */ public Builder clearDirection() { copyOnWrite(); instance.clearDirection(); return this; } /** * uint32 limit = 2; * @return The limit. */ @java.lang.Override public int getLimit() { return instance.getLimit(); } /** * uint32 limit = 2; * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(int value) { copyOnWrite(); instance.setLimit(value); return this; } /** * uint32 limit = 2; * @return This builder for chaining. */ public Builder clearLimit() { copyOnWrite(); instance.clearLimit(); return this; } /** * uint64 id_cursor = 3; * @return The idCursor. */ @java.lang.Override public long getIdCursor() { return instance.getIdCursor(); } /** * uint64 id_cursor = 3; * @param value The idCursor to set. * @return This builder for chaining. */ public Builder setIdCursor(long value) { copyOnWrite(); instance.setIdCursor(value); return this; } /** * uint64 id_cursor = 3; * @return This builder for chaining. */ public Builder clearIdCursor() { copyOnWrite(); instance.clearIdCursor(); return this; } // @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.PagingInfo) } @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.PagingInfo(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "direction_", "limit_", "idCursor_", }; java.lang.String info = "\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\f\u0002\u000b" + "\u0003\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.PagingInfo.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.PagingInfo) private static final org.xmtp.proto.mls.api.v1.Mls.PagingInfo DEFAULT_INSTANCE; static { PagingInfo defaultInstance = new PagingInfo(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( PagingInfo.class, defaultInstance); } public static org.xmtp.proto.mls.api.v1.Mls.PagingInfo 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 QueryGroupMessagesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.QueryGroupMessagesRequest) com.google.protobuf.MessageLiteOrBuilder { /** * bytes group_id = 1; * @return The groupId. */ com.google.protobuf.ByteString getGroupId(); /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; * @return Whether the pagingInfo field is set. */ boolean hasPagingInfo(); /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; * @return The pagingInfo. */ org.xmtp.proto.mls.api.v1.Mls.PagingInfo getPagingInfo(); } /** *
   * Request for group message queries
   * 
* * Protobuf type {@code xmtp.mls.api.v1.QueryGroupMessagesRequest} */ public static final class QueryGroupMessagesRequest extends com.google.protobuf.GeneratedMessageLite< QueryGroupMessagesRequest, QueryGroupMessagesRequest.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.QueryGroupMessagesRequest) QueryGroupMessagesRequestOrBuilder { private QueryGroupMessagesRequest() { groupId_ = com.google.protobuf.ByteString.EMPTY; } public static final int GROUP_ID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString groupId_; /** * bytes group_id = 1; * @return The groupId. */ @java.lang.Override public com.google.protobuf.ByteString getGroupId() { return groupId_; } /** * bytes group_id = 1; * @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 = 1; */ private void clearGroupId() { groupId_ = getDefaultInstance().getGroupId(); } public static final int PAGING_INFO_FIELD_NUMBER = 2; private org.xmtp.proto.mls.api.v1.Mls.PagingInfo pagingInfo_; /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ @java.lang.Override public boolean hasPagingInfo() { return pagingInfo_ != null; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.PagingInfo getPagingInfo() { return pagingInfo_ == null ? org.xmtp.proto.mls.api.v1.Mls.PagingInfo.getDefaultInstance() : pagingInfo_; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ private void setPagingInfo(org.xmtp.proto.mls.api.v1.Mls.PagingInfo value) { value.getClass(); pagingInfo_ = value; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergePagingInfo(org.xmtp.proto.mls.api.v1.Mls.PagingInfo value) { value.getClass(); if (pagingInfo_ != null && pagingInfo_ != org.xmtp.proto.mls.api.v1.Mls.PagingInfo.getDefaultInstance()) { pagingInfo_ = org.xmtp.proto.mls.api.v1.Mls.PagingInfo.newBuilder(pagingInfo_).mergeFrom(value).buildPartial(); } else { pagingInfo_ = value; } } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ private void clearPagingInfo() { pagingInfo_ = null; } public static org.xmtp.proto.mls.api.v1.Mls.QueryGroupMessagesRequest 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.QueryGroupMessagesRequest 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.QueryGroupMessagesRequest 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.QueryGroupMessagesRequest 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.QueryGroupMessagesRequest 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.QueryGroupMessagesRequest 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.QueryGroupMessagesRequest 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.QueryGroupMessagesRequest 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.QueryGroupMessagesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.QueryGroupMessagesRequest 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.QueryGroupMessagesRequest 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.QueryGroupMessagesRequest 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.QueryGroupMessagesRequest prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * Request for group message queries
     * 
* * Protobuf type {@code xmtp.mls.api.v1.QueryGroupMessagesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.xmtp.proto.mls.api.v1.Mls.QueryGroupMessagesRequest, Builder> implements // @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.QueryGroupMessagesRequest) org.xmtp.proto.mls.api.v1.Mls.QueryGroupMessagesRequestOrBuilder { // Construct using org.xmtp.proto.mls.api.v1.Mls.QueryGroupMessagesRequest.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * bytes group_id = 1; * @return The groupId. */ @java.lang.Override public com.google.protobuf.ByteString getGroupId() { return instance.getGroupId(); } /** * bytes group_id = 1; * @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 = 1; * @return This builder for chaining. */ public Builder clearGroupId() { copyOnWrite(); instance.clearGroupId(); return this; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ @java.lang.Override public boolean hasPagingInfo() { return instance.hasPagingInfo(); } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.PagingInfo getPagingInfo() { return instance.getPagingInfo(); } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ public Builder setPagingInfo(org.xmtp.proto.mls.api.v1.Mls.PagingInfo value) { copyOnWrite(); instance.setPagingInfo(value); return this; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ public Builder setPagingInfo( org.xmtp.proto.mls.api.v1.Mls.PagingInfo.Builder builderForValue) { copyOnWrite(); instance.setPagingInfo(builderForValue.build()); return this; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ public Builder mergePagingInfo(org.xmtp.proto.mls.api.v1.Mls.PagingInfo value) { copyOnWrite(); instance.mergePagingInfo(value); return this; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ public Builder clearPagingInfo() { copyOnWrite(); instance.clearPagingInfo(); return this; } // @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.QueryGroupMessagesRequest) } @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.QueryGroupMessagesRequest(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "groupId_", "pagingInfo_", }; 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.QueryGroupMessagesRequest.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.QueryGroupMessagesRequest) private static final org.xmtp.proto.mls.api.v1.Mls.QueryGroupMessagesRequest DEFAULT_INSTANCE; static { QueryGroupMessagesRequest defaultInstance = new QueryGroupMessagesRequest(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( QueryGroupMessagesRequest.class, defaultInstance); } public static org.xmtp.proto.mls.api.v1.Mls.QueryGroupMessagesRequest 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 QueryGroupMessagesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.QueryGroupMessagesResponse) com.google.protobuf.MessageLiteOrBuilder { /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ java.util.List getMessagesList(); /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ org.xmtp.proto.mls.api.v1.Mls.GroupMessage getMessages(int index); /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ int getMessagesCount(); /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; * @return Whether the pagingInfo field is set. */ boolean hasPagingInfo(); /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; * @return The pagingInfo. */ org.xmtp.proto.mls.api.v1.Mls.PagingInfo getPagingInfo(); } /** *
   * Response for group message queries
   * 
* * Protobuf type {@code xmtp.mls.api.v1.QueryGroupMessagesResponse} */ public static final class QueryGroupMessagesResponse extends com.google.protobuf.GeneratedMessageLite< QueryGroupMessagesResponse, QueryGroupMessagesResponse.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.QueryGroupMessagesResponse) QueryGroupMessagesResponseOrBuilder { private QueryGroupMessagesResponse() { messages_ = emptyProtobufList(); } public static final int MESSAGES_FIELD_NUMBER = 1; private com.google.protobuf.Internal.ProtobufList messages_; /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ @java.lang.Override public java.util.List getMessagesList() { return messages_; } /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ public java.util.List getMessagesOrBuilderList() { return messages_; } /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ @java.lang.Override public int getMessagesCount() { return messages_.size(); } /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.GroupMessage getMessages(int index) { return messages_.get(index); } /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ public org.xmtp.proto.mls.api.v1.Mls.GroupMessageOrBuilder getMessagesOrBuilder( int index) { return messages_.get(index); } private void ensureMessagesIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = messages_; if (!tmp.isModifiable()) { messages_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ private void setMessages( int index, org.xmtp.proto.mls.api.v1.Mls.GroupMessage value) { value.getClass(); ensureMessagesIsMutable(); messages_.set(index, value); } /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ private void addMessages(org.xmtp.proto.mls.api.v1.Mls.GroupMessage value) { value.getClass(); ensureMessagesIsMutable(); messages_.add(value); } /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ private void addMessages( int index, org.xmtp.proto.mls.api.v1.Mls.GroupMessage value) { value.getClass(); ensureMessagesIsMutable(); messages_.add(index, value); } /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ private void addAllMessages( java.lang.Iterable values) { ensureMessagesIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, messages_); } /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ private void clearMessages() { messages_ = emptyProtobufList(); } /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ private void removeMessages(int index) { ensureMessagesIsMutable(); messages_.remove(index); } public static final int PAGING_INFO_FIELD_NUMBER = 2; private org.xmtp.proto.mls.api.v1.Mls.PagingInfo pagingInfo_; /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ @java.lang.Override public boolean hasPagingInfo() { return pagingInfo_ != null; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.PagingInfo getPagingInfo() { return pagingInfo_ == null ? org.xmtp.proto.mls.api.v1.Mls.PagingInfo.getDefaultInstance() : pagingInfo_; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ private void setPagingInfo(org.xmtp.proto.mls.api.v1.Mls.PagingInfo value) { value.getClass(); pagingInfo_ = value; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergePagingInfo(org.xmtp.proto.mls.api.v1.Mls.PagingInfo value) { value.getClass(); if (pagingInfo_ != null && pagingInfo_ != org.xmtp.proto.mls.api.v1.Mls.PagingInfo.getDefaultInstance()) { pagingInfo_ = org.xmtp.proto.mls.api.v1.Mls.PagingInfo.newBuilder(pagingInfo_).mergeFrom(value).buildPartial(); } else { pagingInfo_ = value; } } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ private void clearPagingInfo() { pagingInfo_ = null; } public static org.xmtp.proto.mls.api.v1.Mls.QueryGroupMessagesResponse 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.QueryGroupMessagesResponse 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.QueryGroupMessagesResponse 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.QueryGroupMessagesResponse 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.QueryGroupMessagesResponse 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.QueryGroupMessagesResponse 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.QueryGroupMessagesResponse 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.QueryGroupMessagesResponse 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.QueryGroupMessagesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.QueryGroupMessagesResponse 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.QueryGroupMessagesResponse 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.QueryGroupMessagesResponse 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.QueryGroupMessagesResponse prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * Response for group message queries
     * 
* * Protobuf type {@code xmtp.mls.api.v1.QueryGroupMessagesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.xmtp.proto.mls.api.v1.Mls.QueryGroupMessagesResponse, Builder> implements // @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.QueryGroupMessagesResponse) org.xmtp.proto.mls.api.v1.Mls.QueryGroupMessagesResponseOrBuilder { // Construct using org.xmtp.proto.mls.api.v1.Mls.QueryGroupMessagesResponse.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ @java.lang.Override public java.util.List getMessagesList() { return java.util.Collections.unmodifiableList( instance.getMessagesList()); } /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ @java.lang.Override public int getMessagesCount() { return instance.getMessagesCount(); }/** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.GroupMessage getMessages(int index) { return instance.getMessages(index); } /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ public Builder setMessages( int index, org.xmtp.proto.mls.api.v1.Mls.GroupMessage value) { copyOnWrite(); instance.setMessages(index, value); return this; } /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ public Builder setMessages( int index, org.xmtp.proto.mls.api.v1.Mls.GroupMessage.Builder builderForValue) { copyOnWrite(); instance.setMessages(index, builderForValue.build()); return this; } /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ public Builder addMessages(org.xmtp.proto.mls.api.v1.Mls.GroupMessage value) { copyOnWrite(); instance.addMessages(value); return this; } /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ public Builder addMessages( int index, org.xmtp.proto.mls.api.v1.Mls.GroupMessage value) { copyOnWrite(); instance.addMessages(index, value); return this; } /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ public Builder addMessages( org.xmtp.proto.mls.api.v1.Mls.GroupMessage.Builder builderForValue) { copyOnWrite(); instance.addMessages(builderForValue.build()); return this; } /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ public Builder addMessages( int index, org.xmtp.proto.mls.api.v1.Mls.GroupMessage.Builder builderForValue) { copyOnWrite(); instance.addMessages(index, builderForValue.build()); return this; } /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ public Builder addAllMessages( java.lang.Iterable values) { copyOnWrite(); instance.addAllMessages(values); return this; } /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ public Builder clearMessages() { copyOnWrite(); instance.clearMessages(); return this; } /** * repeated .xmtp.mls.api.v1.GroupMessage messages = 1; */ public Builder removeMessages(int index) { copyOnWrite(); instance.removeMessages(index); return this; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ @java.lang.Override public boolean hasPagingInfo() { return instance.hasPagingInfo(); } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.PagingInfo getPagingInfo() { return instance.getPagingInfo(); } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ public Builder setPagingInfo(org.xmtp.proto.mls.api.v1.Mls.PagingInfo value) { copyOnWrite(); instance.setPagingInfo(value); return this; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ public Builder setPagingInfo( org.xmtp.proto.mls.api.v1.Mls.PagingInfo.Builder builderForValue) { copyOnWrite(); instance.setPagingInfo(builderForValue.build()); return this; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ public Builder mergePagingInfo(org.xmtp.proto.mls.api.v1.Mls.PagingInfo value) { copyOnWrite(); instance.mergePagingInfo(value); return this; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ public Builder clearPagingInfo() { copyOnWrite(); instance.clearPagingInfo(); return this; } // @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.QueryGroupMessagesResponse) } @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.QueryGroupMessagesResponse(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "messages_", org.xmtp.proto.mls.api.v1.Mls.GroupMessage.class, "pagingInfo_", }; java.lang.String info = "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0001\u0000\u0001\u001b\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.QueryGroupMessagesResponse.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.QueryGroupMessagesResponse) private static final org.xmtp.proto.mls.api.v1.Mls.QueryGroupMessagesResponse DEFAULT_INSTANCE; static { QueryGroupMessagesResponse defaultInstance = new QueryGroupMessagesResponse(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( QueryGroupMessagesResponse.class, defaultInstance); } public static org.xmtp.proto.mls.api.v1.Mls.QueryGroupMessagesResponse 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 QueryWelcomeMessagesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.QueryWelcomeMessagesRequest) com.google.protobuf.MessageLiteOrBuilder { /** * bytes installation_key = 1; * @return The installationKey. */ com.google.protobuf.ByteString getInstallationKey(); /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; * @return Whether the pagingInfo field is set. */ boolean hasPagingInfo(); /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; * @return The pagingInfo. */ org.xmtp.proto.mls.api.v1.Mls.PagingInfo getPagingInfo(); } /** *
   * Request for welcome message queries
   * 
* * Protobuf type {@code xmtp.mls.api.v1.QueryWelcomeMessagesRequest} */ public static final class QueryWelcomeMessagesRequest extends com.google.protobuf.GeneratedMessageLite< QueryWelcomeMessagesRequest, QueryWelcomeMessagesRequest.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.QueryWelcomeMessagesRequest) QueryWelcomeMessagesRequestOrBuilder { private QueryWelcomeMessagesRequest() { installationKey_ = 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 PAGING_INFO_FIELD_NUMBER = 2; private org.xmtp.proto.mls.api.v1.Mls.PagingInfo pagingInfo_; /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ @java.lang.Override public boolean hasPagingInfo() { return pagingInfo_ != null; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.PagingInfo getPagingInfo() { return pagingInfo_ == null ? org.xmtp.proto.mls.api.v1.Mls.PagingInfo.getDefaultInstance() : pagingInfo_; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ private void setPagingInfo(org.xmtp.proto.mls.api.v1.Mls.PagingInfo value) { value.getClass(); pagingInfo_ = value; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergePagingInfo(org.xmtp.proto.mls.api.v1.Mls.PagingInfo value) { value.getClass(); if (pagingInfo_ != null && pagingInfo_ != org.xmtp.proto.mls.api.v1.Mls.PagingInfo.getDefaultInstance()) { pagingInfo_ = org.xmtp.proto.mls.api.v1.Mls.PagingInfo.newBuilder(pagingInfo_).mergeFrom(value).buildPartial(); } else { pagingInfo_ = value; } } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ private void clearPagingInfo() { pagingInfo_ = null; } public static org.xmtp.proto.mls.api.v1.Mls.QueryWelcomeMessagesRequest 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.QueryWelcomeMessagesRequest 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.QueryWelcomeMessagesRequest 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.QueryWelcomeMessagesRequest 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.QueryWelcomeMessagesRequest 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.QueryWelcomeMessagesRequest 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.QueryWelcomeMessagesRequest 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.QueryWelcomeMessagesRequest 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.QueryWelcomeMessagesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.QueryWelcomeMessagesRequest 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.QueryWelcomeMessagesRequest 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.QueryWelcomeMessagesRequest 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.QueryWelcomeMessagesRequest prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * Request for welcome message queries
     * 
* * Protobuf type {@code xmtp.mls.api.v1.QueryWelcomeMessagesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.xmtp.proto.mls.api.v1.Mls.QueryWelcomeMessagesRequest, Builder> implements // @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.QueryWelcomeMessagesRequest) org.xmtp.proto.mls.api.v1.Mls.QueryWelcomeMessagesRequestOrBuilder { // Construct using org.xmtp.proto.mls.api.v1.Mls.QueryWelcomeMessagesRequest.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; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ @java.lang.Override public boolean hasPagingInfo() { return instance.hasPagingInfo(); } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.PagingInfo getPagingInfo() { return instance.getPagingInfo(); } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ public Builder setPagingInfo(org.xmtp.proto.mls.api.v1.Mls.PagingInfo value) { copyOnWrite(); instance.setPagingInfo(value); return this; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ public Builder setPagingInfo( org.xmtp.proto.mls.api.v1.Mls.PagingInfo.Builder builderForValue) { copyOnWrite(); instance.setPagingInfo(builderForValue.build()); return this; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ public Builder mergePagingInfo(org.xmtp.proto.mls.api.v1.Mls.PagingInfo value) { copyOnWrite(); instance.mergePagingInfo(value); return this; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ public Builder clearPagingInfo() { copyOnWrite(); instance.clearPagingInfo(); return this; } // @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.QueryWelcomeMessagesRequest) } @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.QueryWelcomeMessagesRequest(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "installationKey_", "pagingInfo_", }; 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.QueryWelcomeMessagesRequest.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.QueryWelcomeMessagesRequest) private static final org.xmtp.proto.mls.api.v1.Mls.QueryWelcomeMessagesRequest DEFAULT_INSTANCE; static { QueryWelcomeMessagesRequest defaultInstance = new QueryWelcomeMessagesRequest(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( QueryWelcomeMessagesRequest.class, defaultInstance); } public static org.xmtp.proto.mls.api.v1.Mls.QueryWelcomeMessagesRequest 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 QueryWelcomeMessagesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.QueryWelcomeMessagesResponse) com.google.protobuf.MessageLiteOrBuilder { /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ java.util.List getMessagesList(); /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage getMessages(int index); /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ int getMessagesCount(); /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; * @return Whether the pagingInfo field is set. */ boolean hasPagingInfo(); /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; * @return The pagingInfo. */ org.xmtp.proto.mls.api.v1.Mls.PagingInfo getPagingInfo(); } /** *
   * Response for welcome message queries
   * 
* * Protobuf type {@code xmtp.mls.api.v1.QueryWelcomeMessagesResponse} */ public static final class QueryWelcomeMessagesResponse extends com.google.protobuf.GeneratedMessageLite< QueryWelcomeMessagesResponse, QueryWelcomeMessagesResponse.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.QueryWelcomeMessagesResponse) QueryWelcomeMessagesResponseOrBuilder { private QueryWelcomeMessagesResponse() { messages_ = emptyProtobufList(); } public static final int MESSAGES_FIELD_NUMBER = 1; private com.google.protobuf.Internal.ProtobufList messages_; /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ @java.lang.Override public java.util.List getMessagesList() { return messages_; } /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ public java.util.List getMessagesOrBuilderList() { return messages_; } /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ @java.lang.Override public int getMessagesCount() { return messages_.size(); } /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage getMessages(int index) { return messages_.get(index); } /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ public org.xmtp.proto.mls.api.v1.Mls.WelcomeMessageOrBuilder getMessagesOrBuilder( int index) { return messages_.get(index); } private void ensureMessagesIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = messages_; if (!tmp.isModifiable()) { messages_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ private void setMessages( int index, org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage value) { value.getClass(); ensureMessagesIsMutable(); messages_.set(index, value); } /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ private void addMessages(org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage value) { value.getClass(); ensureMessagesIsMutable(); messages_.add(value); } /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ private void addMessages( int index, org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage value) { value.getClass(); ensureMessagesIsMutable(); messages_.add(index, value); } /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ private void addAllMessages( java.lang.Iterable values) { ensureMessagesIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, messages_); } /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ private void clearMessages() { messages_ = emptyProtobufList(); } /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ private void removeMessages(int index) { ensureMessagesIsMutable(); messages_.remove(index); } public static final int PAGING_INFO_FIELD_NUMBER = 2; private org.xmtp.proto.mls.api.v1.Mls.PagingInfo pagingInfo_; /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ @java.lang.Override public boolean hasPagingInfo() { return pagingInfo_ != null; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.PagingInfo getPagingInfo() { return pagingInfo_ == null ? org.xmtp.proto.mls.api.v1.Mls.PagingInfo.getDefaultInstance() : pagingInfo_; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ private void setPagingInfo(org.xmtp.proto.mls.api.v1.Mls.PagingInfo value) { value.getClass(); pagingInfo_ = value; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergePagingInfo(org.xmtp.proto.mls.api.v1.Mls.PagingInfo value) { value.getClass(); if (pagingInfo_ != null && pagingInfo_ != org.xmtp.proto.mls.api.v1.Mls.PagingInfo.getDefaultInstance()) { pagingInfo_ = org.xmtp.proto.mls.api.v1.Mls.PagingInfo.newBuilder(pagingInfo_).mergeFrom(value).buildPartial(); } else { pagingInfo_ = value; } } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ private void clearPagingInfo() { pagingInfo_ = null; } public static org.xmtp.proto.mls.api.v1.Mls.QueryWelcomeMessagesResponse 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.QueryWelcomeMessagesResponse 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.QueryWelcomeMessagesResponse 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.QueryWelcomeMessagesResponse 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.QueryWelcomeMessagesResponse 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.QueryWelcomeMessagesResponse 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.QueryWelcomeMessagesResponse 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.QueryWelcomeMessagesResponse 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.QueryWelcomeMessagesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.QueryWelcomeMessagesResponse 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.QueryWelcomeMessagesResponse 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.QueryWelcomeMessagesResponse 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.QueryWelcomeMessagesResponse prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * Response for welcome message queries
     * 
* * Protobuf type {@code xmtp.mls.api.v1.QueryWelcomeMessagesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.xmtp.proto.mls.api.v1.Mls.QueryWelcomeMessagesResponse, Builder> implements // @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.QueryWelcomeMessagesResponse) org.xmtp.proto.mls.api.v1.Mls.QueryWelcomeMessagesResponseOrBuilder { // Construct using org.xmtp.proto.mls.api.v1.Mls.QueryWelcomeMessagesResponse.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ @java.lang.Override public java.util.List getMessagesList() { return java.util.Collections.unmodifiableList( instance.getMessagesList()); } /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ @java.lang.Override public int getMessagesCount() { return instance.getMessagesCount(); }/** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage getMessages(int index) { return instance.getMessages(index); } /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ public Builder setMessages( int index, org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage value) { copyOnWrite(); instance.setMessages(index, value); return this; } /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ public Builder setMessages( int index, org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.Builder builderForValue) { copyOnWrite(); instance.setMessages(index, builderForValue.build()); return this; } /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ public Builder addMessages(org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage value) { copyOnWrite(); instance.addMessages(value); return this; } /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ public Builder addMessages( int index, org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage value) { copyOnWrite(); instance.addMessages(index, value); return this; } /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ public Builder addMessages( org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.Builder builderForValue) { copyOnWrite(); instance.addMessages(builderForValue.build()); return this; } /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ public Builder addMessages( int index, org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.Builder builderForValue) { copyOnWrite(); instance.addMessages(index, builderForValue.build()); return this; } /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ public Builder addAllMessages( java.lang.Iterable values) { copyOnWrite(); instance.addAllMessages(values); return this; } /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ public Builder clearMessages() { copyOnWrite(); instance.clearMessages(); return this; } /** * repeated .xmtp.mls.api.v1.WelcomeMessage messages = 1; */ public Builder removeMessages(int index) { copyOnWrite(); instance.removeMessages(index); return this; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ @java.lang.Override public boolean hasPagingInfo() { return instance.hasPagingInfo(); } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.PagingInfo getPagingInfo() { return instance.getPagingInfo(); } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ public Builder setPagingInfo(org.xmtp.proto.mls.api.v1.Mls.PagingInfo value) { copyOnWrite(); instance.setPagingInfo(value); return this; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ public Builder setPagingInfo( org.xmtp.proto.mls.api.v1.Mls.PagingInfo.Builder builderForValue) { copyOnWrite(); instance.setPagingInfo(builderForValue.build()); return this; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ public Builder mergePagingInfo(org.xmtp.proto.mls.api.v1.Mls.PagingInfo value) { copyOnWrite(); instance.mergePagingInfo(value); return this; } /** * .xmtp.mls.api.v1.PagingInfo paging_info = 2; */ public Builder clearPagingInfo() { copyOnWrite(); instance.clearPagingInfo(); return this; } // @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.QueryWelcomeMessagesResponse) } @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.QueryWelcomeMessagesResponse(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "messages_", org.xmtp.proto.mls.api.v1.Mls.WelcomeMessage.class, "pagingInfo_", }; java.lang.String info = "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0001\u0000\u0001\u001b\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.QueryWelcomeMessagesResponse.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.QueryWelcomeMessagesResponse) private static final org.xmtp.proto.mls.api.v1.Mls.QueryWelcomeMessagesResponse DEFAULT_INSTANCE; static { QueryWelcomeMessagesResponse defaultInstance = new QueryWelcomeMessagesResponse(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( QueryWelcomeMessagesResponse.class, defaultInstance); } public static org.xmtp.proto.mls.api.v1.Mls.QueryWelcomeMessagesResponse 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 SubscribeGroupMessagesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.SubscribeGroupMessagesRequest) com.google.protobuf.MessageLiteOrBuilder { /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ java.util.List getFiltersList(); /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest.Filter getFilters(int index); /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ int getFiltersCount(); } /** *
   * Request for subscribing to group messages
   * 
* * Protobuf type {@code xmtp.mls.api.v1.SubscribeGroupMessagesRequest} */ public static final class SubscribeGroupMessagesRequest extends com.google.protobuf.GeneratedMessageLite< SubscribeGroupMessagesRequest, SubscribeGroupMessagesRequest.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.SubscribeGroupMessagesRequest) SubscribeGroupMessagesRequestOrBuilder { private SubscribeGroupMessagesRequest() { filters_ = emptyProtobufList(); } public interface FilterOrBuilder extends // @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter) com.google.protobuf.MessageLiteOrBuilder { /** * bytes group_id = 1; * @return The groupId. */ com.google.protobuf.ByteString getGroupId(); /** * uint64 id_cursor = 2; * @return The idCursor. */ long getIdCursor(); } /** *
     * Subscription filter
     * 
* * Protobuf type {@code xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter} */ public static final class Filter extends com.google.protobuf.GeneratedMessageLite< Filter, Filter.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter) FilterOrBuilder { private Filter() { groupId_ = com.google.protobuf.ByteString.EMPTY; } public static final int GROUP_ID_FIELD_NUMBER = 1; private com.google.protobuf.ByteString groupId_; /** * bytes group_id = 1; * @return The groupId. */ @java.lang.Override public com.google.protobuf.ByteString getGroupId() { return groupId_; } /** * bytes group_id = 1; * @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 = 1; */ private void clearGroupId() { groupId_ = getDefaultInstance().getGroupId(); } public static final int ID_CURSOR_FIELD_NUMBER = 2; private long idCursor_; /** * uint64 id_cursor = 2; * @return The idCursor. */ @java.lang.Override public long getIdCursor() { return idCursor_; } /** * uint64 id_cursor = 2; * @param value The idCursor to set. */ private void setIdCursor(long value) { idCursor_ = value; } /** * uint64 id_cursor = 2; */ private void clearIdCursor() { idCursor_ = 0L; } public static org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest.Filter 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.SubscribeGroupMessagesRequest.Filter 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.SubscribeGroupMessagesRequest.Filter 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.SubscribeGroupMessagesRequest.Filter 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.SubscribeGroupMessagesRequest.Filter 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.SubscribeGroupMessagesRequest.Filter 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.SubscribeGroupMessagesRequest.Filter 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.SubscribeGroupMessagesRequest.Filter 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.SubscribeGroupMessagesRequest.Filter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest.Filter 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.SubscribeGroupMessagesRequest.Filter 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.SubscribeGroupMessagesRequest.Filter 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.SubscribeGroupMessagesRequest.Filter prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
       * Subscription filter
       * 
* * Protobuf type {@code xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest.Filter, Builder> implements // @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter) org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest.FilterOrBuilder { // Construct using org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest.Filter.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * bytes group_id = 1; * @return The groupId. */ @java.lang.Override public com.google.protobuf.ByteString getGroupId() { return instance.getGroupId(); } /** * bytes group_id = 1; * @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 = 1; * @return This builder for chaining. */ public Builder clearGroupId() { copyOnWrite(); instance.clearGroupId(); return this; } /** * uint64 id_cursor = 2; * @return The idCursor. */ @java.lang.Override public long getIdCursor() { return instance.getIdCursor(); } /** * uint64 id_cursor = 2; * @param value The idCursor to set. * @return This builder for chaining. */ public Builder setIdCursor(long value) { copyOnWrite(); instance.setIdCursor(value); return this; } /** * uint64 id_cursor = 2; * @return This builder for chaining. */ public Builder clearIdCursor() { copyOnWrite(); instance.clearIdCursor(); return this; } // @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter) } @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.SubscribeGroupMessagesRequest.Filter(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "groupId_", "idCursor_", }; java.lang.String info = "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\n\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.SubscribeGroupMessagesRequest.Filter.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.SubscribeGroupMessagesRequest.Filter) private static final org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest.Filter DEFAULT_INSTANCE; static { Filter defaultInstance = new Filter(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( Filter.class, defaultInstance); } public static org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest.Filter 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 FILTERS_FIELD_NUMBER = 1; private com.google.protobuf.Internal.ProtobufList filters_; /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ @java.lang.Override public java.util.List getFiltersList() { return filters_; } /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ public java.util.List getFiltersOrBuilderList() { return filters_; } /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ @java.lang.Override public int getFiltersCount() { return filters_.size(); } /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest.Filter getFilters(int index) { return filters_.get(index); } /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ public org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest.FilterOrBuilder getFiltersOrBuilder( int index) { return filters_.get(index); } private void ensureFiltersIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = filters_; if (!tmp.isModifiable()) { filters_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ private void setFilters( int index, org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest.Filter value) { value.getClass(); ensureFiltersIsMutable(); filters_.set(index, value); } /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ private void addFilters(org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest.Filter value) { value.getClass(); ensureFiltersIsMutable(); filters_.add(value); } /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ private void addFilters( int index, org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest.Filter value) { value.getClass(); ensureFiltersIsMutable(); filters_.add(index, value); } /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ private void addAllFilters( java.lang.Iterable values) { ensureFiltersIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, filters_); } /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ private void clearFilters() { filters_ = emptyProtobufList(); } /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ private void removeFilters(int index) { ensureFiltersIsMutable(); filters_.remove(index); } public static org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest 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.SubscribeGroupMessagesRequest 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.SubscribeGroupMessagesRequest 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.SubscribeGroupMessagesRequest 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.SubscribeGroupMessagesRequest 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.SubscribeGroupMessagesRequest 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.SubscribeGroupMessagesRequest 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.SubscribeGroupMessagesRequest 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.SubscribeGroupMessagesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest 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.SubscribeGroupMessagesRequest 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.SubscribeGroupMessagesRequest 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.SubscribeGroupMessagesRequest prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * Request for subscribing to group messages
     * 
* * Protobuf type {@code xmtp.mls.api.v1.SubscribeGroupMessagesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest, Builder> implements // @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.SubscribeGroupMessagesRequest) org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequestOrBuilder { // Construct using org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ @java.lang.Override public java.util.List getFiltersList() { return java.util.Collections.unmodifiableList( instance.getFiltersList()); } /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ @java.lang.Override public int getFiltersCount() { return instance.getFiltersCount(); }/** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest.Filter getFilters(int index) { return instance.getFilters(index); } /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ public Builder setFilters( int index, org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest.Filter value) { copyOnWrite(); instance.setFilters(index, value); return this; } /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ public Builder setFilters( int index, org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest.Filter.Builder builderForValue) { copyOnWrite(); instance.setFilters(index, builderForValue.build()); return this; } /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ public Builder addFilters(org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest.Filter value) { copyOnWrite(); instance.addFilters(value); return this; } /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ public Builder addFilters( int index, org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest.Filter value) { copyOnWrite(); instance.addFilters(index, value); return this; } /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ public Builder addFilters( org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest.Filter.Builder builderForValue) { copyOnWrite(); instance.addFilters(builderForValue.build()); return this; } /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ public Builder addFilters( int index, org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest.Filter.Builder builderForValue) { copyOnWrite(); instance.addFilters(index, builderForValue.build()); return this; } /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ public Builder addAllFilters( java.lang.Iterable values) { copyOnWrite(); instance.addAllFilters(values); return this; } /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ public Builder clearFilters() { copyOnWrite(); instance.clearFilters(); return this; } /** * repeated .xmtp.mls.api.v1.SubscribeGroupMessagesRequest.Filter filters = 1; */ public Builder removeFilters(int index) { copyOnWrite(); instance.removeFilters(index); return this; } // @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.SubscribeGroupMessagesRequest) } @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.SubscribeGroupMessagesRequest(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "filters_", org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest.Filter.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.SubscribeGroupMessagesRequest.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.SubscribeGroupMessagesRequest) private static final org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest DEFAULT_INSTANCE; static { SubscribeGroupMessagesRequest defaultInstance = new SubscribeGroupMessagesRequest(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( SubscribeGroupMessagesRequest.class, defaultInstance); } public static org.xmtp.proto.mls.api.v1.Mls.SubscribeGroupMessagesRequest 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 SubscribeWelcomeMessagesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest) com.google.protobuf.MessageLiteOrBuilder { /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ java.util.List getFiltersList(); /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest.Filter getFilters(int index); /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ int getFiltersCount(); } /** *
   * Request for subscribing to welcome messages
   * 
* * Protobuf type {@code xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest} */ public static final class SubscribeWelcomeMessagesRequest extends com.google.protobuf.GeneratedMessageLite< SubscribeWelcomeMessagesRequest, SubscribeWelcomeMessagesRequest.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest) SubscribeWelcomeMessagesRequestOrBuilder { private SubscribeWelcomeMessagesRequest() { filters_ = emptyProtobufList(); } public interface FilterOrBuilder extends // @@protoc_insertion_point(interface_extends:xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter) com.google.protobuf.MessageLiteOrBuilder { /** * bytes installation_key = 1; * @return The installationKey. */ com.google.protobuf.ByteString getInstallationKey(); /** * uint64 id_cursor = 2; * @return The idCursor. */ long getIdCursor(); } /** *
     * Subscription filter
     * 
* * Protobuf type {@code xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter} */ public static final class Filter extends com.google.protobuf.GeneratedMessageLite< Filter, Filter.Builder> implements // @@protoc_insertion_point(message_implements:xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter) FilterOrBuilder { private Filter() { installationKey_ = 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 ID_CURSOR_FIELD_NUMBER = 2; private long idCursor_; /** * uint64 id_cursor = 2; * @return The idCursor. */ @java.lang.Override public long getIdCursor() { return idCursor_; } /** * uint64 id_cursor = 2; * @param value The idCursor to set. */ private void setIdCursor(long value) { idCursor_ = value; } /** * uint64 id_cursor = 2; */ private void clearIdCursor() { idCursor_ = 0L; } public static org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest.Filter 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.SubscribeWelcomeMessagesRequest.Filter 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.SubscribeWelcomeMessagesRequest.Filter 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.SubscribeWelcomeMessagesRequest.Filter 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.SubscribeWelcomeMessagesRequest.Filter 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.SubscribeWelcomeMessagesRequest.Filter 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.SubscribeWelcomeMessagesRequest.Filter 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.SubscribeWelcomeMessagesRequest.Filter 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.SubscribeWelcomeMessagesRequest.Filter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest.Filter 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.SubscribeWelcomeMessagesRequest.Filter 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.SubscribeWelcomeMessagesRequest.Filter 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.SubscribeWelcomeMessagesRequest.Filter prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
       * Subscription filter
       * 
* * Protobuf type {@code xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest.Filter, Builder> implements // @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter) org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest.FilterOrBuilder { // Construct using org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest.Filter.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; } /** * uint64 id_cursor = 2; * @return The idCursor. */ @java.lang.Override public long getIdCursor() { return instance.getIdCursor(); } /** * uint64 id_cursor = 2; * @param value The idCursor to set. * @return This builder for chaining. */ public Builder setIdCursor(long value) { copyOnWrite(); instance.setIdCursor(value); return this; } /** * uint64 id_cursor = 2; * @return This builder for chaining. */ public Builder clearIdCursor() { copyOnWrite(); instance.clearIdCursor(); return this; } // @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter) } @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.SubscribeWelcomeMessagesRequest.Filter(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "installationKey_", "idCursor_", }; java.lang.String info = "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\n\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.SubscribeWelcomeMessagesRequest.Filter.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.SubscribeWelcomeMessagesRequest.Filter) private static final org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest.Filter DEFAULT_INSTANCE; static { Filter defaultInstance = new Filter(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( Filter.class, defaultInstance); } public static org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest.Filter 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 FILTERS_FIELD_NUMBER = 1; private com.google.protobuf.Internal.ProtobufList filters_; /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ @java.lang.Override public java.util.List getFiltersList() { return filters_; } /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ public java.util.List getFiltersOrBuilderList() { return filters_; } /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ @java.lang.Override public int getFiltersCount() { return filters_.size(); } /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest.Filter getFilters(int index) { return filters_.get(index); } /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ public org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest.FilterOrBuilder getFiltersOrBuilder( int index) { return filters_.get(index); } private void ensureFiltersIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = filters_; if (!tmp.isModifiable()) { filters_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ private void setFilters( int index, org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest.Filter value) { value.getClass(); ensureFiltersIsMutable(); filters_.set(index, value); } /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ private void addFilters(org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest.Filter value) { value.getClass(); ensureFiltersIsMutable(); filters_.add(value); } /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ private void addFilters( int index, org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest.Filter value) { value.getClass(); ensureFiltersIsMutable(); filters_.add(index, value); } /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ private void addAllFilters( java.lang.Iterable values) { ensureFiltersIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, filters_); } /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ private void clearFilters() { filters_ = emptyProtobufList(); } /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ private void removeFilters(int index) { ensureFiltersIsMutable(); filters_.remove(index); } public static org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest 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.SubscribeWelcomeMessagesRequest 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.SubscribeWelcomeMessagesRequest 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.SubscribeWelcomeMessagesRequest 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.SubscribeWelcomeMessagesRequest 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.SubscribeWelcomeMessagesRequest 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.SubscribeWelcomeMessagesRequest 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.SubscribeWelcomeMessagesRequest 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.SubscribeWelcomeMessagesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest 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.SubscribeWelcomeMessagesRequest 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.SubscribeWelcomeMessagesRequest 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.SubscribeWelcomeMessagesRequest prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * Request for subscribing to welcome messages
     * 
* * Protobuf type {@code xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest, Builder> implements // @@protoc_insertion_point(builder_implements:xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest) org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequestOrBuilder { // Construct using org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ @java.lang.Override public java.util.List getFiltersList() { return java.util.Collections.unmodifiableList( instance.getFiltersList()); } /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ @java.lang.Override public int getFiltersCount() { return instance.getFiltersCount(); }/** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ @java.lang.Override public org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest.Filter getFilters(int index) { return instance.getFilters(index); } /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ public Builder setFilters( int index, org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest.Filter value) { copyOnWrite(); instance.setFilters(index, value); return this; } /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ public Builder setFilters( int index, org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest.Filter.Builder builderForValue) { copyOnWrite(); instance.setFilters(index, builderForValue.build()); return this; } /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ public Builder addFilters(org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest.Filter value) { copyOnWrite(); instance.addFilters(value); return this; } /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ public Builder addFilters( int index, org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest.Filter value) { copyOnWrite(); instance.addFilters(index, value); return this; } /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ public Builder addFilters( org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest.Filter.Builder builderForValue) { copyOnWrite(); instance.addFilters(builderForValue.build()); return this; } /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ public Builder addFilters( int index, org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest.Filter.Builder builderForValue) { copyOnWrite(); instance.addFilters(index, builderForValue.build()); return this; } /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ public Builder addAllFilters( java.lang.Iterable values) { copyOnWrite(); instance.addAllFilters(values); return this; } /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ public Builder clearFilters() { copyOnWrite(); instance.clearFilters(); return this; } /** * repeated .xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest.Filter filters = 1; */ public Builder removeFilters(int index) { copyOnWrite(); instance.removeFilters(index); return this; } // @@protoc_insertion_point(builder_scope:xmtp.mls.api.v1.SubscribeWelcomeMessagesRequest) } @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.SubscribeWelcomeMessagesRequest(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "filters_", org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest.Filter.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.SubscribeWelcomeMessagesRequest.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.SubscribeWelcomeMessagesRequest) private static final org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest DEFAULT_INSTANCE; static { SubscribeWelcomeMessagesRequest defaultInstance = new SubscribeWelcomeMessagesRequest(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( SubscribeWelcomeMessagesRequest.class, defaultInstance); } public static org.xmtp.proto.mls.api.v1.Mls.SubscribeWelcomeMessagesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } static { } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy