1280 lines
49 KiB
Java
Executable File
1280 lines
49 KiB
Java
Executable File
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: site/api_secretChat_applyU2.proto
|
|
|
|
package com.akaxin.proto.site;
|
|
|
|
public final class ApiSecretChatApplyU2Proto {
|
|
private ApiSecretChatApplyU2Proto() {}
|
|
public static void registerAllExtensions(
|
|
com.google.protobuf.ExtensionRegistryLite registry) {
|
|
}
|
|
|
|
public static void registerAllExtensions(
|
|
com.google.protobuf.ExtensionRegistry registry) {
|
|
registerAllExtensions(
|
|
(com.google.protobuf.ExtensionRegistryLite) registry);
|
|
}
|
|
public interface ApiSecretChatApplyU2RequestOrBuilder extends
|
|
// @@protoc_insertion_point(interface_extends:site.ApiSecretChatApplyU2Request)
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
/**
|
|
* <pre>
|
|
*申请绝密聊天的好友ID
|
|
* </pre>
|
|
*
|
|
* <code>string site_friend_id = 1;</code>
|
|
*/
|
|
java.lang.String getSiteFriendId();
|
|
/**
|
|
* <pre>
|
|
*申请绝密聊天的好友ID
|
|
* </pre>
|
|
*
|
|
* <code>string site_friend_id = 1;</code>
|
|
*/
|
|
com.google.protobuf.ByteString
|
|
getSiteFriendIdBytes();
|
|
}
|
|
/**
|
|
* Protobuf type {@code site.ApiSecretChatApplyU2Request}
|
|
*/
|
|
public static final class ApiSecretChatApplyU2Request extends
|
|
com.google.protobuf.GeneratedMessageV3 implements
|
|
// @@protoc_insertion_point(message_implements:site.ApiSecretChatApplyU2Request)
|
|
ApiSecretChatApplyU2RequestOrBuilder {
|
|
private static final long serialVersionUID = 0L;
|
|
// Use ApiSecretChatApplyU2Request.newBuilder() to construct.
|
|
private ApiSecretChatApplyU2Request(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
super(builder);
|
|
}
|
|
private ApiSecretChatApplyU2Request() {
|
|
siteFriendId_ = "";
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
getUnknownFields() {
|
|
return this.unknownFields;
|
|
}
|
|
private ApiSecretChatApplyU2Request(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
this();
|
|
if (extensionRegistry == null) {
|
|
throw new java.lang.NullPointerException();
|
|
}
|
|
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 (!parseUnknownFieldProto3(
|
|
input, unknownFields, extensionRegistry, tag)) {
|
|
done = true;
|
|
}
|
|
break;
|
|
}
|
|
case 10: {
|
|
java.lang.String s = input.readStringRequireUtf8();
|
|
|
|
siteFriendId_ = s;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
throw e.setUnfinishedMessage(this);
|
|
} catch (java.io.IOException e) {
|
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
|
e).setUnfinishedMessage(this);
|
|
} finally {
|
|
this.unknownFields = unknownFields.build();
|
|
makeExtensionsImmutable();
|
|
}
|
|
}
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return com.akaxin.proto.site.ApiSecretChatApplyU2Proto.internal_static_site_ApiSecretChatApplyU2Request_descriptor;
|
|
}
|
|
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return com.akaxin.proto.site.ApiSecretChatApplyU2Proto.internal_static_site_ApiSecretChatApplyU2Request_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request.class, com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request.Builder.class);
|
|
}
|
|
|
|
public static final int SITE_FRIEND_ID_FIELD_NUMBER = 1;
|
|
private volatile java.lang.Object siteFriendId_;
|
|
/**
|
|
* <pre>
|
|
*申请绝密聊天的好友ID
|
|
* </pre>
|
|
*
|
|
* <code>string site_friend_id = 1;</code>
|
|
*/
|
|
public java.lang.String getSiteFriendId() {
|
|
java.lang.Object ref = siteFriendId_;
|
|
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();
|
|
siteFriendId_ = s;
|
|
return s;
|
|
}
|
|
}
|
|
/**
|
|
* <pre>
|
|
*申请绝密聊天的好友ID
|
|
* </pre>
|
|
*
|
|
* <code>string site_friend_id = 1;</code>
|
|
*/
|
|
public com.google.protobuf.ByteString
|
|
getSiteFriendIdBytes() {
|
|
java.lang.Object ref = siteFriendId_;
|
|
if (ref instanceof java.lang.String) {
|
|
com.google.protobuf.ByteString b =
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
(java.lang.String) ref);
|
|
siteFriendId_ = b;
|
|
return b;
|
|
} else {
|
|
return (com.google.protobuf.ByteString) ref;
|
|
}
|
|
}
|
|
|
|
private byte memoizedIsInitialized = -1;
|
|
public final boolean isInitialized() {
|
|
byte isInitialized = memoizedIsInitialized;
|
|
if (isInitialized == 1) return true;
|
|
if (isInitialized == 0) return false;
|
|
|
|
memoizedIsInitialized = 1;
|
|
return true;
|
|
}
|
|
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
throws java.io.IOException {
|
|
if (!getSiteFriendIdBytes().isEmpty()) {
|
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, siteFriendId_);
|
|
}
|
|
unknownFields.writeTo(output);
|
|
}
|
|
|
|
public int getSerializedSize() {
|
|
int size = memoizedSize;
|
|
if (size != -1) return size;
|
|
|
|
size = 0;
|
|
if (!getSiteFriendIdBytes().isEmpty()) {
|
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, siteFriendId_);
|
|
}
|
|
size += unknownFields.getSerializedSize();
|
|
memoizedSize = size;
|
|
return size;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public boolean equals(final java.lang.Object obj) {
|
|
if (obj == this) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request)) {
|
|
return super.equals(obj);
|
|
}
|
|
com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request other = (com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request) obj;
|
|
|
|
boolean result = true;
|
|
result = result && getSiteFriendId()
|
|
.equals(other.getSiteFriendId());
|
|
result = result && unknownFields.equals(other.unknownFields);
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int hashCode() {
|
|
if (memoizedHashCode != 0) {
|
|
return memoizedHashCode;
|
|
}
|
|
int hash = 41;
|
|
hash = (19 * hash) + getDescriptor().hashCode();
|
|
hash = (37 * hash) + SITE_FRIEND_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getSiteFriendId().hashCode();
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
}
|
|
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request parseFrom(
|
|
java.nio.ByteBuffer data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request parseFrom(
|
|
java.nio.ByteBuffer data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request parseFrom(
|
|
com.google.protobuf.ByteString data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request parseFrom(
|
|
com.google.protobuf.ByteString data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request parseFrom(byte[] data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request parseFrom(
|
|
byte[] data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request parseFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request parseFrom(
|
|
java.io.InputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
}
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request parseDelimitedFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input);
|
|
}
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request parseDelimitedFrom(
|
|
java.io.InputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
|
}
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request parseFrom(
|
|
com.google.protobuf.CodedInputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request parseFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
}
|
|
|
|
public Builder newBuilderForType() { return newBuilder(); }
|
|
public static Builder newBuilder() {
|
|
return DEFAULT_INSTANCE.toBuilder();
|
|
}
|
|
public static Builder newBuilder(com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request prototype) {
|
|
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
}
|
|
public Builder toBuilder() {
|
|
return this == DEFAULT_INSTANCE
|
|
? new Builder() : new Builder().mergeFrom(this);
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected Builder newBuilderForType(
|
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
Builder builder = new Builder(parent);
|
|
return builder;
|
|
}
|
|
/**
|
|
* Protobuf type {@code site.ApiSecretChatApplyU2Request}
|
|
*/
|
|
public static final class Builder extends
|
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
// @@protoc_insertion_point(builder_implements:site.ApiSecretChatApplyU2Request)
|
|
com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2RequestOrBuilder {
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return com.akaxin.proto.site.ApiSecretChatApplyU2Proto.internal_static_site_ApiSecretChatApplyU2Request_descriptor;
|
|
}
|
|
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return com.akaxin.proto.site.ApiSecretChatApplyU2Proto.internal_static_site_ApiSecretChatApplyU2Request_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request.class, com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request.Builder.class);
|
|
}
|
|
|
|
// Construct using com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request.newBuilder()
|
|
private Builder() {
|
|
maybeForceBuilderInitialization();
|
|
}
|
|
|
|
private Builder(
|
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
super(parent);
|
|
maybeForceBuilderInitialization();
|
|
}
|
|
private void maybeForceBuilderInitialization() {
|
|
if (com.google.protobuf.GeneratedMessageV3
|
|
.alwaysUseFieldBuilders) {
|
|
}
|
|
}
|
|
public Builder clear() {
|
|
super.clear();
|
|
siteFriendId_ = "";
|
|
|
|
return this;
|
|
}
|
|
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptorForType() {
|
|
return com.akaxin.proto.site.ApiSecretChatApplyU2Proto.internal_static_site_ApiSecretChatApplyU2Request_descriptor;
|
|
}
|
|
|
|
public com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request getDefaultInstanceForType() {
|
|
return com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request.getDefaultInstance();
|
|
}
|
|
|
|
public com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request build() {
|
|
com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request result = buildPartial();
|
|
if (!result.isInitialized()) {
|
|
throw newUninitializedMessageException(result);
|
|
}
|
|
return result;
|
|
}
|
|
|
|
public com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request buildPartial() {
|
|
com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request result = new com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request(this);
|
|
result.siteFriendId_ = siteFriendId_;
|
|
onBuilt();
|
|
return result;
|
|
}
|
|
|
|
public Builder clone() {
|
|
return (Builder) super.clone();
|
|
}
|
|
public Builder setField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
java.lang.Object value) {
|
|
return (Builder) super.setField(field, value);
|
|
}
|
|
public Builder clearField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|
return (Builder) super.clearField(field);
|
|
}
|
|
public Builder clearOneof(
|
|
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|
return (Builder) super.clearOneof(oneof);
|
|
}
|
|
public Builder setRepeatedField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
int index, java.lang.Object value) {
|
|
return (Builder) super.setRepeatedField(field, index, value);
|
|
}
|
|
public Builder addRepeatedField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
java.lang.Object value) {
|
|
return (Builder) super.addRepeatedField(field, value);
|
|
}
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
if (other instanceof com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request) {
|
|
return mergeFrom((com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request)other);
|
|
} else {
|
|
super.mergeFrom(other);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public Builder mergeFrom(com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request other) {
|
|
if (other == com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request.getDefaultInstance()) return this;
|
|
if (!other.getSiteFriendId().isEmpty()) {
|
|
siteFriendId_ = other.siteFriendId_;
|
|
onChanged();
|
|
}
|
|
this.mergeUnknownFields(other.unknownFields);
|
|
onChanged();
|
|
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 {
|
|
com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request parsedMessage = null;
|
|
try {
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
parsedMessage = (com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request) e.getUnfinishedMessage();
|
|
throw e.unwrapIOException();
|
|
} finally {
|
|
if (parsedMessage != null) {
|
|
mergeFrom(parsedMessage);
|
|
}
|
|
}
|
|
return this;
|
|
}
|
|
|
|
private java.lang.Object siteFriendId_ = "";
|
|
/**
|
|
* <pre>
|
|
*申请绝密聊天的好友ID
|
|
* </pre>
|
|
*
|
|
* <code>string site_friend_id = 1;</code>
|
|
*/
|
|
public java.lang.String getSiteFriendId() {
|
|
java.lang.Object ref = siteFriendId_;
|
|
if (!(ref instanceof java.lang.String)) {
|
|
com.google.protobuf.ByteString bs =
|
|
(com.google.protobuf.ByteString) ref;
|
|
java.lang.String s = bs.toStringUtf8();
|
|
siteFriendId_ = s;
|
|
return s;
|
|
} else {
|
|
return (java.lang.String) ref;
|
|
}
|
|
}
|
|
/**
|
|
* <pre>
|
|
*申请绝密聊天的好友ID
|
|
* </pre>
|
|
*
|
|
* <code>string site_friend_id = 1;</code>
|
|
*/
|
|
public com.google.protobuf.ByteString
|
|
getSiteFriendIdBytes() {
|
|
java.lang.Object ref = siteFriendId_;
|
|
if (ref instanceof String) {
|
|
com.google.protobuf.ByteString b =
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
(java.lang.String) ref);
|
|
siteFriendId_ = b;
|
|
return b;
|
|
} else {
|
|
return (com.google.protobuf.ByteString) ref;
|
|
}
|
|
}
|
|
/**
|
|
* <pre>
|
|
*申请绝密聊天的好友ID
|
|
* </pre>
|
|
*
|
|
* <code>string site_friend_id = 1;</code>
|
|
*/
|
|
public Builder setSiteFriendId(
|
|
java.lang.String value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
|
|
siteFriendId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <pre>
|
|
*申请绝密聊天的好友ID
|
|
* </pre>
|
|
*
|
|
* <code>string site_friend_id = 1;</code>
|
|
*/
|
|
public Builder clearSiteFriendId() {
|
|
|
|
siteFriendId_ = getDefaultInstance().getSiteFriendId();
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <pre>
|
|
*申请绝密聊天的好友ID
|
|
* </pre>
|
|
*
|
|
* <code>string site_friend_id = 1;</code>
|
|
*/
|
|
public Builder setSiteFriendIdBytes(
|
|
com.google.protobuf.ByteString value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
checkByteStringIsUtf8(value);
|
|
|
|
siteFriendId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
public final Builder setUnknownFields(
|
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
return super.setUnknownFieldsProto3(unknownFields);
|
|
}
|
|
|
|
public final Builder mergeUnknownFields(
|
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
return super.mergeUnknownFields(unknownFields);
|
|
}
|
|
|
|
|
|
// @@protoc_insertion_point(builder_scope:site.ApiSecretChatApplyU2Request)
|
|
}
|
|
|
|
// @@protoc_insertion_point(class_scope:site.ApiSecretChatApplyU2Request)
|
|
private static final com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request DEFAULT_INSTANCE;
|
|
static {
|
|
DEFAULT_INSTANCE = new com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request();
|
|
}
|
|
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
private static final com.google.protobuf.Parser<ApiSecretChatApplyU2Request>
|
|
PARSER = new com.google.protobuf.AbstractParser<ApiSecretChatApplyU2Request>() {
|
|
public ApiSecretChatApplyU2Request parsePartialFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return new ApiSecretChatApplyU2Request(input, extensionRegistry);
|
|
}
|
|
};
|
|
|
|
public static com.google.protobuf.Parser<ApiSecretChatApplyU2Request> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<ApiSecretChatApplyU2Request> getParserForType() {
|
|
return PARSER;
|
|
}
|
|
|
|
public com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Request getDefaultInstanceForType() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
}
|
|
|
|
public interface ApiSecretChatApplyU2ResponseOrBuilder extends
|
|
// @@protoc_insertion_point(interface_extends:site.ApiSecretChatApplyU2Response)
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
/**
|
|
* <pre>
|
|
*好友的默认设备信息
|
|
* </pre>
|
|
*
|
|
* <code>.core.SimpleDeviceProfile deviceProfile = 1;</code>
|
|
*/
|
|
boolean hasDeviceProfile();
|
|
/**
|
|
* <pre>
|
|
*好友的默认设备信息
|
|
* </pre>
|
|
*
|
|
* <code>.core.SimpleDeviceProfile deviceProfile = 1;</code>
|
|
*/
|
|
com.akaxin.proto.core.DeviceProto.SimpleDeviceProfile getDeviceProfile();
|
|
/**
|
|
* <pre>
|
|
*好友的默认设备信息
|
|
* </pre>
|
|
*
|
|
* <code>.core.SimpleDeviceProfile deviceProfile = 1;</code>
|
|
*/
|
|
com.akaxin.proto.core.DeviceProto.SimpleDeviceProfileOrBuilder getDeviceProfileOrBuilder();
|
|
}
|
|
/**
|
|
* Protobuf type {@code site.ApiSecretChatApplyU2Response}
|
|
*/
|
|
public static final class ApiSecretChatApplyU2Response extends
|
|
com.google.protobuf.GeneratedMessageV3 implements
|
|
// @@protoc_insertion_point(message_implements:site.ApiSecretChatApplyU2Response)
|
|
ApiSecretChatApplyU2ResponseOrBuilder {
|
|
private static final long serialVersionUID = 0L;
|
|
// Use ApiSecretChatApplyU2Response.newBuilder() to construct.
|
|
private ApiSecretChatApplyU2Response(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
super(builder);
|
|
}
|
|
private ApiSecretChatApplyU2Response() {
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
getUnknownFields() {
|
|
return this.unknownFields;
|
|
}
|
|
private ApiSecretChatApplyU2Response(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
this();
|
|
if (extensionRegistry == null) {
|
|
throw new java.lang.NullPointerException();
|
|
}
|
|
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 (!parseUnknownFieldProto3(
|
|
input, unknownFields, extensionRegistry, tag)) {
|
|
done = true;
|
|
}
|
|
break;
|
|
}
|
|
case 10: {
|
|
com.akaxin.proto.core.DeviceProto.SimpleDeviceProfile.Builder subBuilder = null;
|
|
if (deviceProfile_ != null) {
|
|
subBuilder = deviceProfile_.toBuilder();
|
|
}
|
|
deviceProfile_ = input.readMessage(com.akaxin.proto.core.DeviceProto.SimpleDeviceProfile.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom(deviceProfile_);
|
|
deviceProfile_ = subBuilder.buildPartial();
|
|
}
|
|
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
throw e.setUnfinishedMessage(this);
|
|
} catch (java.io.IOException e) {
|
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
|
e).setUnfinishedMessage(this);
|
|
} finally {
|
|
this.unknownFields = unknownFields.build();
|
|
makeExtensionsImmutable();
|
|
}
|
|
}
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return com.akaxin.proto.site.ApiSecretChatApplyU2Proto.internal_static_site_ApiSecretChatApplyU2Response_descriptor;
|
|
}
|
|
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return com.akaxin.proto.site.ApiSecretChatApplyU2Proto.internal_static_site_ApiSecretChatApplyU2Response_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response.class, com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response.Builder.class);
|
|
}
|
|
|
|
public static final int DEVICEPROFILE_FIELD_NUMBER = 1;
|
|
private com.akaxin.proto.core.DeviceProto.SimpleDeviceProfile deviceProfile_;
|
|
/**
|
|
* <pre>
|
|
*好友的默认设备信息
|
|
* </pre>
|
|
*
|
|
* <code>.core.SimpleDeviceProfile deviceProfile = 1;</code>
|
|
*/
|
|
public boolean hasDeviceProfile() {
|
|
return deviceProfile_ != null;
|
|
}
|
|
/**
|
|
* <pre>
|
|
*好友的默认设备信息
|
|
* </pre>
|
|
*
|
|
* <code>.core.SimpleDeviceProfile deviceProfile = 1;</code>
|
|
*/
|
|
public com.akaxin.proto.core.DeviceProto.SimpleDeviceProfile getDeviceProfile() {
|
|
return deviceProfile_ == null ? com.akaxin.proto.core.DeviceProto.SimpleDeviceProfile.getDefaultInstance() : deviceProfile_;
|
|
}
|
|
/**
|
|
* <pre>
|
|
*好友的默认设备信息
|
|
* </pre>
|
|
*
|
|
* <code>.core.SimpleDeviceProfile deviceProfile = 1;</code>
|
|
*/
|
|
public com.akaxin.proto.core.DeviceProto.SimpleDeviceProfileOrBuilder getDeviceProfileOrBuilder() {
|
|
return getDeviceProfile();
|
|
}
|
|
|
|
private byte memoizedIsInitialized = -1;
|
|
public final boolean isInitialized() {
|
|
byte isInitialized = memoizedIsInitialized;
|
|
if (isInitialized == 1) return true;
|
|
if (isInitialized == 0) return false;
|
|
|
|
memoizedIsInitialized = 1;
|
|
return true;
|
|
}
|
|
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
throws java.io.IOException {
|
|
if (deviceProfile_ != null) {
|
|
output.writeMessage(1, getDeviceProfile());
|
|
}
|
|
unknownFields.writeTo(output);
|
|
}
|
|
|
|
public int getSerializedSize() {
|
|
int size = memoizedSize;
|
|
if (size != -1) return size;
|
|
|
|
size = 0;
|
|
if (deviceProfile_ != null) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(1, getDeviceProfile());
|
|
}
|
|
size += unknownFields.getSerializedSize();
|
|
memoizedSize = size;
|
|
return size;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public boolean equals(final java.lang.Object obj) {
|
|
if (obj == this) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response)) {
|
|
return super.equals(obj);
|
|
}
|
|
com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response other = (com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response) obj;
|
|
|
|
boolean result = true;
|
|
result = result && (hasDeviceProfile() == other.hasDeviceProfile());
|
|
if (hasDeviceProfile()) {
|
|
result = result && getDeviceProfile()
|
|
.equals(other.getDeviceProfile());
|
|
}
|
|
result = result && unknownFields.equals(other.unknownFields);
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int hashCode() {
|
|
if (memoizedHashCode != 0) {
|
|
return memoizedHashCode;
|
|
}
|
|
int hash = 41;
|
|
hash = (19 * hash) + getDescriptor().hashCode();
|
|
if (hasDeviceProfile()) {
|
|
hash = (37 * hash) + DEVICEPROFILE_FIELD_NUMBER;
|
|
hash = (53 * hash) + getDeviceProfile().hashCode();
|
|
}
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
}
|
|
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response parseFrom(
|
|
java.nio.ByteBuffer data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response parseFrom(
|
|
java.nio.ByteBuffer data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response parseFrom(
|
|
com.google.protobuf.ByteString data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response parseFrom(
|
|
com.google.protobuf.ByteString data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response parseFrom(byte[] data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response parseFrom(
|
|
byte[] data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response parseFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response parseFrom(
|
|
java.io.InputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
}
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response parseDelimitedFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input);
|
|
}
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response parseDelimitedFrom(
|
|
java.io.InputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
|
}
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response parseFrom(
|
|
com.google.protobuf.CodedInputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response parseFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
}
|
|
|
|
public Builder newBuilderForType() { return newBuilder(); }
|
|
public static Builder newBuilder() {
|
|
return DEFAULT_INSTANCE.toBuilder();
|
|
}
|
|
public static Builder newBuilder(com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response prototype) {
|
|
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
}
|
|
public Builder toBuilder() {
|
|
return this == DEFAULT_INSTANCE
|
|
? new Builder() : new Builder().mergeFrom(this);
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected Builder newBuilderForType(
|
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
Builder builder = new Builder(parent);
|
|
return builder;
|
|
}
|
|
/**
|
|
* Protobuf type {@code site.ApiSecretChatApplyU2Response}
|
|
*/
|
|
public static final class Builder extends
|
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
// @@protoc_insertion_point(builder_implements:site.ApiSecretChatApplyU2Response)
|
|
com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2ResponseOrBuilder {
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return com.akaxin.proto.site.ApiSecretChatApplyU2Proto.internal_static_site_ApiSecretChatApplyU2Response_descriptor;
|
|
}
|
|
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return com.akaxin.proto.site.ApiSecretChatApplyU2Proto.internal_static_site_ApiSecretChatApplyU2Response_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response.class, com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response.Builder.class);
|
|
}
|
|
|
|
// Construct using com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response.newBuilder()
|
|
private Builder() {
|
|
maybeForceBuilderInitialization();
|
|
}
|
|
|
|
private Builder(
|
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
super(parent);
|
|
maybeForceBuilderInitialization();
|
|
}
|
|
private void maybeForceBuilderInitialization() {
|
|
if (com.google.protobuf.GeneratedMessageV3
|
|
.alwaysUseFieldBuilders) {
|
|
}
|
|
}
|
|
public Builder clear() {
|
|
super.clear();
|
|
if (deviceProfileBuilder_ == null) {
|
|
deviceProfile_ = null;
|
|
} else {
|
|
deviceProfile_ = null;
|
|
deviceProfileBuilder_ = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptorForType() {
|
|
return com.akaxin.proto.site.ApiSecretChatApplyU2Proto.internal_static_site_ApiSecretChatApplyU2Response_descriptor;
|
|
}
|
|
|
|
public com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response getDefaultInstanceForType() {
|
|
return com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response.getDefaultInstance();
|
|
}
|
|
|
|
public com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response build() {
|
|
com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response result = buildPartial();
|
|
if (!result.isInitialized()) {
|
|
throw newUninitializedMessageException(result);
|
|
}
|
|
return result;
|
|
}
|
|
|
|
public com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response buildPartial() {
|
|
com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response result = new com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response(this);
|
|
if (deviceProfileBuilder_ == null) {
|
|
result.deviceProfile_ = deviceProfile_;
|
|
} else {
|
|
result.deviceProfile_ = deviceProfileBuilder_.build();
|
|
}
|
|
onBuilt();
|
|
return result;
|
|
}
|
|
|
|
public Builder clone() {
|
|
return (Builder) super.clone();
|
|
}
|
|
public Builder setField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
java.lang.Object value) {
|
|
return (Builder) super.setField(field, value);
|
|
}
|
|
public Builder clearField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|
return (Builder) super.clearField(field);
|
|
}
|
|
public Builder clearOneof(
|
|
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|
return (Builder) super.clearOneof(oneof);
|
|
}
|
|
public Builder setRepeatedField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
int index, java.lang.Object value) {
|
|
return (Builder) super.setRepeatedField(field, index, value);
|
|
}
|
|
public Builder addRepeatedField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
java.lang.Object value) {
|
|
return (Builder) super.addRepeatedField(field, value);
|
|
}
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
if (other instanceof com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response) {
|
|
return mergeFrom((com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response)other);
|
|
} else {
|
|
super.mergeFrom(other);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public Builder mergeFrom(com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response other) {
|
|
if (other == com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response.getDefaultInstance()) return this;
|
|
if (other.hasDeviceProfile()) {
|
|
mergeDeviceProfile(other.getDeviceProfile());
|
|
}
|
|
this.mergeUnknownFields(other.unknownFields);
|
|
onChanged();
|
|
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 {
|
|
com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response parsedMessage = null;
|
|
try {
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
parsedMessage = (com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response) e.getUnfinishedMessage();
|
|
throw e.unwrapIOException();
|
|
} finally {
|
|
if (parsedMessage != null) {
|
|
mergeFrom(parsedMessage);
|
|
}
|
|
}
|
|
return this;
|
|
}
|
|
|
|
private com.akaxin.proto.core.DeviceProto.SimpleDeviceProfile deviceProfile_ = null;
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
com.akaxin.proto.core.DeviceProto.SimpleDeviceProfile, com.akaxin.proto.core.DeviceProto.SimpleDeviceProfile.Builder, com.akaxin.proto.core.DeviceProto.SimpleDeviceProfileOrBuilder> deviceProfileBuilder_;
|
|
/**
|
|
* <pre>
|
|
*好友的默认设备信息
|
|
* </pre>
|
|
*
|
|
* <code>.core.SimpleDeviceProfile deviceProfile = 1;</code>
|
|
*/
|
|
public boolean hasDeviceProfile() {
|
|
return deviceProfileBuilder_ != null || deviceProfile_ != null;
|
|
}
|
|
/**
|
|
* <pre>
|
|
*好友的默认设备信息
|
|
* </pre>
|
|
*
|
|
* <code>.core.SimpleDeviceProfile deviceProfile = 1;</code>
|
|
*/
|
|
public com.akaxin.proto.core.DeviceProto.SimpleDeviceProfile getDeviceProfile() {
|
|
if (deviceProfileBuilder_ == null) {
|
|
return deviceProfile_ == null ? com.akaxin.proto.core.DeviceProto.SimpleDeviceProfile.getDefaultInstance() : deviceProfile_;
|
|
} else {
|
|
return deviceProfileBuilder_.getMessage();
|
|
}
|
|
}
|
|
/**
|
|
* <pre>
|
|
*好友的默认设备信息
|
|
* </pre>
|
|
*
|
|
* <code>.core.SimpleDeviceProfile deviceProfile = 1;</code>
|
|
*/
|
|
public Builder setDeviceProfile(com.akaxin.proto.core.DeviceProto.SimpleDeviceProfile value) {
|
|
if (deviceProfileBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
deviceProfile_ = value;
|
|
onChanged();
|
|
} else {
|
|
deviceProfileBuilder_.setMessage(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <pre>
|
|
*好友的默认设备信息
|
|
* </pre>
|
|
*
|
|
* <code>.core.SimpleDeviceProfile deviceProfile = 1;</code>
|
|
*/
|
|
public Builder setDeviceProfile(
|
|
com.akaxin.proto.core.DeviceProto.SimpleDeviceProfile.Builder builderForValue) {
|
|
if (deviceProfileBuilder_ == null) {
|
|
deviceProfile_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
deviceProfileBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <pre>
|
|
*好友的默认设备信息
|
|
* </pre>
|
|
*
|
|
* <code>.core.SimpleDeviceProfile deviceProfile = 1;</code>
|
|
*/
|
|
public Builder mergeDeviceProfile(com.akaxin.proto.core.DeviceProto.SimpleDeviceProfile value) {
|
|
if (deviceProfileBuilder_ == null) {
|
|
if (deviceProfile_ != null) {
|
|
deviceProfile_ =
|
|
com.akaxin.proto.core.DeviceProto.SimpleDeviceProfile.newBuilder(deviceProfile_).mergeFrom(value).buildPartial();
|
|
} else {
|
|
deviceProfile_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
deviceProfileBuilder_.mergeFrom(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <pre>
|
|
*好友的默认设备信息
|
|
* </pre>
|
|
*
|
|
* <code>.core.SimpleDeviceProfile deviceProfile = 1;</code>
|
|
*/
|
|
public Builder clearDeviceProfile() {
|
|
if (deviceProfileBuilder_ == null) {
|
|
deviceProfile_ = null;
|
|
onChanged();
|
|
} else {
|
|
deviceProfile_ = null;
|
|
deviceProfileBuilder_ = null;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <pre>
|
|
*好友的默认设备信息
|
|
* </pre>
|
|
*
|
|
* <code>.core.SimpleDeviceProfile deviceProfile = 1;</code>
|
|
*/
|
|
public com.akaxin.proto.core.DeviceProto.SimpleDeviceProfile.Builder getDeviceProfileBuilder() {
|
|
|
|
onChanged();
|
|
return getDeviceProfileFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <pre>
|
|
*好友的默认设备信息
|
|
* </pre>
|
|
*
|
|
* <code>.core.SimpleDeviceProfile deviceProfile = 1;</code>
|
|
*/
|
|
public com.akaxin.proto.core.DeviceProto.SimpleDeviceProfileOrBuilder getDeviceProfileOrBuilder() {
|
|
if (deviceProfileBuilder_ != null) {
|
|
return deviceProfileBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
return deviceProfile_ == null ?
|
|
com.akaxin.proto.core.DeviceProto.SimpleDeviceProfile.getDefaultInstance() : deviceProfile_;
|
|
}
|
|
}
|
|
/**
|
|
* <pre>
|
|
*好友的默认设备信息
|
|
* </pre>
|
|
*
|
|
* <code>.core.SimpleDeviceProfile deviceProfile = 1;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
com.akaxin.proto.core.DeviceProto.SimpleDeviceProfile, com.akaxin.proto.core.DeviceProto.SimpleDeviceProfile.Builder, com.akaxin.proto.core.DeviceProto.SimpleDeviceProfileOrBuilder>
|
|
getDeviceProfileFieldBuilder() {
|
|
if (deviceProfileBuilder_ == null) {
|
|
deviceProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
com.akaxin.proto.core.DeviceProto.SimpleDeviceProfile, com.akaxin.proto.core.DeviceProto.SimpleDeviceProfile.Builder, com.akaxin.proto.core.DeviceProto.SimpleDeviceProfileOrBuilder>(
|
|
getDeviceProfile(),
|
|
getParentForChildren(),
|
|
isClean());
|
|
deviceProfile_ = null;
|
|
}
|
|
return deviceProfileBuilder_;
|
|
}
|
|
public final Builder setUnknownFields(
|
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
return super.setUnknownFieldsProto3(unknownFields);
|
|
}
|
|
|
|
public final Builder mergeUnknownFields(
|
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
return super.mergeUnknownFields(unknownFields);
|
|
}
|
|
|
|
|
|
// @@protoc_insertion_point(builder_scope:site.ApiSecretChatApplyU2Response)
|
|
}
|
|
|
|
// @@protoc_insertion_point(class_scope:site.ApiSecretChatApplyU2Response)
|
|
private static final com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response DEFAULT_INSTANCE;
|
|
static {
|
|
DEFAULT_INSTANCE = new com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response();
|
|
}
|
|
|
|
public static com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
private static final com.google.protobuf.Parser<ApiSecretChatApplyU2Response>
|
|
PARSER = new com.google.protobuf.AbstractParser<ApiSecretChatApplyU2Response>() {
|
|
public ApiSecretChatApplyU2Response parsePartialFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return new ApiSecretChatApplyU2Response(input, extensionRegistry);
|
|
}
|
|
};
|
|
|
|
public static com.google.protobuf.Parser<ApiSecretChatApplyU2Response> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<ApiSecretChatApplyU2Response> getParserForType() {
|
|
return PARSER;
|
|
}
|
|
|
|
public com.akaxin.proto.site.ApiSecretChatApplyU2Proto.ApiSecretChatApplyU2Response getDefaultInstanceForType() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
}
|
|
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_site_ApiSecretChatApplyU2Request_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_site_ApiSecretChatApplyU2Request_fieldAccessorTable;
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_site_ApiSecretChatApplyU2Response_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_site_ApiSecretChatApplyU2Response_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!site/api_secretChat_applyU2.proto\022\004sit" +
|
|
"e\032\021core/device.proto\"5\n\033ApiSecretChatApp" +
|
|
"lyU2Request\022\026\n\016site_friend_id\030\001 \001(\t\"P\n\034A" +
|
|
"piSecretChatApplyU2Response\0220\n\rdevicePro" +
|
|
"file\030\001 \001(\0132\031.core.SimpleDeviceProfile2o\n" +
|
|
"\033ApiSecretChatApplyU2Service\022P\n\007applyU2\022" +
|
|
"!.site.ApiSecretChatApplyU2Request\032\".sit" +
|
|
"e.ApiSecretChatApplyU2ResponseB2\n\025com.ak" +
|
|
"axin.proto.siteB\031ApiSecretChatApplyU2Pro" +
|
|
"tob\006proto3"
|
|
};
|
|
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;
|
|
return null;
|
|
}
|
|
};
|
|
com.google.protobuf.Descriptors.FileDescriptor
|
|
.internalBuildGeneratedFileFrom(descriptorData,
|
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
com.akaxin.proto.core.DeviceProto.getDescriptor(),
|
|
}, assigner);
|
|
internal_static_site_ApiSecretChatApplyU2Request_descriptor =
|
|
getDescriptor().getMessageTypes().get(0);
|
|
internal_static_site_ApiSecretChatApplyU2Request_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_site_ApiSecretChatApplyU2Request_descriptor,
|
|
new java.lang.String[] { "SiteFriendId", });
|
|
internal_static_site_ApiSecretChatApplyU2Response_descriptor =
|
|
getDescriptor().getMessageTypes().get(1);
|
|
internal_static_site_ApiSecretChatApplyU2Response_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_site_ApiSecretChatApplyU2Response_descriptor,
|
|
new java.lang.String[] { "DeviceProfile", });
|
|
com.akaxin.proto.core.DeviceProto.getDescriptor();
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|