|
|
|
@@ -67311,6 +67311,641 @@ public final class WFCMessage {
|
|
|
|
|
// @@protoc_insertion_point(class_scope:ApplicationConfigRequest)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public interface StringPairOrBuilder
|
|
|
|
|
extends com.google.protobuf.MessageOrBuilder {
|
|
|
|
|
|
|
|
|
|
// required string key = 1;
|
|
|
|
|
/**
|
|
|
|
|
* <code>required string key = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
boolean hasKey();
|
|
|
|
|
/**
|
|
|
|
|
* <code>required string key = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
java.lang.String getKey();
|
|
|
|
|
/**
|
|
|
|
|
* <code>required string key = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
com.google.protobuf.ByteString
|
|
|
|
|
getKeyBytes();
|
|
|
|
|
|
|
|
|
|
// optional string value = 2;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string value = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
boolean hasValue();
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string value = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
java.lang.String getValue();
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string value = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
com.google.protobuf.ByteString
|
|
|
|
|
getValueBytes();
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Protobuf type {@code StringPair}
|
|
|
|
|
*/
|
|
|
|
|
public static final class StringPair extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage
|
|
|
|
|
implements StringPairOrBuilder {
|
|
|
|
|
// Use StringPair.newBuilder() to construct.
|
|
|
|
|
private StringPair(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
|
|
|
|
super(builder);
|
|
|
|
|
this.unknownFields = builder.getUnknownFields();
|
|
|
|
|
}
|
|
|
|
|
private StringPair(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
|
|
|
|
|
|
|
|
|
|
private static final StringPair defaultInstance;
|
|
|
|
|
public static StringPair getDefaultInstance() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public StringPair getDefaultInstanceForType() {
|
|
|
|
|
return defaultInstance;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private final com.google.protobuf.UnknownFieldSet unknownFields;
|
|
|
|
|
@java.lang.Override
|
|
|
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
|
|
|
getUnknownFields() {
|
|
|
|
|
return this.unknownFields;
|
|
|
|
|
}
|
|
|
|
|
private StringPair(
|
|
|
|
|
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;
|
|
|
|
|
key_ = input.readBytes();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 18: {
|
|
|
|
|
bitField0_ |= 0x00000002;
|
|
|
|
|
value_ = 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 cn.wildfirechat.proto.WFCMessage.internal_static_StringPair_descriptor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
|
|
|
|
return cn.wildfirechat.proto.WFCMessage.internal_static_StringPair_fieldAccessorTable
|
|
|
|
|
.ensureFieldAccessorsInitialized(
|
|
|
|
|
cn.wildfirechat.proto.WFCMessage.StringPair.class, cn.wildfirechat.proto.WFCMessage.StringPair.Builder.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static com.google.protobuf.Parser<StringPair> PARSER =
|
|
|
|
|
new com.google.protobuf.AbstractParser<StringPair>() {
|
|
|
|
|
public StringPair parsePartialFrom(
|
|
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return new StringPair(input, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@java.lang.Override
|
|
|
|
|
public com.google.protobuf.Parser<StringPair> getParserForType() {
|
|
|
|
|
return PARSER;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int bitField0_;
|
|
|
|
|
// required string key = 1;
|
|
|
|
|
public static final int KEY_FIELD_NUMBER = 1;
|
|
|
|
|
private java.lang.Object key_;
|
|
|
|
|
/**
|
|
|
|
|
* <code>required string key = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasKey() {
|
|
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>required string key = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public java.lang.String getKey() {
|
|
|
|
|
java.lang.Object ref = key_;
|
|
|
|
|
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()) {
|
|
|
|
|
key_ = s;
|
|
|
|
|
}
|
|
|
|
|
return s;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>required string key = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
|
getKeyBytes() {
|
|
|
|
|
java.lang.Object ref = key_;
|
|
|
|
|
if (ref instanceof java.lang.String) {
|
|
|
|
|
com.google.protobuf.ByteString b =
|
|
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
|
|
(java.lang.String) ref);
|
|
|
|
|
key_ = b;
|
|
|
|
|
return b;
|
|
|
|
|
} else {
|
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional string value = 2;
|
|
|
|
|
public static final int VALUE_FIELD_NUMBER = 2;
|
|
|
|
|
private java.lang.Object value_;
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string value = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasValue() {
|
|
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string value = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public java.lang.String getValue() {
|
|
|
|
|
java.lang.Object ref = value_;
|
|
|
|
|
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()) {
|
|
|
|
|
value_ = s;
|
|
|
|
|
}
|
|
|
|
|
return s;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string value = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
|
getValueBytes() {
|
|
|
|
|
java.lang.Object ref = value_;
|
|
|
|
|
if (ref instanceof java.lang.String) {
|
|
|
|
|
com.google.protobuf.ByteString b =
|
|
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
|
|
(java.lang.String) ref);
|
|
|
|
|
value_ = b;
|
|
|
|
|
return b;
|
|
|
|
|
} else {
|
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void initFields() {
|
|
|
|
|
key_ = "";
|
|
|
|
|
value_ = "";
|
|
|
|
|
}
|
|
|
|
|
private byte memoizedIsInitialized = -1;
|
|
|
|
|
public final boolean isInitialized() {
|
|
|
|
|
byte isInitialized = memoizedIsInitialized;
|
|
|
|
|
if (isInitialized != -1) return isInitialized == 1;
|
|
|
|
|
|
|
|
|
|
if (!hasKey()) {
|
|
|
|
|
memoizedIsInitialized = 0;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
memoizedIsInitialized = 1;
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
getSerializedSize();
|
|
|
|
|
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
output.writeBytes(1, getKeyBytes());
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
output.writeBytes(2, getValueBytes());
|
|
|
|
|
}
|
|
|
|
|
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, getKeyBytes());
|
|
|
|
|
}
|
|
|
|
|
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
size += com.google.protobuf.CodedOutputStream
|
|
|
|
|
.computeBytesSize(2, getValueBytes());
|
|
|
|
|
}
|
|
|
|
|
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 cn.wildfirechat.proto.WFCMessage.StringPair parseFrom(
|
|
|
|
|
com.google.protobuf.ByteString data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data);
|
|
|
|
|
}
|
|
|
|
|
public static cn.wildfirechat.proto.WFCMessage.StringPair parseFrom(
|
|
|
|
|
com.google.protobuf.ByteString data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static cn.wildfirechat.proto.WFCMessage.StringPair parseFrom(byte[] data)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data);
|
|
|
|
|
}
|
|
|
|
|
public static cn.wildfirechat.proto.WFCMessage.StringPair parseFrom(
|
|
|
|
|
byte[] data,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
|
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static cn.wildfirechat.proto.WFCMessage.StringPair parseFrom(java.io.InputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseFrom(input);
|
|
|
|
|
}
|
|
|
|
|
public static cn.wildfirechat.proto.WFCMessage.StringPair parseFrom(
|
|
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseFrom(input, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static cn.wildfirechat.proto.WFCMessage.StringPair parseDelimitedFrom(java.io.InputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseDelimitedFrom(input);
|
|
|
|
|
}
|
|
|
|
|
public static cn.wildfirechat.proto.WFCMessage.StringPair parseDelimitedFrom(
|
|
|
|
|
java.io.InputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseDelimitedFrom(input, extensionRegistry);
|
|
|
|
|
}
|
|
|
|
|
public static cn.wildfirechat.proto.WFCMessage.StringPair parseFrom(
|
|
|
|
|
com.google.protobuf.CodedInputStream input)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
return PARSER.parseFrom(input);
|
|
|
|
|
}
|
|
|
|
|
public static cn.wildfirechat.proto.WFCMessage.StringPair 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(cn.wildfirechat.proto.WFCMessage.StringPair 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 StringPair}
|
|
|
|
|
*/
|
|
|
|
|
public static final class Builder extends
|
|
|
|
|
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
|
|
|
|
implements cn.wildfirechat.proto.WFCMessage.StringPairOrBuilder {
|
|
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
|
|
|
|
return cn.wildfirechat.proto.WFCMessage.internal_static_StringPair_descriptor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internalGetFieldAccessorTable() {
|
|
|
|
|
return cn.wildfirechat.proto.WFCMessage.internal_static_StringPair_fieldAccessorTable
|
|
|
|
|
.ensureFieldAccessorsInitialized(
|
|
|
|
|
cn.wildfirechat.proto.WFCMessage.StringPair.class, cn.wildfirechat.proto.WFCMessage.StringPair.Builder.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Construct using cn.wildfirechat.proto.WFCMessage.StringPair.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();
|
|
|
|
|
key_ = "";
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
|
value_ = "";
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder clone() {
|
|
|
|
|
return create().mergeFrom(buildPartial());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptorForType() {
|
|
|
|
|
return cn.wildfirechat.proto.WFCMessage.internal_static_StringPair_descriptor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public cn.wildfirechat.proto.WFCMessage.StringPair getDefaultInstanceForType() {
|
|
|
|
|
return cn.wildfirechat.proto.WFCMessage.StringPair.getDefaultInstance();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public cn.wildfirechat.proto.WFCMessage.StringPair build() {
|
|
|
|
|
cn.wildfirechat.proto.WFCMessage.StringPair result = buildPartial();
|
|
|
|
|
if (!result.isInitialized()) {
|
|
|
|
|
throw newUninitializedMessageException(result);
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public cn.wildfirechat.proto.WFCMessage.StringPair buildPartial() {
|
|
|
|
|
cn.wildfirechat.proto.WFCMessage.StringPair result = new cn.wildfirechat.proto.WFCMessage.StringPair(this);
|
|
|
|
|
int from_bitField0_ = bitField0_;
|
|
|
|
|
int to_bitField0_ = 0;
|
|
|
|
|
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
|
|
|
|
to_bitField0_ |= 0x00000001;
|
|
|
|
|
}
|
|
|
|
|
result.key_ = key_;
|
|
|
|
|
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
|
|
|
|
|
to_bitField0_ |= 0x00000002;
|
|
|
|
|
}
|
|
|
|
|
result.value_ = value_;
|
|
|
|
|
result.bitField0_ = to_bitField0_;
|
|
|
|
|
onBuilt();
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
|
|
|
if (other instanceof cn.wildfirechat.proto.WFCMessage.StringPair) {
|
|
|
|
|
return mergeFrom((cn.wildfirechat.proto.WFCMessage.StringPair)other);
|
|
|
|
|
} else {
|
|
|
|
|
super.mergeFrom(other);
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder mergeFrom(cn.wildfirechat.proto.WFCMessage.StringPair other) {
|
|
|
|
|
if (other == cn.wildfirechat.proto.WFCMessage.StringPair.getDefaultInstance()) return this;
|
|
|
|
|
if (other.hasKey()) {
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
key_ = other.key_;
|
|
|
|
|
onChanged();
|
|
|
|
|
}
|
|
|
|
|
if (other.hasValue()) {
|
|
|
|
|
bitField0_ |= 0x00000002;
|
|
|
|
|
value_ = other.value_;
|
|
|
|
|
onChanged();
|
|
|
|
|
}
|
|
|
|
|
this.mergeUnknownFields(other.getUnknownFields());
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public final boolean isInitialized() {
|
|
|
|
|
if (!hasKey()) {
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Builder mergeFrom(
|
|
|
|
|
com.google.protobuf.CodedInputStream input,
|
|
|
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
|
|
|
throws java.io.IOException {
|
|
|
|
|
cn.wildfirechat.proto.WFCMessage.StringPair parsedMessage = null;
|
|
|
|
|
try {
|
|
|
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
|
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
|
|
|
parsedMessage = (cn.wildfirechat.proto.WFCMessage.StringPair) e.getUnfinishedMessage();
|
|
|
|
|
throw e;
|
|
|
|
|
} finally {
|
|
|
|
|
if (parsedMessage != null) {
|
|
|
|
|
mergeFrom(parsedMessage);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
private int bitField0_;
|
|
|
|
|
|
|
|
|
|
// required string key = 1;
|
|
|
|
|
private java.lang.Object key_ = "";
|
|
|
|
|
/**
|
|
|
|
|
* <code>required string key = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasKey() {
|
|
|
|
|
return ((bitField0_ & 0x00000001) == 0x00000001);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>required string key = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public java.lang.String getKey() {
|
|
|
|
|
java.lang.Object ref = key_;
|
|
|
|
|
if (!(ref instanceof java.lang.String)) {
|
|
|
|
|
java.lang.String s = ((com.google.protobuf.ByteString) ref)
|
|
|
|
|
.toStringUtf8();
|
|
|
|
|
key_ = s;
|
|
|
|
|
return s;
|
|
|
|
|
} else {
|
|
|
|
|
return (java.lang.String) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>required string key = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
|
getKeyBytes() {
|
|
|
|
|
java.lang.Object ref = key_;
|
|
|
|
|
if (ref instanceof String) {
|
|
|
|
|
com.google.protobuf.ByteString b =
|
|
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
|
|
(java.lang.String) ref);
|
|
|
|
|
key_ = b;
|
|
|
|
|
return b;
|
|
|
|
|
} else {
|
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>required string key = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setKey(
|
|
|
|
|
java.lang.String value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
key_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>required string key = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder clearKey() {
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
|
|
|
key_ = getDefaultInstance().getKey();
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>required string key = 1;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setKeyBytes(
|
|
|
|
|
com.google.protobuf.ByteString value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000001;
|
|
|
|
|
key_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// optional string value = 2;
|
|
|
|
|
private java.lang.Object value_ = "";
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string value = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public boolean hasValue() {
|
|
|
|
|
return ((bitField0_ & 0x00000002) == 0x00000002);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string value = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public java.lang.String getValue() {
|
|
|
|
|
java.lang.Object ref = value_;
|
|
|
|
|
if (!(ref instanceof java.lang.String)) {
|
|
|
|
|
java.lang.String s = ((com.google.protobuf.ByteString) ref)
|
|
|
|
|
.toStringUtf8();
|
|
|
|
|
value_ = s;
|
|
|
|
|
return s;
|
|
|
|
|
} else {
|
|
|
|
|
return (java.lang.String) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string value = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public com.google.protobuf.ByteString
|
|
|
|
|
getValueBytes() {
|
|
|
|
|
java.lang.Object ref = value_;
|
|
|
|
|
if (ref instanceof String) {
|
|
|
|
|
com.google.protobuf.ByteString b =
|
|
|
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
|
|
|
(java.lang.String) ref);
|
|
|
|
|
value_ = b;
|
|
|
|
|
return b;
|
|
|
|
|
} else {
|
|
|
|
|
return (com.google.protobuf.ByteString) ref;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string value = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setValue(
|
|
|
|
|
java.lang.String value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000002;
|
|
|
|
|
value_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string value = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder clearValue() {
|
|
|
|
|
bitField0_ = (bitField0_ & ~0x00000002);
|
|
|
|
|
value_ = getDefaultInstance().getValue();
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>optional string value = 2;</code>
|
|
|
|
|
*/
|
|
|
|
|
public Builder setValueBytes(
|
|
|
|
|
com.google.protobuf.ByteString value) {
|
|
|
|
|
if (value == null) {
|
|
|
|
|
throw new NullPointerException();
|
|
|
|
|
}
|
|
|
|
|
bitField0_ |= 0x00000002;
|
|
|
|
|
value_ = value;
|
|
|
|
|
onChanged();
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(builder_scope:StringPair)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static {
|
|
|
|
|
defaultInstance = new StringPair(true);
|
|
|
|
|
defaultInstance.initFields();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(class_scope:StringPair)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
internal_static_AddFriendRequest_descriptor;
|
|
|
|
|
private static
|
|
|
|
@@ -67691,6 +68326,11 @@ public final class WFCMessage {
|
|
|
|
|
private static
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internal_static_ApplicationConfigRequest_fieldAccessorTable;
|
|
|
|
|
private static com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
internal_static_StringPair_descriptor;
|
|
|
|
|
private static
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
|
|
|
|
internal_static_StringPair_fieldAccessorTable;
|
|
|
|
|
|
|
|
|
|
public static com.google.protobuf.Descriptors.FileDescriptor
|
|
|
|
|
getDescriptor() {
|
|
|
|
@@ -67877,9 +68517,10 @@ public final class WFCMessage {
|
|
|
|
|
"rget_id\030\001 \002(\t\022\014\n\004type\030\002 \002(\005\022\014\n\004host\030\003 \002(" +
|
|
|
|
|
"\t\"o\n\030ApplicationConfigRequest\022\r\n\005appId\030\001" +
|
|
|
|
|
" \002(\t\022\017\n\007appType\030\002 \002(\005\022\021\n\ttimestamp\030\003 \002(\003" +
|
|
|
|
|
"\022\r\n\005nonce\030\004 \002(\t\022\021\n\tsignature\030\005 \002(\tB/\n\025cn" +
|
|
|
|
|
".wildfirechat.protoB\nWFCMessageZ\n./go;pr" +
|
|
|
|
|
"oto"
|
|
|
|
|
"\022\r\n\005nonce\030\004 \002(\t\022\021\n\tsignature\030\005 \002(\t\"(\n\nSt" +
|
|
|
|
|
"ringPair\022\013\n\003key\030\001 \002(\t\022\r\n\005value\030\002 \001(\tB/\n\025" +
|
|
|
|
|
"cn.wildfirechat.protoB\nWFCMessageZ\n./go;",
|
|
|
|
|
"proto"
|
|
|
|
|
};
|
|
|
|
|
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
|
|
|
|
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
|
|
|
|
@@ -68342,6 +68983,12 @@ public final class WFCMessage {
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
|
|
internal_static_ApplicationConfigRequest_descriptor,
|
|
|
|
|
new java.lang.String[] { "AppId", "AppType", "Timestamp", "Nonce", "Signature", });
|
|
|
|
|
internal_static_StringPair_descriptor =
|
|
|
|
|
getDescriptor().getMessageTypes().get(76);
|
|
|
|
|
internal_static_StringPair_fieldAccessorTable = new
|
|
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
|
|
|
|
internal_static_StringPair_descriptor,
|
|
|
|
|
new java.lang.String[] { "Key", "Value", });
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|