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

org.whispersystems.signalservice.internal.push.ProvisioningProtos Maven / Gradle / Ivy

There is a newer version: 2.15.3
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: Provisioning.proto

package org.whispersystems.signalservice.internal.push;

public final class ProvisioningProtos {
  private ProvisioningProtos() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
  }
  public interface ProvisionEnvelopeOrBuilder
      extends com.google.protobuf.MessageOrBuilder {

    // optional bytes publicKey = 1;
    /**
     * optional bytes publicKey = 1;
     */
    boolean hasPublicKey();
    /**
     * optional bytes publicKey = 1;
     */
    com.google.protobuf.ByteString getPublicKey();

    // optional bytes body = 2;
    /**
     * optional bytes body = 2;
     *
     * 
     * Encrypted ProvisionMessage
     * 
*/ boolean hasBody(); /** * optional bytes body = 2; * *
     * Encrypted ProvisionMessage
     * 
*/ com.google.protobuf.ByteString getBody(); } /** * Protobuf type {@code signalservice.ProvisionEnvelope} */ public static final class ProvisionEnvelope extends com.google.protobuf.GeneratedMessage implements ProvisionEnvelopeOrBuilder { // Use ProvisionEnvelope.newBuilder() to construct. private ProvisionEnvelope(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ProvisionEnvelope(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ProvisionEnvelope defaultInstance; public static ProvisionEnvelope getDefaultInstance() { return defaultInstance; } public ProvisionEnvelope getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ProvisionEnvelope( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { bitField0_ |= 0x00000001; publicKey_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; body_ = input.readBytes(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.whispersystems.signalservice.internal.push.ProvisioningProtos.internal_static_signalservice_ProvisionEnvelope_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.whispersystems.signalservice.internal.push.ProvisioningProtos.internal_static_signalservice_ProvisionEnvelope_fieldAccessorTable .ensureFieldAccessorsInitialized( org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope.class, org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ProvisionEnvelope parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ProvisionEnvelope(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional bytes publicKey = 1; public static final int PUBLICKEY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString publicKey_; /** * optional bytes publicKey = 1; */ public boolean hasPublicKey() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional bytes publicKey = 1; */ public com.google.protobuf.ByteString getPublicKey() { return publicKey_; } // optional bytes body = 2; public static final int BODY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString body_; /** * optional bytes body = 2; * *
     * Encrypted ProvisionMessage
     * 
*/ public boolean hasBody() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bytes body = 2; * *
     * Encrypted ProvisionMessage
     * 
*/ public com.google.protobuf.ByteString getBody() { return body_; } private void initFields() { publicKey_ = com.google.protobuf.ByteString.EMPTY; body_ = com.google.protobuf.ByteString.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, publicKey_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, body_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, publicKey_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, body_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code signalservice.ProvisionEnvelope} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelopeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.whispersystems.signalservice.internal.push.ProvisioningProtos.internal_static_signalservice_ProvisionEnvelope_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.whispersystems.signalservice.internal.push.ProvisioningProtos.internal_static_signalservice_ProvisionEnvelope_fieldAccessorTable .ensureFieldAccessorsInitialized( org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope.class, org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope.Builder.class); } // Construct using org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); publicKey_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); body_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.whispersystems.signalservice.internal.push.ProvisioningProtos.internal_static_signalservice_ProvisionEnvelope_descriptor; } public org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope getDefaultInstanceForType() { return org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope.getDefaultInstance(); } public org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope build() { org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope buildPartial() { org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope result = new org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.publicKey_ = publicKey_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.body_ = body_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope) { return mergeFrom((org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope other) { if (other == org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope.getDefaultInstance()) return this; if (other.hasPublicKey()) { setPublicKey(other.getPublicKey()); } if (other.hasBody()) { setBody(other.getBody()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionEnvelope) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional bytes publicKey = 1; private com.google.protobuf.ByteString publicKey_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes publicKey = 1; */ public boolean hasPublicKey() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional bytes publicKey = 1; */ public com.google.protobuf.ByteString getPublicKey() { return publicKey_; } /** * optional bytes publicKey = 1; */ public Builder setPublicKey(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; publicKey_ = value; onChanged(); return this; } /** * optional bytes publicKey = 1; */ public Builder clearPublicKey() { bitField0_ = (bitField0_ & ~0x00000001); publicKey_ = getDefaultInstance().getPublicKey(); onChanged(); return this; } // optional bytes body = 2; private com.google.protobuf.ByteString body_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes body = 2; * *
       * Encrypted ProvisionMessage
       * 
