// Generated by the protocol buffer compiler. DO NOT EDIT! // source: client/im_ptc_push.proto package com.akaxin.proto.client; public final class ImPtcPushProto { private ImPtcPushProto() {} 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 ImPtcPushRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:platform.ImPtcPushRequest) com.google.protobuf.MessageOrBuilder { /** *
*站点服务demo.akaxin.com:2021 ** *
string site_server = 1;
*/
java.lang.String getSiteServer();
/**
* *站点服务demo.akaxin.com:2021 ** *
string site_server = 1;
*/
com.google.protobuf.ByteString
getSiteServerBytes();
/**
* *展示的title ** *
string push_title = 2;
*/
java.lang.String getPushTitle();
/**
* *展示的title ** *
string push_title = 2;
*/
com.google.protobuf.ByteString
getPushTitleBytes();
/**
* *展示的文案 ** *
string push_alert = 3;
*/
java.lang.String getPushAlert();
/**
* *展示的文案 ** *
string push_alert = 3;
*/
com.google.protobuf.ByteString
getPushAlertBytes();
/**
* *Push跳转位置 ** *
string push_jump = 4;
*/
java.lang.String getPushJump();
/**
* *Push跳转位置 ** *
string push_jump = 4;
*/
com.google.protobuf.ByteString
getPushJumpBytes();
/**
* *气泡展示个数 ** *
int32 push_badge = 5;
*/
int getPushBadge();
/**
* *气泡声音 ** *
string push_sound = 6;
*/
java.lang.String getPushSound();
/**
* *气泡声音 ** *
string push_sound = 6;
*/
com.google.protobuf.ByteString
getPushSoundBytes();
}
/**
* Protobuf type {@code platform.ImPtcPushRequest}
*/
public static final class ImPtcPushRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:platform.ImPtcPushRequest)
ImPtcPushRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ImPtcPushRequest.newBuilder() to construct.
private ImPtcPushRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ImPtcPushRequest() {
siteServer_ = "";
pushTitle_ = "";
pushAlert_ = "";
pushJump_ = "";
pushBadge_ = 0;
pushSound_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ImPtcPushRequest(
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();
siteServer_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
pushTitle_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
pushAlert_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
pushJump_ = s;
break;
}
case 40: {
pushBadge_ = input.readInt32();
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
pushSound_ = 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.client.ImPtcPushProto.internal_static_platform_ImPtcPushRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.akaxin.proto.client.ImPtcPushProto.internal_static_platform_ImPtcPushRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.akaxin.proto.client.ImPtcPushProto.ImPtcPushRequest.class, com.akaxin.proto.client.ImPtcPushProto.ImPtcPushRequest.Builder.class);
}
public static final int SITE_SERVER_FIELD_NUMBER = 1;
private volatile java.lang.Object siteServer_;
/**
* *站点服务demo.akaxin.com:2021 ** *
string site_server = 1;
*/
public java.lang.String getSiteServer() {
java.lang.Object ref = siteServer_;
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();
siteServer_ = s;
return s;
}
}
/**
* *站点服务demo.akaxin.com:2021 ** *
string site_server = 1;
*/
public com.google.protobuf.ByteString
getSiteServerBytes() {
java.lang.Object ref = siteServer_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
siteServer_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PUSH_TITLE_FIELD_NUMBER = 2;
private volatile java.lang.Object pushTitle_;
/**
* *展示的title ** *
string push_title = 2;
*/
public java.lang.String getPushTitle() {
java.lang.Object ref = pushTitle_;
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();
pushTitle_ = s;
return s;
}
}
/**
* *展示的title ** *
string push_title = 2;
*/
public com.google.protobuf.ByteString
getPushTitleBytes() {
java.lang.Object ref = pushTitle_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pushTitle_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PUSH_ALERT_FIELD_NUMBER = 3;
private volatile java.lang.Object pushAlert_;
/**
* *展示的文案 ** *
string push_alert = 3;
*/
public java.lang.String getPushAlert() {
java.lang.Object ref = pushAlert_;
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();
pushAlert_ = s;
return s;
}
}
/**
* *展示的文案 ** *
string push_alert = 3;
*/
public com.google.protobuf.ByteString
getPushAlertBytes() {
java.lang.Object ref = pushAlert_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pushAlert_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PUSH_JUMP_FIELD_NUMBER = 4;
private volatile java.lang.Object pushJump_;
/**
* *Push跳转位置 ** *
string push_jump = 4;
*/
public java.lang.String getPushJump() {
java.lang.Object ref = pushJump_;
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();
pushJump_ = s;
return s;
}
}
/**
* *Push跳转位置 ** *
string push_jump = 4;
*/
public com.google.protobuf.ByteString
getPushJumpBytes() {
java.lang.Object ref = pushJump_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pushJump_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PUSH_BADGE_FIELD_NUMBER = 5;
private int pushBadge_;
/**
* *气泡展示个数 ** *
int32 push_badge = 5;
*/
public int getPushBadge() {
return pushBadge_;
}
public static final int PUSH_SOUND_FIELD_NUMBER = 6;
private volatile java.lang.Object pushSound_;
/**
* *气泡声音 ** *
string push_sound = 6;
*/
public java.lang.String getPushSound() {
java.lang.Object ref = pushSound_;
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();
pushSound_ = s;
return s;
}
}
/**
* *气泡声音 ** *
string push_sound = 6;
*/
public com.google.protobuf.ByteString
getPushSoundBytes() {
java.lang.Object ref = pushSound_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pushSound_ = 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 (!getSiteServerBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, siteServer_);
}
if (!getPushTitleBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pushTitle_);
}
if (!getPushAlertBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pushAlert_);
}
if (!getPushJumpBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pushJump_);
}
if (pushBadge_ != 0) {
output.writeInt32(5, pushBadge_);
}
if (!getPushSoundBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, pushSound_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getSiteServerBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, siteServer_);
}
if (!getPushTitleBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pushTitle_);
}
if (!getPushAlertBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pushAlert_);
}
if (!getPushJumpBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pushJump_);
}
if (pushBadge_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, pushBadge_);
}
if (!getPushSoundBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, pushSound_);
}
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.client.ImPtcPushProto.ImPtcPushRequest)) {
return super.equals(obj);
}
com.akaxin.proto.client.ImPtcPushProto.ImPtcPushRequest other = (com.akaxin.proto.client.ImPtcPushProto.ImPtcPushRequest) obj;
boolean result = true;
result = result && getSiteServer()
.equals(other.getSiteServer());
result = result && getPushTitle()
.equals(other.getPushTitle());
result = result && getPushAlert()
.equals(other.getPushAlert());
result = result && getPushJump()
.equals(other.getPushJump());
result = result && (getPushBadge()
== other.getPushBadge());
result = result && getPushSound()
.equals(other.getPushSound());
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_SERVER_FIELD_NUMBER;
hash = (53 * hash) + getSiteServer().hashCode();
hash = (37 * hash) + PUSH_TITLE_FIELD_NUMBER;
hash = (53 * hash) + getPushTitle().hashCode();
hash = (37 * hash) + PUSH_ALERT_FIELD_NUMBER;
hash = (53 * hash) + getPushAlert().hashCode();
hash = (37 * hash) + PUSH_JUMP_FIELD_NUMBER;
hash = (53 * hash) + getPushJump().hashCode();
hash = (37 * hash) + PUSH_BADGE_FIELD_NUMBER;
hash = (53 * hash) + getPushBadge();
hash = (37 * hash) + PUSH_SOUND_FIELD_NUMBER;
hash = (53 * hash) + getPushSound().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.akaxin.proto.client.ImPtcPushProto.ImPtcPushRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.client.ImPtcPushProto.ImPtcPushRequest 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.client.ImPtcPushProto.ImPtcPushRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.client.ImPtcPushProto.ImPtcPushRequest 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.client.ImPtcPushProto.ImPtcPushRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.akaxin.proto.client.ImPtcPushProto.ImPtcPushRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.akaxin.proto.client.ImPtcPushProto.ImPtcPushRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.client.ImPtcPushProto.ImPtcPushRequest 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.client.ImPtcPushProto.ImPtcPushRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.akaxin.proto.client.ImPtcPushProto.ImPtcPushRequest 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.client.ImPtcPushProto.ImPtcPushRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.akaxin.proto.client.ImPtcPushProto.ImPtcPushRequest 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.client.ImPtcPushProto.ImPtcPushRequest 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 platform.ImPtcPushRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder*站点服务demo.akaxin.com:2021 ** *
string site_server = 1;
*/
public java.lang.String getSiteServer() {
java.lang.Object ref = siteServer_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
siteServer_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* *站点服务demo.akaxin.com:2021 ** *
string site_server = 1;
*/
public com.google.protobuf.ByteString
getSiteServerBytes() {
java.lang.Object ref = siteServer_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
siteServer_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* *站点服务demo.akaxin.com:2021 ** *
string site_server = 1;
*/
public Builder setSiteServer(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
siteServer_ = value;
onChanged();
return this;
}
/**
* *站点服务demo.akaxin.com:2021 ** *
string site_server = 1;
*/
public Builder clearSiteServer() {
siteServer_ = getDefaultInstance().getSiteServer();
onChanged();
return this;
}
/**
* *站点服务demo.akaxin.com:2021 ** *
string site_server = 1;
*/
public Builder setSiteServerBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
siteServer_ = value;
onChanged();
return this;
}
private java.lang.Object pushTitle_ = "";
/**
* *展示的title ** *
string push_title = 2;
*/
public java.lang.String getPushTitle() {
java.lang.Object ref = pushTitle_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
pushTitle_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* *展示的title ** *
string push_title = 2;
*/
public com.google.protobuf.ByteString
getPushTitleBytes() {
java.lang.Object ref = pushTitle_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pushTitle_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* *展示的title ** *
string push_title = 2;
*/
public Builder setPushTitle(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
pushTitle_ = value;
onChanged();
return this;
}
/**
* *展示的title ** *
string push_title = 2;
*/
public Builder clearPushTitle() {
pushTitle_ = getDefaultInstance().getPushTitle();
onChanged();
return this;
}
/**
* *展示的title ** *
string push_title = 2;
*/
public Builder setPushTitleBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
pushTitle_ = value;
onChanged();
return this;
}
private java.lang.Object pushAlert_ = "";
/**
* *展示的文案 ** *
string push_alert = 3;
*/
public java.lang.String getPushAlert() {
java.lang.Object ref = pushAlert_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
pushAlert_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* *展示的文案 ** *
string push_alert = 3;
*/
public com.google.protobuf.ByteString
getPushAlertBytes() {
java.lang.Object ref = pushAlert_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pushAlert_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* *展示的文案 ** *
string push_alert = 3;
*/
public Builder setPushAlert(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
pushAlert_ = value;
onChanged();
return this;
}
/**
* *展示的文案 ** *
string push_alert = 3;
*/
public Builder clearPushAlert() {
pushAlert_ = getDefaultInstance().getPushAlert();
onChanged();
return this;
}
/**
* *展示的文案 ** *
string push_alert = 3;
*/
public Builder setPushAlertBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
pushAlert_ = value;
onChanged();
return this;
}
private java.lang.Object pushJump_ = "";
/**
* *Push跳转位置 ** *
string push_jump = 4;
*/
public java.lang.String getPushJump() {
java.lang.Object ref = pushJump_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
pushJump_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* *Push跳转位置 ** *
string push_jump = 4;
*/
public com.google.protobuf.ByteString
getPushJumpBytes() {
java.lang.Object ref = pushJump_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pushJump_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* *Push跳转位置 ** *
string push_jump = 4;
*/
public Builder setPushJump(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
pushJump_ = value;
onChanged();
return this;
}
/**
* *Push跳转位置 ** *
string push_jump = 4;
*/
public Builder clearPushJump() {
pushJump_ = getDefaultInstance().getPushJump();
onChanged();
return this;
}
/**
* *Push跳转位置 ** *
string push_jump = 4;
*/
public Builder setPushJumpBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
pushJump_ = value;
onChanged();
return this;
}
private int pushBadge_ ;
/**
* *气泡展示个数 ** *
int32 push_badge = 5;
*/
public int getPushBadge() {
return pushBadge_;
}
/**
* *气泡展示个数 ** *
int32 push_badge = 5;
*/
public Builder setPushBadge(int value) {
pushBadge_ = value;
onChanged();
return this;
}
/**
* *气泡展示个数 ** *
int32 push_badge = 5;
*/
public Builder clearPushBadge() {
pushBadge_ = 0;
onChanged();
return this;
}
private java.lang.Object pushSound_ = "";
/**
* *气泡声音 ** *
string push_sound = 6;
*/
public java.lang.String getPushSound() {
java.lang.Object ref = pushSound_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
pushSound_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* *气泡声音 ** *
string push_sound = 6;
*/
public com.google.protobuf.ByteString
getPushSoundBytes() {
java.lang.Object ref = pushSound_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pushSound_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* *气泡声音 ** *
string push_sound = 6;
*/
public Builder setPushSound(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
pushSound_ = value;
onChanged();
return this;
}
/**
* *气泡声音 ** *
string push_sound = 6;
*/
public Builder clearPushSound() {
pushSound_ = getDefaultInstance().getPushSound();
onChanged();
return this;
}
/**
* *气泡声音 ** *
string push_sound = 6;
*/
public Builder setPushSoundBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
pushSound_ = 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:platform.ImPtcPushRequest)
}
// @@protoc_insertion_point(class_scope:platform.ImPtcPushRequest)
private static final com.akaxin.proto.client.ImPtcPushProto.ImPtcPushRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.akaxin.proto.client.ImPtcPushProto.ImPtcPushRequest();
}
public static com.akaxin.proto.client.ImPtcPushProto.ImPtcPushRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser