
wechat.protobuf.CDNClientConfig Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: wechat.proto
package wechat.protobuf;
/**
* Protobuf type {@code wechat_proto.CDNClientConfig}
*/
public final class CDNClientConfig extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:wechat_proto.CDNClientConfig)
CDNClientConfigOrBuilder {
private static final long serialVersionUID = 0L;
// Use CDNClientConfig.newBuilder() to construct.
private CDNClientConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CDNClientConfig() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CDNClientConfig();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CDNClientConfig(
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;
case 8: {
bitField0_ |= 0x00000001;
c2CshowErrorDelayMs_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
snsshowErrorDelayMs_ = input.readInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
c2CretryInterval_ = input.readInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
snsretryInterval_ = input.readInt32();
break;
}
case 40: {
bitField0_ |= 0x00000010;
c2Crwtimeout_ = input.readInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
snsrwtimeout_ = input.readInt32();
break;
}
default: {
if (!parseUnknownField(
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 wechat.protobuf.Wechat.internal_static_wechat_proto_CDNClientConfig_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_CDNClientConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.CDNClientConfig.class, wechat.protobuf.CDNClientConfig.Builder.class);
}
private int bitField0_;
public static final int C2CSHOWERRORDELAYMS_FIELD_NUMBER = 1;
private int c2CshowErrorDelayMs_;
/**
* optional int32 c2CshowErrorDelayMs = 1;
* @return Whether the c2CshowErrorDelayMs field is set.
*/
@java.lang.Override
public boolean hasC2CshowErrorDelayMs() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 c2CshowErrorDelayMs = 1;
* @return The c2CshowErrorDelayMs.
*/
@java.lang.Override
public int getC2CshowErrorDelayMs() {
return c2CshowErrorDelayMs_;
}
public static final int SNSSHOWERRORDELAYMS_FIELD_NUMBER = 2;
private int snsshowErrorDelayMs_;
/**
* optional int32 snsshowErrorDelayMs = 2;
* @return Whether the snsshowErrorDelayMs field is set.
*/
@java.lang.Override
public boolean hasSnsshowErrorDelayMs() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int32 snsshowErrorDelayMs = 2;
* @return The snsshowErrorDelayMs.
*/
@java.lang.Override
public int getSnsshowErrorDelayMs() {
return snsshowErrorDelayMs_;
}
public static final int C2CRETRYINTERVAL_FIELD_NUMBER = 3;
private int c2CretryInterval_;
/**
* optional int32 c2CretryInterval = 3;
* @return Whether the c2CretryInterval field is set.
*/
@java.lang.Override
public boolean hasC2CretryInterval() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional int32 c2CretryInterval = 3;
* @return The c2CretryInterval.
*/
@java.lang.Override
public int getC2CretryInterval() {
return c2CretryInterval_;
}
public static final int SNSRETRYINTERVAL_FIELD_NUMBER = 4;
private int snsretryInterval_;
/**
* optional int32 snsretryInterval = 4;
* @return Whether the snsretryInterval field is set.
*/
@java.lang.Override
public boolean hasSnsretryInterval() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional int32 snsretryInterval = 4;
* @return The snsretryInterval.
*/
@java.lang.Override
public int getSnsretryInterval() {
return snsretryInterval_;
}
public static final int C2CRWTIMEOUT_FIELD_NUMBER = 5;
private int c2Crwtimeout_;
/**
* optional int32 c2Crwtimeout = 5;
* @return Whether the c2Crwtimeout field is set.
*/
@java.lang.Override
public boolean hasC2Crwtimeout() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional int32 c2Crwtimeout = 5;
* @return The c2Crwtimeout.
*/
@java.lang.Override
public int getC2Crwtimeout() {
return c2Crwtimeout_;
}
public static final int SNSRWTIMEOUT_FIELD_NUMBER = 6;
private int snsrwtimeout_;
/**
* optional int32 snsrwtimeout = 6;
* @return Whether the snsrwtimeout field is set.
*/
@java.lang.Override
public boolean hasSnsrwtimeout() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional int32 snsrwtimeout = 6;
* @return The snsrwtimeout.
*/
@java.lang.Override
public int getSnsrwtimeout() {
return snsrwtimeout_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt32(1, c2CshowErrorDelayMs_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt32(2, snsshowErrorDelayMs_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt32(3, c2CretryInterval_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt32(4, snsretryInterval_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt32(5, c2Crwtimeout_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt32(6, snsrwtimeout_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, c2CshowErrorDelayMs_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, snsshowErrorDelayMs_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, c2CretryInterval_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, snsretryInterval_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, c2Crwtimeout_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, snsrwtimeout_);
}
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 wechat.protobuf.CDNClientConfig)) {
return super.equals(obj);
}
wechat.protobuf.CDNClientConfig other = (wechat.protobuf.CDNClientConfig) obj;
if (hasC2CshowErrorDelayMs() != other.hasC2CshowErrorDelayMs()) return false;
if (hasC2CshowErrorDelayMs()) {
if (getC2CshowErrorDelayMs()
!= other.getC2CshowErrorDelayMs()) return false;
}
if (hasSnsshowErrorDelayMs() != other.hasSnsshowErrorDelayMs()) return false;
if (hasSnsshowErrorDelayMs()) {
if (getSnsshowErrorDelayMs()
!= other.getSnsshowErrorDelayMs()) return false;
}
if (hasC2CretryInterval() != other.hasC2CretryInterval()) return false;
if (hasC2CretryInterval()) {
if (getC2CretryInterval()
!= other.getC2CretryInterval()) return false;
}
if (hasSnsretryInterval() != other.hasSnsretryInterval()) return false;
if (hasSnsretryInterval()) {
if (getSnsretryInterval()
!= other.getSnsretryInterval()) return false;
}
if (hasC2Crwtimeout() != other.hasC2Crwtimeout()) return false;
if (hasC2Crwtimeout()) {
if (getC2Crwtimeout()
!= other.getC2Crwtimeout()) return false;
}
if (hasSnsrwtimeout() != other.hasSnsrwtimeout()) return false;
if (hasSnsrwtimeout()) {
if (getSnsrwtimeout()
!= other.getSnsrwtimeout()) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasC2CshowErrorDelayMs()) {
hash = (37 * hash) + C2CSHOWERRORDELAYMS_FIELD_NUMBER;
hash = (53 * hash) + getC2CshowErrorDelayMs();
}
if (hasSnsshowErrorDelayMs()) {
hash = (37 * hash) + SNSSHOWERRORDELAYMS_FIELD_NUMBER;
hash = (53 * hash) + getSnsshowErrorDelayMs();
}
if (hasC2CretryInterval()) {
hash = (37 * hash) + C2CRETRYINTERVAL_FIELD_NUMBER;
hash = (53 * hash) + getC2CretryInterval();
}
if (hasSnsretryInterval()) {
hash = (37 * hash) + SNSRETRYINTERVAL_FIELD_NUMBER;
hash = (53 * hash) + getSnsretryInterval();
}
if (hasC2Crwtimeout()) {
hash = (37 * hash) + C2CRWTIMEOUT_FIELD_NUMBER;
hash = (53 * hash) + getC2Crwtimeout();
}
if (hasSnsrwtimeout()) {
hash = (37 * hash) + SNSRWTIMEOUT_FIELD_NUMBER;
hash = (53 * hash) + getSnsrwtimeout();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static wechat.protobuf.CDNClientConfig parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.CDNClientConfig parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.CDNClientConfig parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.CDNClientConfig parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.CDNClientConfig parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static wechat.protobuf.CDNClientConfig parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static wechat.protobuf.CDNClientConfig parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.CDNClientConfig 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 wechat.protobuf.CDNClientConfig parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static wechat.protobuf.CDNClientConfig 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 wechat.protobuf.CDNClientConfig parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static wechat.protobuf.CDNClientConfig parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(wechat.protobuf.CDNClientConfig prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
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 wechat_proto.CDNClientConfig}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:wechat_proto.CDNClientConfig)
wechat.protobuf.CDNClientConfigOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_CDNClientConfig_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_CDNClientConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
wechat.protobuf.CDNClientConfig.class, wechat.protobuf.CDNClientConfig.Builder.class);
}
// Construct using wechat.protobuf.CDNClientConfig.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
c2CshowErrorDelayMs_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
snsshowErrorDelayMs_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
c2CretryInterval_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
snsretryInterval_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
c2Crwtimeout_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
snsrwtimeout_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return wechat.protobuf.Wechat.internal_static_wechat_proto_CDNClientConfig_descriptor;
}
@java.lang.Override
public wechat.protobuf.CDNClientConfig getDefaultInstanceForType() {
return wechat.protobuf.CDNClientConfig.getDefaultInstance();
}
@java.lang.Override
public wechat.protobuf.CDNClientConfig build() {
wechat.protobuf.CDNClientConfig result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public wechat.protobuf.CDNClientConfig buildPartial() {
wechat.protobuf.CDNClientConfig result = new wechat.protobuf.CDNClientConfig(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.c2CshowErrorDelayMs_ = c2CshowErrorDelayMs_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.snsshowErrorDelayMs_ = snsshowErrorDelayMs_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.c2CretryInterval_ = c2CretryInterval_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.snsretryInterval_ = snsretryInterval_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.c2Crwtimeout_ = c2Crwtimeout_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.snsrwtimeout_ = snsrwtimeout_;
to_bitField0_ |= 0x00000020;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof wechat.protobuf.CDNClientConfig) {
return mergeFrom((wechat.protobuf.CDNClientConfig)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(wechat.protobuf.CDNClientConfig other) {
if (other == wechat.protobuf.CDNClientConfig.getDefaultInstance()) return this;
if (other.hasC2CshowErrorDelayMs()) {
setC2CshowErrorDelayMs(other.getC2CshowErrorDelayMs());
}
if (other.hasSnsshowErrorDelayMs()) {
setSnsshowErrorDelayMs(other.getSnsshowErrorDelayMs());
}
if (other.hasC2CretryInterval()) {
setC2CretryInterval(other.getC2CretryInterval());
}
if (other.hasSnsretryInterval()) {
setSnsretryInterval(other.getSnsretryInterval());
}
if (other.hasC2Crwtimeout()) {
setC2Crwtimeout(other.getC2Crwtimeout());
}
if (other.hasSnsrwtimeout()) {
setSnsrwtimeout(other.getSnsrwtimeout());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
wechat.protobuf.CDNClientConfig parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (wechat.protobuf.CDNClientConfig) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int c2CshowErrorDelayMs_ ;
/**
* optional int32 c2CshowErrorDelayMs = 1;
* @return Whether the c2CshowErrorDelayMs field is set.
*/
@java.lang.Override
public boolean hasC2CshowErrorDelayMs() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 c2CshowErrorDelayMs = 1;
* @return The c2CshowErrorDelayMs.
*/
@java.lang.Override
public int getC2CshowErrorDelayMs() {
return c2CshowErrorDelayMs_;
}
/**
* optional int32 c2CshowErrorDelayMs = 1;
* @param value The c2CshowErrorDelayMs to set.
* @return This builder for chaining.
*/
public Builder setC2CshowErrorDelayMs(int value) {
bitField0_ |= 0x00000001;
c2CshowErrorDelayMs_ = value;
onChanged();
return this;
}
/**
* optional int32 c2CshowErrorDelayMs = 1;
* @return This builder for chaining.
*/
public Builder clearC2CshowErrorDelayMs() {
bitField0_ = (bitField0_ & ~0x00000001);
c2CshowErrorDelayMs_ = 0;
onChanged();
return this;
}
private int snsshowErrorDelayMs_ ;
/**
* optional int32 snsshowErrorDelayMs = 2;
* @return Whether the snsshowErrorDelayMs field is set.
*/
@java.lang.Override
public boolean hasSnsshowErrorDelayMs() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int32 snsshowErrorDelayMs = 2;
* @return The snsshowErrorDelayMs.
*/
@java.lang.Override
public int getSnsshowErrorDelayMs() {
return snsshowErrorDelayMs_;
}
/**
* optional int32 snsshowErrorDelayMs = 2;
* @param value The snsshowErrorDelayMs to set.
* @return This builder for chaining.
*/
public Builder setSnsshowErrorDelayMs(int value) {
bitField0_ |= 0x00000002;
snsshowErrorDelayMs_ = value;
onChanged();
return this;
}
/**
* optional int32 snsshowErrorDelayMs = 2;
* @return This builder for chaining.
*/
public Builder clearSnsshowErrorDelayMs() {
bitField0_ = (bitField0_ & ~0x00000002);
snsshowErrorDelayMs_ = 0;
onChanged();
return this;
}
private int c2CretryInterval_ ;
/**
* optional int32 c2CretryInterval = 3;
* @return Whether the c2CretryInterval field is set.
*/
@java.lang.Override
public boolean hasC2CretryInterval() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional int32 c2CretryInterval = 3;
* @return The c2CretryInterval.
*/
@java.lang.Override
public int getC2CretryInterval() {
return c2CretryInterval_;
}
/**
* optional int32 c2CretryInterval = 3;
* @param value The c2CretryInterval to set.
* @return This builder for chaining.
*/
public Builder setC2CretryInterval(int value) {
bitField0_ |= 0x00000004;
c2CretryInterval_ = value;
onChanged();
return this;
}
/**
* optional int32 c2CretryInterval = 3;
* @return This builder for chaining.
*/
public Builder clearC2CretryInterval() {
bitField0_ = (bitField0_ & ~0x00000004);
c2CretryInterval_ = 0;
onChanged();
return this;
}
private int snsretryInterval_ ;
/**
* optional int32 snsretryInterval = 4;
* @return Whether the snsretryInterval field is set.
*/
@java.lang.Override
public boolean hasSnsretryInterval() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional int32 snsretryInterval = 4;
* @return The snsretryInterval.
*/
@java.lang.Override
public int getSnsretryInterval() {
return snsretryInterval_;
}
/**
* optional int32 snsretryInterval = 4;
* @param value The snsretryInterval to set.
* @return This builder for chaining.
*/
public Builder setSnsretryInterval(int value) {
bitField0_ |= 0x00000008;
snsretryInterval_ = value;
onChanged();
return this;
}
/**
* optional int32 snsretryInterval = 4;
* @return This builder for chaining.
*/
public Builder clearSnsretryInterval() {
bitField0_ = (bitField0_ & ~0x00000008);
snsretryInterval_ = 0;
onChanged();
return this;
}
private int c2Crwtimeout_ ;
/**
* optional int32 c2Crwtimeout = 5;
* @return Whether the c2Crwtimeout field is set.
*/
@java.lang.Override
public boolean hasC2Crwtimeout() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional int32 c2Crwtimeout = 5;
* @return The c2Crwtimeout.
*/
@java.lang.Override
public int getC2Crwtimeout() {
return c2Crwtimeout_;
}
/**
* optional int32 c2Crwtimeout = 5;
* @param value The c2Crwtimeout to set.
* @return This builder for chaining.
*/
public Builder setC2Crwtimeout(int value) {
bitField0_ |= 0x00000010;
c2Crwtimeout_ = value;
onChanged();
return this;
}
/**
* optional int32 c2Crwtimeout = 5;
* @return This builder for chaining.
*/
public Builder clearC2Crwtimeout() {
bitField0_ = (bitField0_ & ~0x00000010);
c2Crwtimeout_ = 0;
onChanged();
return this;
}
private int snsrwtimeout_ ;
/**
* optional int32 snsrwtimeout = 6;
* @return Whether the snsrwtimeout field is set.
*/
@java.lang.Override
public boolean hasSnsrwtimeout() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional int32 snsrwtimeout = 6;
* @return The snsrwtimeout.
*/
@java.lang.Override
public int getSnsrwtimeout() {
return snsrwtimeout_;
}
/**
* optional int32 snsrwtimeout = 6;
* @param value The snsrwtimeout to set.
* @return This builder for chaining.
*/
public Builder setSnsrwtimeout(int value) {
bitField0_ |= 0x00000020;
snsrwtimeout_ = value;
onChanged();
return this;
}
/**
* optional int32 snsrwtimeout = 6;
* @return This builder for chaining.
*/
public Builder clearSnsrwtimeout() {
bitField0_ = (bitField0_ & ~0x00000020);
snsrwtimeout_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:wechat_proto.CDNClientConfig)
}
// @@protoc_insertion_point(class_scope:wechat_proto.CDNClientConfig)
private static final wechat.protobuf.CDNClientConfig DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new wechat.protobuf.CDNClientConfig();
}
public static wechat.protobuf.CDNClientConfig getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CDNClientConfig parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CDNClientConfig(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public wechat.protobuf.CDNClientConfig getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy