// 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 { /** *
*push通知的title(副标题),客户端主标题展示站点名称 ** *
string subtitle = 1;
*/
java.lang.String getSubtitle();
/**
* *push通知的title(副标题),客户端主标题展示站点名称 ** *
string subtitle = 1;
*/
com.google.protobuf.ByteString
getSubtitleBytes();
/**
* *通知的内容 ** *
string content = 2;
*/
java.lang.String getContent();
/**
* *通知的内容 ** *
string content = 2;
*/
com.google.protobuf.ByteString
getContentBytes();
/**
* *通知的跳转,可以为空。 ** *
string push_goto = 3;
*/
java.lang.String getPushGoto();
/**
* *通知的跳转,可以为空。 ** *
string push_goto = 3;
*/
com.google.protobuf.ByteString
getPushGotoBytes();
}
/**
* ** *向全员推送消息通知 *---- *接口名 *---- * /hai/push/notices *错误码 *---- * success * error.alert ** * 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_; /** *
*push通知的title(副标题),客户端主标题展示站点名称 ** *
string subtitle = 1;
*/
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;
}
}
/**
* *push通知的title(副标题),客户端主标题展示站点名称 ** *
string subtitle = 1;
*/
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_;
/**
* *通知的内容 ** *
string content = 2;
*/
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;
}
}
/**
* *通知的内容 ** *
string content = 2;
*/
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_;
/**
* *通知的跳转,可以为空。 ** *
string push_goto = 3;
*/
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;
}
}
/**
* *通知的跳转,可以为空。 ** *
string push_goto = 3;
*/
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;
}
/**
* ** *向全员推送消息通知 *---- *接口名 *---- * /hai/push/notices *错误码 *---- * success * error.alert ** * Protobuf type {@code plugin.HaiPushNoticesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
*push通知的title(副标题),客户端主标题展示站点名称 ** *
string subtitle = 1;
*/
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;
}
}
/**
* *push通知的title(副标题),客户端主标题展示站点名称 ** *
string subtitle = 1;
*/
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;
}
}
/**
* *push通知的title(副标题),客户端主标题展示站点名称 ** *
string subtitle = 1;
*/
public Builder setSubtitle(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
subtitle_ = value;
onChanged();
return this;
}
/**
* *push通知的title(副标题),客户端主标题展示站点名称 ** *
string subtitle = 1;
*/
public Builder clearSubtitle() {
subtitle_ = getDefaultInstance().getSubtitle();
onChanged();
return this;
}
/**
* *push通知的title(副标题),客户端主标题展示站点名称 ** *
string subtitle = 1;
*/
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_ = "";
/**
* *通知的内容 ** *
string content = 2;
*/
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;
}
}
/**
* *通知的内容 ** *
string content = 2;
*/
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;
}
}
/**
* *通知的内容 ** *
string content = 2;
*/
public Builder setContent(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
content_ = value;
onChanged();
return this;
}
/**
* *通知的内容 ** *
string content = 2;
*/
public Builder clearContent() {
content_ = getDefaultInstance().getContent();
onChanged();
return this;
}
/**
* *通知的内容 ** *
string content = 2;
*/
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_ = "";
/**
* *通知的跳转,可以为空。 ** *
string push_goto = 3;
*/
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;
}
}
/**
* *通知的跳转,可以为空。 ** *
string push_goto = 3;
*/
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;
}
}
/**
* *通知的跳转,可以为空。 ** *
string push_goto = 3;
*/
public Builder setPushGoto(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
pushGoto_ = value;
onChanged();
return this;
}
/**
* *通知的跳转,可以为空。 ** *
string push_goto = 3;
*/
public Builder clearPushGoto() {
pushGoto_ = getDefaultInstance().getPushGoto();
onChanged();
return this;
}
/**
* *通知的跳转,可以为空。 ** *
string push_goto = 3;
*/
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