*/ public boolean hasBody() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bytes body = 2; * *
       * Encrypted ProvisionMessage
       * 
*/ public com.google.protobuf.ByteString getBody() { return body_; } /** * optional bytes body = 2; * *
       * Encrypted ProvisionMessage
       * 
*/ public Builder setBody(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; body_ = value; onChanged(); return this; } /** * optional bytes body = 2; * *
       * Encrypted ProvisionMessage
       * 
*/ public Builder clearBody() { bitField0_ = (bitField0_ & ~0x00000002); body_ = getDefaultInstance().getBody(); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:signalservice.ProvisionEnvelope) } static { defaultInstance = new ProvisionEnvelope(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:signalservice.ProvisionEnvelope) } public interface ProvisionMessageOrBuilder extends com.google.protobuf.MessageOrBuilder { // optional bytes identityKeyPublic = 1; /** * optional bytes identityKeyPublic = 1; */ boolean hasIdentityKeyPublic(); /** * optional bytes identityKeyPublic = 1; */ com.google.protobuf.ByteString getIdentityKeyPublic(); // optional bytes identityKeyPrivate = 2; /** * optional bytes identityKeyPrivate = 2; */ boolean hasIdentityKeyPrivate(); /** * optional bytes identityKeyPrivate = 2; */ com.google.protobuf.ByteString getIdentityKeyPrivate(); // optional string number = 3; /** * optional string number = 3; */ boolean hasNumber(); /** * optional string number = 3; */ java.lang.String getNumber(); /** * optional string number = 3; */ com.google.protobuf.ByteString getNumberBytes(); // optional string provisioningCode = 4; /** * optional string provisioningCode = 4; */ boolean hasProvisioningCode(); /** * optional string provisioningCode = 4; */ java.lang.String getProvisioningCode(); /** * optional string provisioningCode = 4; */ com.google.protobuf.ByteString getProvisioningCodeBytes(); // optional string userAgent = 5; /** * optional string userAgent = 5; */ boolean hasUserAgent(); /** * optional string userAgent = 5; */ java.lang.String getUserAgent(); /** * optional string userAgent = 5; */ com.google.protobuf.ByteString getUserAgentBytes(); // optional bytes profileKey = 6; /** * optional bytes profileKey = 6; */ boolean hasProfileKey(); /** * optional bytes profileKey = 6; */ com.google.protobuf.ByteString getProfileKey(); // optional bool readReceipts = 7; /** * optional bool readReceipts = 7; */ boolean hasReadReceipts(); /** * optional bool readReceipts = 7; */ boolean getReadReceipts(); } /** * Protobuf type {@code signalservice.ProvisionMessage} */ public static final class ProvisionMessage extends com.google.protobuf.GeneratedMessage implements ProvisionMessageOrBuilder { // Use ProvisionMessage.newBuilder() to construct. private ProvisionMessage(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ProvisionMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ProvisionMessage defaultInstance; public static ProvisionMessage getDefaultInstance() { return defaultInstance; } public ProvisionMessage getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ProvisionMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { bitField0_ |= 0x00000001; identityKeyPublic_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; identityKeyPrivate_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; number_ = input.readBytes(); break; } case 34: { bitField0_ |= 0x00000008; provisioningCode_ = input.readBytes(); break; } case 42: { bitField0_ |= 0x00000010; userAgent_ = input.readBytes(); break; } case 50: { bitField0_ |= 0x00000020; profileKey_ = input.readBytes(); break; } case 56: { bitField0_ |= 0x00000040; readReceipts_ = input.readBool(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.whispersystems.signalservice.internal.push.ProvisioningProtos.internal_static_signalservice_ProvisionMessage_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.whispersystems.signalservice.internal.push.ProvisioningProtos.internal_static_signalservice_ProvisionMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage.class, org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ProvisionMessage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ProvisionMessage(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional bytes identityKeyPublic = 1; public static final int IDENTITYKEYPUBLIC_FIELD_NUMBER = 1; private com.google.protobuf.ByteString identityKeyPublic_; /** * optional bytes identityKeyPublic = 1; */ public boolean hasIdentityKeyPublic() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional bytes identityKeyPublic = 1; */ public com.google.protobuf.ByteString getIdentityKeyPublic() { return identityKeyPublic_; } // optional bytes identityKeyPrivate = 2; public static final int IDENTITYKEYPRIVATE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString identityKeyPrivate_; /** * optional bytes identityKeyPrivate = 2; */ public boolean hasIdentityKeyPrivate() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bytes identityKeyPrivate = 2; */ public com.google.protobuf.ByteString getIdentityKeyPrivate() { return identityKeyPrivate_; } // optional string number = 3; public static final int NUMBER_FIELD_NUMBER = 3; private java.lang.Object number_; /** * optional string number = 3; */ public boolean hasNumber() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string number = 3; */ public java.lang.String getNumber() { java.lang.Object ref = number_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { number_ = s; } return s; } } /** * optional string number = 3; */ public com.google.protobuf.ByteString getNumberBytes() { java.lang.Object ref = number_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); number_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string provisioningCode = 4; public static final int PROVISIONINGCODE_FIELD_NUMBER = 4; private java.lang.Object provisioningCode_; /** * optional string provisioningCode = 4; */ public boolean hasProvisioningCode() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string provisioningCode = 4; */ public java.lang.String getProvisioningCode() { java.lang.Object ref = provisioningCode_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { provisioningCode_ = s; } return s; } } /** * optional string provisioningCode = 4; */ public com.google.protobuf.ByteString getProvisioningCodeBytes() { java.lang.Object ref = provisioningCode_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); provisioningCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional string userAgent = 5; public static final int USERAGENT_FIELD_NUMBER = 5; private java.lang.Object userAgent_; /** * optional string userAgent = 5; */ public boolean hasUserAgent() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string userAgent = 5; */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { userAgent_ = s; } return s; } } /** * optional string userAgent = 5; */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } // optional bytes profileKey = 6; public static final int PROFILEKEY_FIELD_NUMBER = 6; private com.google.protobuf.ByteString profileKey_; /** * optional bytes profileKey = 6; */ public boolean hasProfileKey() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional bytes profileKey = 6; */ public com.google.protobuf.ByteString getProfileKey() { return profileKey_; } // optional bool readReceipts = 7; public static final int READRECEIPTS_FIELD_NUMBER = 7; private boolean readReceipts_; /** * optional bool readReceipts = 7; */ public boolean hasReadReceipts() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional bool readReceipts = 7; */ public boolean getReadReceipts() { return readReceipts_; } private void initFields() { identityKeyPublic_ = com.google.protobuf.ByteString.EMPTY; identityKeyPrivate_ = com.google.protobuf.ByteString.EMPTY; number_ = ""; provisioningCode_ = ""; userAgent_ = ""; profileKey_ = com.google.protobuf.ByteString.EMPTY; readReceipts_ = false; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, identityKeyPublic_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, identityKeyPrivate_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getNumberBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(4, getProvisioningCodeBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBytes(5, getUserAgentBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeBytes(6, profileKey_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeBool(7, readReceipts_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, identityKeyPublic_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, identityKeyPrivate_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getNumberBytes()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getProvisioningCodeBytes()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(5, getUserAgentBytes()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(6, profileKey_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, readReceipts_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code signalservice.ProvisionMessage} */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessageOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.whispersystems.signalservice.internal.push.ProvisioningProtos.internal_static_signalservice_ProvisionMessage_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.whispersystems.signalservice.internal.push.ProvisioningProtos.internal_static_signalservice_ProvisionMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage.class, org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage.Builder.class); } // Construct using org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); identityKeyPublic_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); identityKeyPrivate_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); number_ = ""; bitField0_ = (bitField0_ & ~0x00000004); provisioningCode_ = ""; bitField0_ = (bitField0_ & ~0x00000008); userAgent_ = ""; bitField0_ = (bitField0_ & ~0x00000010); profileKey_ = com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000020); readReceipts_ = false; bitField0_ = (bitField0_ & ~0x00000040); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.whispersystems.signalservice.internal.push.ProvisioningProtos.internal_static_signalservice_ProvisionMessage_descriptor; } public org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage getDefaultInstanceForType() { return org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage.getDefaultInstance(); } public org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage build() { org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage buildPartial() { org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage result = new org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.identityKeyPublic_ = identityKeyPublic_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.identityKeyPrivate_ = identityKeyPrivate_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.number_ = number_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.provisioningCode_ = provisioningCode_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.userAgent_ = userAgent_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.profileKey_ = profileKey_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.readReceipts_ = readReceipts_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage) { return mergeFrom((org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage other) { if (other == org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage.getDefaultInstance()) return this; if (other.hasIdentityKeyPublic()) { setIdentityKeyPublic(other.getIdentityKeyPublic()); } if (other.hasIdentityKeyPrivate()) { setIdentityKeyPrivate(other.getIdentityKeyPrivate()); } if (other.hasNumber()) { bitField0_ |= 0x00000004; number_ = other.number_; onChanged(); } if (other.hasProvisioningCode()) { bitField0_ |= 0x00000008; provisioningCode_ = other.provisioningCode_; onChanged(); } if (other.hasUserAgent()) { bitField0_ |= 0x00000010; userAgent_ = other.userAgent_; onChanged(); } if (other.hasProfileKey()) { setProfileKey(other.getProfileKey()); } if (other.hasReadReceipts()) { setReadReceipts(other.getReadReceipts()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.whispersystems.signalservice.internal.push.ProvisioningProtos.ProvisionMessage) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional bytes identityKeyPublic = 1; private com.google.protobuf.ByteString identityKeyPublic_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes identityKeyPublic = 1; */ public boolean hasIdentityKeyPublic() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional bytes identityKeyPublic = 1; */ public com.google.protobuf.ByteString getIdentityKeyPublic() { return identityKeyPublic_; } /** * optional bytes identityKeyPublic = 1; */ public Builder setIdentityKeyPublic(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; identityKeyPublic_ = value; onChanged(); return this; } /** * optional bytes identityKeyPublic = 1; */ public Builder clearIdentityKeyPublic() { bitField0_ = (bitField0_ & ~0x00000001); identityKeyPublic_ = getDefaultInstance().getIdentityKeyPublic(); onChanged(); return this; } // optional bytes identityKeyPrivate = 2; private com.google.protobuf.ByteString identityKeyPrivate_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes identityKeyPrivate = 2; */ public boolean hasIdentityKeyPrivate() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bytes identityKeyPrivate = 2; */ public com.google.protobuf.ByteString getIdentityKeyPrivate() { return identityKeyPrivate_; } /** * optional bytes identityKeyPrivate = 2; */ public Builder setIdentityKeyPrivate(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; identityKeyPrivate_ = value; onChanged(); return this; } /** * optional bytes identityKeyPrivate = 2; */ public Builder clearIdentityKeyPrivate() { bitField0_ = (bitField0_ & ~0x00000002); identityKeyPrivate_ = getDefaultInstance().getIdentityKeyPrivate(); onChanged(); return this; } // optional string number = 3; private java.lang.Object number_ = ""; /** * optional string number = 3; */ public boolean hasNumber() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string number = 3; */ public java.lang.String getNumber() { java.lang.Object ref = number_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); number_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string number = 3; */ public com.google.protobuf.ByteString getNumberBytes() { java.lang.Object ref = number_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); number_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string number = 3; */ public Builder setNumber( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; number_ = value; onChanged(); return this; } /** * optional string number = 3; */ public Builder clearNumber() { bitField0_ = (bitField0_ & ~0x00000004); number_ = getDefaultInstance().getNumber(); onChanged(); return this; } /** * optional string number = 3; */ public Builder setNumberBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; number_ = value; onChanged(); return this; } // optional string provisioningCode = 4; private java.lang.Object provisioningCode_ = ""; /** * optional string provisioningCode = 4; */ public boolean hasProvisioningCode() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional string provisioningCode = 4; */ public java.lang.String getProvisioningCode() { java.lang.Object ref = provisioningCode_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); provisioningCode_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string provisioningCode = 4; */ public com.google.protobuf.ByteString getProvisioningCodeBytes() { java.lang.Object ref = provisioningCode_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); provisioningCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string provisioningCode = 4; */ public Builder setProvisioningCode( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; provisioningCode_ = value; onChanged(); return this; } /** * optional string provisioningCode = 4; */ public Builder clearProvisioningCode() { bitField0_ = (bitField0_ & ~0x00000008); provisioningCode_ = getDefaultInstance().getProvisioningCode(); onChanged(); return this; } /** * optional string provisioningCode = 4; */ public Builder setProvisioningCodeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; provisioningCode_ = value; onChanged(); return this; } // optional string userAgent = 5; private java.lang.Object userAgent_ = ""; /** * optional string userAgent = 5; */ public boolean hasUserAgent() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string userAgent = 5; */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.google.protobuf.ByteString) ref) .toStringUtf8(); userAgent_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string userAgent = 5; */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string userAgent = 5; */ public Builder setUserAgent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; userAgent_ = value; onChanged(); return this; } /** * optional string userAgent = 5; */ public Builder clearUserAgent() { bitField0_ = (bitField0_ & ~0x00000010); userAgent_ = getDefaultInstance().getUserAgent(); onChanged(); return this; } /** * optional string userAgent = 5; */ public Builder setUserAgentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; userAgent_ = value; onChanged(); return this; } // optional bytes profileKey = 6; private com.google.protobuf.ByteString profileKey_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes profileKey = 6; */ public boolean hasProfileKey() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional bytes profileKey = 6; */ public com.google.protobuf.ByteString getProfileKey() { return profileKey_; } /** * optional bytes profileKey = 6; */ public Builder setProfileKey(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; profileKey_ = value; onChanged(); return this; } /** * optional bytes profileKey = 6; */ public Builder clearProfileKey() { bitField0_ = (bitField0_ & ~0x00000020); profileKey_ = getDefaultInstance().getProfileKey(); onChanged(); return this; } // optional bool readReceipts = 7; private boolean readReceipts_ ; /** * optional bool readReceipts = 7; */ public boolean hasReadReceipts() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional bool readReceipts = 7; */ public boolean getReadReceipts() { return readReceipts_; } /** * optional bool readReceipts = 7; */ public Builder setReadReceipts(boolean value) { bitField0_ |= 0x00000040; readReceipts_ = value; onChanged(); return this; } /** * optional bool readReceipts = 7; */ public Builder clearReadReceipts() { bitField0_ = (bitField0_ & ~0x00000040); readReceipts_ = false; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:signalservice.ProvisionMessage) } static { defaultInstance = new ProvisionMessage(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:signalservice.ProvisionMessage) } private static com.google.protobuf.Descriptors.Descriptor internal_static_signalservice_ProvisionEnvelope_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_signalservice_ProvisionEnvelope_fieldAccessorTable; private static com.google.protobuf.Descriptors.Descriptor internal_static_signalservice_ProvisionMessage_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_signalservice_ProvisionMessage_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\022Provisioning.proto\022\rsignalservice\"4\n\021P" + "rovisionEnvelope\022\021\n\tpublicKey\030\001 \001(\014\022\014\n\004b" + "ody\030\002 \001(\014\"\260\001\n\020ProvisionMessage\022\031\n\021identi" + "tyKeyPublic\030\001 \001(\014\022\032\n\022identityKeyPrivate\030" + "\002 \001(\014\022\016\n\006number\030\003 \001(\t\022\030\n\020provisioningCod" + "e\030\004 \001(\t\022\021\n\tuserAgent\030\005 \001(\t\022\022\n\nprofileKey" + "\030\006 \001(\014\022\024\n\014readReceipts\030\007 \001(\010BD\n.org.whis" + "persystems.signalservice.internal.pushB\022" + "ProvisioningProtos" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; internal_static_signalservice_ProvisionEnvelope_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_signalservice_ProvisionEnvelope_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_signalservice_ProvisionEnvelope_descriptor, new java.lang.String[] { "PublicKey", "Body", }); internal_static_signalservice_ProvisionMessage_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_signalservice_ProvisionMessage_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_signalservice_ProvisionMessage_descriptor, new java.lang.String[] { "IdentityKeyPublic", "IdentityKeyPrivate", "Number", "ProvisioningCode", "UserAgent", "ProfileKey", "ReadReceipts", }); return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy