1387 lines
48 KiB
Java
Executable File
1387 lines
48 KiB
Java
Executable File
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: plugin/hai_push_notices.proto
|
|
|
|
package com.akaxin.proto.plugin;
|
|
|
|
public final class HaiPushNoticesProto {
|
|
private HaiPushNoticesProto() {}
|
|
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 HaiPushNoticesRequestOrBuilder extends
|
|
// @@protoc_insertion_point(interface_extends:plugin.HaiPushNoticesRequest)
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
/**
|
|
* <pre>
|
|
*push通知的title(副标题),客户端主标题展示站点名称
|
|
* </pre>
|
|
*
|
|
* <code>string subtitle = 1;</code>
|
|
*/
|
|
java.lang.String getSubtitle();
|
|
/**
|
|
* <pre>
|
|
*push通知的title(副标题),客户端主标题展示站点名称
|
|
* </pre>
|
|
*
|
|
* <code>string subtitle = 1;</code>
|
|
*/
|
|
com.google.protobuf.ByteString
|
|
getSubtitleBytes();
|
|
|
|
/**
|
|
* <pre>
|
|
*通知的内容
|
|
* </pre>
|
|
*
|
|
* <code>string content = 2;</code>
|
|
*/
|
|
java.lang.String getContent();
|
|
/**
|
|
* <pre>
|
|
*通知的内容
|
|
* </pre>
|
|
*
|
|
* <code>string content = 2;</code>
|
|
*/
|
|
com.google.protobuf.ByteString
|
|
getContentBytes();
|
|
|
|
/**
|
|
* <pre>
|
|
*通知的跳转,可以为空。
|
|
* </pre>
|
|
*
|
|
* <code>string push_goto = 3;</code>
|
|
*/
|
|
java.lang.String getPushGoto();
|
|
/**
|
|
* <pre>
|
|
*通知的跳转,可以为空。
|
|
* </pre>
|
|
*
|
|
* <code>string push_goto = 3;</code>
|
|
*/
|
|
com.google.protobuf.ByteString
|
|
getPushGotoBytes();
|
|
}
|
|
/**
|
|
* <pre>
|
|
**
|
|
*向全员推送消息通知
|
|
*----
|
|
*接口名
|
|
*----
|
|
* /hai/push/notices
|
|
*错误码
|
|
*----
|
|
* success
|
|
* error.alert
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code plugin.HaiPushNoticesRequest}
|
|
*/
|
|
public static final class HaiPushNoticesRequest extends
|
|
com.google.protobuf.GeneratedMessageV3 implements
|
|
// @@protoc_insertion_point(message_implements:plugin.HaiPushNoticesRequest)
|
|
HaiPushNoticesRequestOrBuilder {
|
|
private static final long serialVersionUID = 0L;
|
|
// Use HaiPushNoticesRequest.newBuilder() to construct.
|
|
private HaiPushNoticesRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
super(builder);
|
|
}
|
|
private HaiPushNoticesRequest() {
|
|
subtitle_ = "";
|
|
content_ = "";
|
|
pushGoto_ = "";
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
getUnknownFields() {
|
|
return this.unknownFields;
|
|
}
|
|
private HaiPushNoticesRequest(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
this();
|
|
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();
|
|
|
|
subtitle_ = s;
|
|
break;
|
|
}
|
|
case 18: {
|
|
java.lang.String s = input.readStringRequireUtf8();
|
|
|
|
content_ = s;
|
|
break;
|
|
}
|
|
case 26: {
|
|
java.lang.String s = input.readStringRequireUtf8();
|
|
|
|
pushGoto_ = 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.plugin.HaiPushNoticesProto.internal_static_plugin_HaiPushNoticesRequest_descriptor;
|
|
}
|
|
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return com.akaxin.proto.plugin.HaiPushNoticesProto.internal_static_plugin_HaiPushNoticesRequest_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest.class, com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest.Builder.class);
|
|
}
|
|
|
|
public static final int SUBTITLE_FIELD_NUMBER = 1;
|
|
private volatile java.lang.Object subtitle_;
|
|
/**
|
|
* <pre>
|
|
*push通知的title(副标题),客户端主标题展示站点名称
|
|
* </pre>
|
|
*
|
|
* <code>string subtitle = 1;</code>
|
|
*/
|
|
public java.lang.String getSubtitle() {
|
|
java.lang.Object ref = subtitle_;
|
|
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();
|
|
subtitle_ = s;
|
|
return s;
|
|
}
|
|
}
|
|
/**
|
|
* <pre>
|
|
*push通知的title(副标题),客户端主标题展示站点名称
|
|
* </pre>
|
|
*
|
|
* <code>string subtitle = 1;</code>
|
|
*/
|
|
public com.google.protobuf.ByteString
|
|
getSubtitleBytes() {
|
|
java.lang.Object ref = subtitle_;
|
|
if (ref instanceof java.lang.String) {
|
|
com.google.protobuf.ByteString b =
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
(java.lang.String) ref);
|
|
subtitle_ = b;
|
|
return b;
|
|
} else {
|
|
return (com.google.protobuf.ByteString) ref;
|
|
}
|
|
}
|
|
|
|
public static final int CONTENT_FIELD_NUMBER = 2;
|
|
private volatile java.lang.Object content_;
|
|
/**
|
|
* <pre>
|
|
*通知的内容
|
|
* </pre>
|
|
*
|
|
* <code>string content = 2;</code>
|
|
*/
|
|
public java.lang.String getContent() {
|
|
java.lang.Object ref = content_;
|
|
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();
|
|
content_ = s;
|
|
return s;
|
|
}
|
|
}
|
|
/**
|
|
* <pre>
|
|
*通知的内容
|
|
* </pre>
|
|
*
|
|
* <code>string content = 2;</code>
|
|
*/
|
|
public com.google.protobuf.ByteString
|
|
getContentBytes() {
|
|
java.lang.Object ref = content_;
|
|
if (ref instanceof java.lang.String) {
|
|
com.google.protobuf.ByteString b =
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
(java.lang.String) ref);
|
|
content_ = b;
|
|
return b;
|
|
} else {
|
|
return (com.google.protobuf.ByteString) ref;
|
|
}
|
|
}
|
|
|
|
public static final int PUSH_GOTO_FIELD_NUMBER = 3;
|
|
private volatile java.lang.Object pushGoto_;
|
|
/**
|
|
* <pre>
|
|
*通知的跳转,可以为空。
|
|
* </pre>
|
|
*
|
|
* <code>string push_goto = 3;</code>
|
|
*/
|
|
public java.lang.String getPushGoto() {
|
|
java.lang.Object ref = pushGoto_;
|
|
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();
|
|
pushGoto_ = s;
|
|
return s;
|
|
}
|
|
}
|
|
/**
|
|
* <pre>
|
|
*通知的跳转,可以为空。
|
|
* </pre>
|
|
*
|
|
* <code>string push_goto = 3;</code>
|
|
*/
|
|
public com.google.protobuf.ByteString
|
|
getPushGotoBytes() {
|
|
java.lang.Object ref = pushGoto_;
|
|
if (ref instanceof java.lang.String) {
|
|
com.google.protobuf.ByteString b =
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
(java.lang.String) ref);
|
|
pushGoto_ = 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 (!getSubtitleBytes().isEmpty()) {
|
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subtitle_);
|
|
}
|
|
if (!getContentBytes().isEmpty()) {
|
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, content_);
|
|
}
|
|
if (!getPushGotoBytes().isEmpty()) {
|
|
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pushGoto_);
|
|
}
|
|
unknownFields.writeTo(output);
|
|
}
|
|
|
|
public int getSerializedSize() {
|
|
int size = memoizedSize;
|
|
if (size != -1) return size;
|
|
|
|
size = 0;
|
|
if (!getSubtitleBytes().isEmpty()) {
|
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subtitle_);
|
|
}
|
|
if (!getContentBytes().isEmpty()) {
|
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, content_);
|
|
}
|
|
if (!getPushGotoBytes().isEmpty()) {
|
|
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pushGoto_);
|
|
}
|
|
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.plugin.HaiPushNoticesProto.HaiPushNoticesRequest)) {
|
|
return super.equals(obj);
|
|
}
|
|
com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest other = (com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest) obj;
|
|
|
|
boolean result = true;
|
|
result = result && getSubtitle()
|
|
.equals(other.getSubtitle());
|
|
result = result && getContent()
|
|
.equals(other.getContent());
|
|
result = result && getPushGoto()
|
|
.equals(other.getPushGoto());
|
|
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) + SUBTITLE_FIELD_NUMBER;
|
|
hash = (53 * hash) + getSubtitle().hashCode();
|
|
hash = (37 * hash) + CONTENT_FIELD_NUMBER;
|
|
hash = (53 * hash) + getContent().hashCode();
|
|
hash = (37 * hash) + PUSH_GOTO_FIELD_NUMBER;
|
|
hash = (53 * hash) + getPushGoto().hashCode();
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
}
|
|
|
|
public static com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest parseFrom(
|
|
java.nio.ByteBuffer data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest 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.plugin.HaiPushNoticesProto.HaiPushNoticesRequest parseFrom(
|
|
com.google.protobuf.ByteString data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest 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.plugin.HaiPushNoticesProto.HaiPushNoticesRequest parseFrom(byte[] data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest parseFrom(
|
|
byte[] data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest parseFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest 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.plugin.HaiPushNoticesProto.HaiPushNoticesRequest parseDelimitedFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input);
|
|
}
|
|
public static com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest 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.plugin.HaiPushNoticesProto.HaiPushNoticesRequest parseFrom(
|
|
com.google.protobuf.CodedInputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest 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.plugin.HaiPushNoticesProto.HaiPushNoticesRequest 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;
|
|
}
|
|
/**
|
|
* <pre>
|
|
**
|
|
*向全员推送消息通知
|
|
*----
|
|
*接口名
|
|
*----
|
|
* /hai/push/notices
|
|
*错误码
|
|
*----
|
|
* success
|
|
* error.alert
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code plugin.HaiPushNoticesRequest}
|
|
*/
|
|
public static final class Builder extends
|
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
// @@protoc_insertion_point(builder_implements:plugin.HaiPushNoticesRequest)
|
|
com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequestOrBuilder {
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return com.akaxin.proto.plugin.HaiPushNoticesProto.internal_static_plugin_HaiPushNoticesRequest_descriptor;
|
|
}
|
|
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return com.akaxin.proto.plugin.HaiPushNoticesProto.internal_static_plugin_HaiPushNoticesRequest_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest.class, com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest.Builder.class);
|
|
}
|
|
|
|
// Construct using com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest.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();
|
|
subtitle_ = "";
|
|
|
|
content_ = "";
|
|
|
|
pushGoto_ = "";
|
|
|
|
return this;
|
|
}
|
|
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptorForType() {
|
|
return com.akaxin.proto.plugin.HaiPushNoticesProto.internal_static_plugin_HaiPushNoticesRequest_descriptor;
|
|
}
|
|
|
|
public com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest getDefaultInstanceForType() {
|
|
return com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest.getDefaultInstance();
|
|
}
|
|
|
|
public com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest build() {
|
|
com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest result = buildPartial();
|
|
if (!result.isInitialized()) {
|
|
throw newUninitializedMessageException(result);
|
|
}
|
|
return result;
|
|
}
|
|
|
|
public com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest buildPartial() {
|
|
com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest result = new com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest(this);
|
|
result.subtitle_ = subtitle_;
|
|
result.content_ = content_;
|
|
result.pushGoto_ = pushGoto_;
|
|
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.plugin.HaiPushNoticesProto.HaiPushNoticesRequest) {
|
|
return mergeFrom((com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest)other);
|
|
} else {
|
|
super.mergeFrom(other);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public Builder mergeFrom(com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest other) {
|
|
if (other == com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest.getDefaultInstance()) return this;
|
|
if (!other.getSubtitle().isEmpty()) {
|
|
subtitle_ = other.subtitle_;
|
|
onChanged();
|
|
}
|
|
if (!other.getContent().isEmpty()) {
|
|
content_ = other.content_;
|
|
onChanged();
|
|
}
|
|
if (!other.getPushGoto().isEmpty()) {
|
|
pushGoto_ = other.pushGoto_;
|
|
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.plugin.HaiPushNoticesProto.HaiPushNoticesRequest parsedMessage = null;
|
|
try {
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
parsedMessage = (com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest) e.getUnfinishedMessage();
|
|
throw e.unwrapIOException();
|
|
} finally {
|
|
if (parsedMessage != null) {
|
|
mergeFrom(parsedMessage);
|
|
}
|
|
}
|
|
return this;
|
|
}
|
|
|
|
private java.lang.Object subtitle_ = "";
|
|
/**
|
|
* <pre>
|
|
*push通知的title(副标题),客户端主标题展示站点名称
|
|
* </pre>
|
|
*
|
|
* <code>string subtitle = 1;</code>
|
|
*/
|
|
public java.lang.String getSubtitle() {
|
|
java.lang.Object ref = subtitle_;
|
|
if (!(ref instanceof java.lang.String)) {
|
|
com.google.protobuf.ByteString bs =
|
|
(com.google.protobuf.ByteString) ref;
|
|
java.lang.String s = bs.toStringUtf8();
|
|
subtitle_ = s;
|
|
return s;
|
|
} else {
|
|
return (java.lang.String) ref;
|
|
}
|
|
}
|
|
/**
|
|
* <pre>
|
|
*push通知的title(副标题),客户端主标题展示站点名称
|
|
* </pre>
|
|
*
|
|
* <code>string subtitle = 1;</code>
|
|
*/
|
|
public com.google.protobuf.ByteString
|
|
getSubtitleBytes() {
|
|
java.lang.Object ref = subtitle_;
|
|
if (ref instanceof String) {
|
|
com.google.protobuf.ByteString b =
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
(java.lang.String) ref);
|
|
subtitle_ = b;
|
|
return b;
|
|
} else {
|
|
return (com.google.protobuf.ByteString) ref;
|
|
}
|
|
}
|
|
/**
|
|
* <pre>
|
|
*push通知的title(副标题),客户端主标题展示站点名称
|
|
* </pre>
|
|
*
|
|
* <code>string subtitle = 1;</code>
|
|
*/
|
|
public Builder setSubtitle(
|
|
java.lang.String value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
|
|
subtitle_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <pre>
|
|
*push通知的title(副标题),客户端主标题展示站点名称
|
|
* </pre>
|
|
*
|
|
* <code>string subtitle = 1;</code>
|
|
*/
|
|
public Builder clearSubtitle() {
|
|
|
|
subtitle_ = getDefaultInstance().getSubtitle();
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <pre>
|
|
*push通知的title(副标题),客户端主标题展示站点名称
|
|
* </pre>
|
|
*
|
|
* <code>string subtitle = 1;</code>
|
|
*/
|
|
public Builder setSubtitleBytes(
|
|
com.google.protobuf.ByteString value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
checkByteStringIsUtf8(value);
|
|
|
|
subtitle_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private java.lang.Object content_ = "";
|
|
/**
|
|
* <pre>
|
|
*通知的内容
|
|
* </pre>
|
|
*
|
|
* <code>string content = 2;</code>
|
|
*/
|
|
public java.lang.String getContent() {
|
|
java.lang.Object ref = content_;
|
|
if (!(ref instanceof java.lang.String)) {
|
|
com.google.protobuf.ByteString bs =
|
|
(com.google.protobuf.ByteString) ref;
|
|
java.lang.String s = bs.toStringUtf8();
|
|
content_ = s;
|
|
return s;
|
|
} else {
|
|
return (java.lang.String) ref;
|
|
}
|
|
}
|
|
/**
|
|
* <pre>
|
|
*通知的内容
|
|
* </pre>
|
|
*
|
|
* <code>string content = 2;</code>
|
|
*/
|
|
public com.google.protobuf.ByteString
|
|
getContentBytes() {
|
|
java.lang.Object ref = content_;
|
|
if (ref instanceof String) {
|
|
com.google.protobuf.ByteString b =
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
(java.lang.String) ref);
|
|
content_ = b;
|
|
return b;
|
|
} else {
|
|
return (com.google.protobuf.ByteString) ref;
|
|
}
|
|
}
|
|
/**
|
|
* <pre>
|
|
*通知的内容
|
|
* </pre>
|
|
*
|
|
* <code>string content = 2;</code>
|
|
*/
|
|
public Builder setContent(
|
|
java.lang.String value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
|
|
content_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <pre>
|
|
*通知的内容
|
|
* </pre>
|
|
*
|
|
* <code>string content = 2;</code>
|
|
*/
|
|
public Builder clearContent() {
|
|
|
|
content_ = getDefaultInstance().getContent();
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <pre>
|
|
*通知的内容
|
|
* </pre>
|
|
*
|
|
* <code>string content = 2;</code>
|
|
*/
|
|
public Builder setContentBytes(
|
|
com.google.protobuf.ByteString value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
checkByteStringIsUtf8(value);
|
|
|
|
content_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private java.lang.Object pushGoto_ = "";
|
|
/**
|
|
* <pre>
|
|
*通知的跳转,可以为空。
|
|
* </pre>
|
|
*
|
|
* <code>string push_goto = 3;</code>
|
|
*/
|
|
public java.lang.String getPushGoto() {
|
|
java.lang.Object ref = pushGoto_;
|
|
if (!(ref instanceof java.lang.String)) {
|
|
com.google.protobuf.ByteString bs =
|
|
(com.google.protobuf.ByteString) ref;
|
|
java.lang.String s = bs.toStringUtf8();
|
|
pushGoto_ = s;
|
|
return s;
|
|
} else {
|
|
return (java.lang.String) ref;
|
|
}
|
|
}
|
|
/**
|
|
* <pre>
|
|
*通知的跳转,可以为空。
|
|
* </pre>
|
|
*
|
|
* <code>string push_goto = 3;</code>
|
|
*/
|
|
public com.google.protobuf.ByteString
|
|
getPushGotoBytes() {
|
|
java.lang.Object ref = pushGoto_;
|
|
if (ref instanceof String) {
|
|
com.google.protobuf.ByteString b =
|
|
com.google.protobuf.ByteString.copyFromUtf8(
|
|
(java.lang.String) ref);
|
|
pushGoto_ = b;
|
|
return b;
|
|
} else {
|
|
return (com.google.protobuf.ByteString) ref;
|
|
}
|
|
}
|
|
/**
|
|
* <pre>
|
|
*通知的跳转,可以为空。
|
|
* </pre>
|
|
*
|
|
* <code>string push_goto = 3;</code>
|
|
*/
|
|
public Builder setPushGoto(
|
|
java.lang.String value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
|
|
pushGoto_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <pre>
|
|
*通知的跳转,可以为空。
|
|
* </pre>
|
|
*
|
|
* <code>string push_goto = 3;</code>
|
|
*/
|
|
public Builder clearPushGoto() {
|
|
|
|
pushGoto_ = getDefaultInstance().getPushGoto();
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <pre>
|
|
*通知的跳转,可以为空。
|
|
* </pre>
|
|
*
|
|
* <code>string push_goto = 3;</code>
|
|
*/
|
|
public Builder setPushGotoBytes(
|
|
com.google.protobuf.ByteString value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
checkByteStringIsUtf8(value);
|
|
|
|
pushGoto_ = 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:plugin.HaiPushNoticesRequest)
|
|
}
|
|
|
|
// @@protoc_insertion_point(class_scope:plugin.HaiPushNoticesRequest)
|
|
private static final com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest DEFAULT_INSTANCE;
|
|
static {
|
|
DEFAULT_INSTANCE = new com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest();
|
|
}
|
|
|
|
public static com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
private static final com.google.protobuf.Parser<HaiPushNoticesRequest>
|
|
PARSER = new com.google.protobuf.AbstractParser<HaiPushNoticesRequest>() {
|
|
public HaiPushNoticesRequest parsePartialFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return new HaiPushNoticesRequest(input, extensionRegistry);
|
|
}
|
|
};
|
|
|
|
public static com.google.protobuf.Parser<HaiPushNoticesRequest> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<HaiPushNoticesRequest> getParserForType() {
|
|
return PARSER;
|
|
}
|
|
|
|
public com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesRequest getDefaultInstanceForType() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
}
|
|
|
|
public interface HaiPushNoticesResponseOrBuilder extends
|
|
// @@protoc_insertion_point(interface_extends:plugin.HaiPushNoticesResponse)
|
|
com.google.protobuf.MessageOrBuilder {
|
|
}
|
|
/**
|
|
* Protobuf type {@code plugin.HaiPushNoticesResponse}
|
|
*/
|
|
public static final class HaiPushNoticesResponse extends
|
|
com.google.protobuf.GeneratedMessageV3 implements
|
|
// @@protoc_insertion_point(message_implements:plugin.HaiPushNoticesResponse)
|
|
HaiPushNoticesResponseOrBuilder {
|
|
private static final long serialVersionUID = 0L;
|
|
// Use HaiPushNoticesResponse.newBuilder() to construct.
|
|
private HaiPushNoticesResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
super(builder);
|
|
}
|
|
private HaiPushNoticesResponse() {
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
getUnknownFields() {
|
|
return this.unknownFields;
|
|
}
|
|
private HaiPushNoticesResponse(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
this();
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
} 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.plugin.HaiPushNoticesProto.internal_static_plugin_HaiPushNoticesResponse_descriptor;
|
|
}
|
|
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return com.akaxin.proto.plugin.HaiPushNoticesProto.internal_static_plugin_HaiPushNoticesResponse_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse.class, com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse.Builder.class);
|
|
}
|
|
|
|
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 {
|
|
unknownFields.writeTo(output);
|
|
}
|
|
|
|
public int getSerializedSize() {
|
|
int size = memoizedSize;
|
|
if (size != -1) return size;
|
|
|
|
size = 0;
|
|
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.plugin.HaiPushNoticesProto.HaiPushNoticesResponse)) {
|
|
return super.equals(obj);
|
|
}
|
|
com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse other = (com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse) obj;
|
|
|
|
boolean result = true;
|
|
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 = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
}
|
|
|
|
public static com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse parseFrom(
|
|
java.nio.ByteBuffer data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse 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.plugin.HaiPushNoticesProto.HaiPushNoticesResponse parseFrom(
|
|
com.google.protobuf.ByteString data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse 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.plugin.HaiPushNoticesProto.HaiPushNoticesResponse parseFrom(byte[] data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse parseFrom(
|
|
byte[] data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse parseFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse 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.plugin.HaiPushNoticesProto.HaiPushNoticesResponse parseDelimitedFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input);
|
|
}
|
|
public static com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse 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.plugin.HaiPushNoticesProto.HaiPushNoticesResponse parseFrom(
|
|
com.google.protobuf.CodedInputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse 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.plugin.HaiPushNoticesProto.HaiPushNoticesResponse 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 plugin.HaiPushNoticesResponse}
|
|
*/
|
|
public static final class Builder extends
|
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
// @@protoc_insertion_point(builder_implements:plugin.HaiPushNoticesResponse)
|
|
com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponseOrBuilder {
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return com.akaxin.proto.plugin.HaiPushNoticesProto.internal_static_plugin_HaiPushNoticesResponse_descriptor;
|
|
}
|
|
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return com.akaxin.proto.plugin.HaiPushNoticesProto.internal_static_plugin_HaiPushNoticesResponse_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse.class, com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse.Builder.class);
|
|
}
|
|
|
|
// Construct using com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse.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();
|
|
return this;
|
|
}
|
|
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptorForType() {
|
|
return com.akaxin.proto.plugin.HaiPushNoticesProto.internal_static_plugin_HaiPushNoticesResponse_descriptor;
|
|
}
|
|
|
|
public com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse getDefaultInstanceForType() {
|
|
return com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse.getDefaultInstance();
|
|
}
|
|
|
|
public com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse build() {
|
|
com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse result = buildPartial();
|
|
if (!result.isInitialized()) {
|
|
throw newUninitializedMessageException(result);
|
|
}
|
|
return result;
|
|
}
|
|
|
|
public com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse buildPartial() {
|
|
com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse result = new com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse(this);
|
|
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.plugin.HaiPushNoticesProto.HaiPushNoticesResponse) {
|
|
return mergeFrom((com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse)other);
|
|
} else {
|
|
super.mergeFrom(other);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public Builder mergeFrom(com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse other) {
|
|
if (other == com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse.getDefaultInstance()) return this;
|
|
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.plugin.HaiPushNoticesProto.HaiPushNoticesResponse parsedMessage = null;
|
|
try {
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
parsedMessage = (com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse) e.getUnfinishedMessage();
|
|
throw e.unwrapIOException();
|
|
} finally {
|
|
if (parsedMessage != null) {
|
|
mergeFrom(parsedMessage);
|
|
}
|
|
}
|
|
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:plugin.HaiPushNoticesResponse)
|
|
}
|
|
|
|
// @@protoc_insertion_point(class_scope:plugin.HaiPushNoticesResponse)
|
|
private static final com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse DEFAULT_INSTANCE;
|
|
static {
|
|
DEFAULT_INSTANCE = new com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse();
|
|
}
|
|
|
|
public static com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
private static final com.google.protobuf.Parser<HaiPushNoticesResponse>
|
|
PARSER = new com.google.protobuf.AbstractParser<HaiPushNoticesResponse>() {
|
|
public HaiPushNoticesResponse parsePartialFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return new HaiPushNoticesResponse(input, extensionRegistry);
|
|
}
|
|
};
|
|
|
|
public static com.google.protobuf.Parser<HaiPushNoticesResponse> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<HaiPushNoticesResponse> getParserForType() {
|
|
return PARSER;
|
|
}
|
|
|
|
public com.akaxin.proto.plugin.HaiPushNoticesProto.HaiPushNoticesResponse getDefaultInstanceForType() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
}
|
|
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_plugin_HaiPushNoticesRequest_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_plugin_HaiPushNoticesRequest_fieldAccessorTable;
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_plugin_HaiPushNoticesResponse_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_plugin_HaiPushNoticesResponse_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\035plugin/hai_push_notices.proto\022\006plugin\"" +
|
|
"M\n\025HaiPushNoticesRequest\022\020\n\010subtitle\030\001 \001" +
|
|
"(\t\022\017\n\007content\030\002 \001(\t\022\021\n\tpush_goto\030\003 \001(\t\"\030" +
|
|
"\n\026HaiPushNoticesResponse2a\n\025HaiPushNotic" +
|
|
"esService\022H\n\007notices\022\035.plugin.HaiPushNot" +
|
|
"icesRequest\032\036.plugin.HaiPushNoticesRespo" +
|
|
"nseB.\n\027com.akaxin.proto.pluginB\023HaiPushN" +
|
|
"oticesProtob\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[] {
|
|
}, assigner);
|
|
internal_static_plugin_HaiPushNoticesRequest_descriptor =
|
|
getDescriptor().getMessageTypes().get(0);
|
|
internal_static_plugin_HaiPushNoticesRequest_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_plugin_HaiPushNoticesRequest_descriptor,
|
|
new java.lang.String[] { "Subtitle", "Content", "PushGoto", });
|
|
internal_static_plugin_HaiPushNoticesResponse_descriptor =
|
|
getDescriptor().getMessageTypes().get(1);
|
|
internal_static_plugin_HaiPushNoticesResponse_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_plugin_HaiPushNoticesResponse_descriptor,
|
|
new java.lang.String[] { });
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|