com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nc-common Show documentation
Show all versions of nc-common Show documentation
Internal package of Alachisoft.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GetExpirationResponse.proto
package com.alachisoft.ncache.common.protobuf;
public final class GetExpirationResponseProtocol {
private static com.google.protobuf.Descriptors.Descriptor
internal_static_com_alachisoft_ncache_common_protobuf_GetExpirationResponse_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_com_alachisoft_ncache_common_protobuf_GetExpirationResponse_fieldAccessorTable;
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\033GetExpirationResponse.proto\022%com.alach" +
"isoft.ncache.common.protobuf\"\317\001\n\025GetExpi" +
"rationResponse\022\022\n\nabsDefault\030\001 \001(\003\022\022\n\nsl" +
"dDefault\030\002 \001(\003\022\021\n\tabsLonger\030\003 \001(\003\022\021\n\tsld" +
"Longer\030\004 \001(\003\022\031\n\021absDefaultEnabled\030\005 \001(\010\022" +
"\030\n\020absLongerEnabled\030\006 \001(\010\022\031\n\021sldDefaultE" +
"nabled\030\007 \001(\010\022\030\n\020sldLongerEnabled\030\010 \001(\010B\037" +
"B\035GetExpirationResponseProtocol"
};
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;
internal_static_com_alachisoft_ncache_common_protobuf_GetExpirationResponse_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_com_alachisoft_ncache_common_protobuf_GetExpirationResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_alachisoft_ncache_common_protobuf_GetExpirationResponse_descriptor,
new java.lang.String[]{"AbsDefault", "SldDefault", "AbsLonger", "SldLonger", "AbsDefaultEnabled", "AbsLongerEnabled", "SldDefaultEnabled", "SldLongerEnabled",},
com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse.class,
com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse.Builder.class);
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[]{
}, assigner);
}
private GetExpirationResponseProtocol() {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
public static void internalForceInit() {
}
public static final class GetExpirationResponse extends
com.google.protobuf.GeneratedMessage {
// optional int64 absDefault = 1;
public static final int ABSDEFAULT_FIELD_NUMBER = 1;
// optional int64 sldDefault = 2;
public static final int SLDDEFAULT_FIELD_NUMBER = 2;
// optional int64 absLonger = 3;
public static final int ABSLONGER_FIELD_NUMBER = 3;
// optional int64 sldLonger = 4;
public static final int SLDLONGER_FIELD_NUMBER = 4;
// optional bool absDefaultEnabled = 5;
public static final int ABSDEFAULTENABLED_FIELD_NUMBER = 5;
// optional bool absLongerEnabled = 6;
public static final int ABSLONGERENABLED_FIELD_NUMBER = 6;
// optional bool sldDefaultEnabled = 7;
public static final int SLDDEFAULTENABLED_FIELD_NUMBER = 7;
// optional bool sldLongerEnabled = 8;
public static final int SLDLONGERENABLED_FIELD_NUMBER = 8;
private static final GetExpirationResponse defaultInstance;
static {
defaultInstance = new GetExpirationResponse(true);
com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.internalForceInit();
defaultInstance.initFields();
}
private boolean hasAbsDefault;
private long absDefault_ = 0L;
private boolean hasSldDefault;
private long sldDefault_ = 0L;
private boolean hasAbsLonger;
private long absLonger_ = 0L;
private boolean hasSldLonger;
private long sldLonger_ = 0L;
private boolean hasAbsDefaultEnabled;
private boolean absDefaultEnabled_ = false;
private boolean hasAbsLongerEnabled;
private boolean absLongerEnabled_ = false;
private boolean hasSldDefaultEnabled;
private boolean sldDefaultEnabled_ = false;
private boolean hasSldLongerEnabled;
private boolean sldLongerEnabled_ = false;
private int memoizedSerializedSize = -1;
// Use GetExpirationResponse.newBuilder() to construct.
private GetExpirationResponse() {
initFields();
}
private GetExpirationResponse(boolean noInit) {
}
public static GetExpirationResponse getDefaultInstance() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.internal_static_com_alachisoft_ncache_common_protobuf_GetExpirationResponse_descriptor;
}
public static com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() {
return Builder.create();
}
public static Builder newBuilder(com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse prototype) {
return newBuilder().mergeFrom(prototype);
}
public GetExpirationResponse getDefaultInstanceForType() {
return defaultInstance;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.internal_static_com_alachisoft_ncache_common_protobuf_GetExpirationResponse_fieldAccessorTable;
}
public boolean hasAbsDefault() {
return hasAbsDefault;
}
public long getAbsDefault() {
return absDefault_;
}
public boolean hasSldDefault() {
return hasSldDefault;
}
public long getSldDefault() {
return sldDefault_;
}
public boolean hasAbsLonger() {
return hasAbsLonger;
}
public long getAbsLonger() {
return absLonger_;
}
public boolean hasSldLonger() {
return hasSldLonger;
}
public long getSldLonger() {
return sldLonger_;
}
public boolean hasAbsDefaultEnabled() {
return hasAbsDefaultEnabled;
}
public boolean getAbsDefaultEnabled() {
return absDefaultEnabled_;
}
public boolean hasAbsLongerEnabled() {
return hasAbsLongerEnabled;
}
public boolean getAbsLongerEnabled() {
return absLongerEnabled_;
}
public boolean hasSldDefaultEnabled() {
return hasSldDefaultEnabled;
}
public boolean getSldDefaultEnabled() {
return sldDefaultEnabled_;
}
public boolean hasSldLongerEnabled() {
return hasSldLongerEnabled;
}
public boolean getSldLongerEnabled() {
return sldLongerEnabled_;
}
private void initFields() {
}
public final boolean isInitialized() {
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (hasAbsDefault()) {
output.writeInt64(1, getAbsDefault());
}
if (hasSldDefault()) {
output.writeInt64(2, getSldDefault());
}
if (hasAbsLonger()) {
output.writeInt64(3, getAbsLonger());
}
if (hasSldLonger()) {
output.writeInt64(4, getSldLonger());
}
if (hasAbsDefaultEnabled()) {
output.writeBool(5, getAbsDefaultEnabled());
}
if (hasAbsLongerEnabled()) {
output.writeBool(6, getAbsLongerEnabled());
}
if (hasSldDefaultEnabled()) {
output.writeBool(7, getSldDefaultEnabled());
}
if (hasSldLongerEnabled()) {
output.writeBool(8, getSldLongerEnabled());
}
getUnknownFields().writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (hasAbsDefault()) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, getAbsDefault());
}
if (hasSldDefault()) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, getSldDefault());
}
if (hasAbsLonger()) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, getAbsLonger());
}
if (hasSldLonger()) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, getSldLonger());
}
if (hasAbsDefaultEnabled()) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, getAbsDefaultEnabled());
}
if (hasAbsLongerEnabled()) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, getAbsLongerEnabled());
}
if (hasSldDefaultEnabled()) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(7, getSldDefaultEnabled());
}
if (hasSldLongerEnabled()) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(8, getSldLongerEnabled());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
public Builder newBuilderForType() {
return newBuilder();
}
public Builder toBuilder() {
return newBuilder(this);
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder {
private com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse result;
// Construct using com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse.newBuilder()
private Builder() {
}
private static Builder create() {
Builder builder = new Builder();
builder.result = new com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse();
return builder;
}
protected com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse internalGetResult() {
return result;
}
public Builder clear() {
if (result == null) {
throw new IllegalStateException(
"Cannot call clear() after build().");
}
result = new com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse();
return this;
}
public Builder clone() {
return create().mergeFrom(result);
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse.getDescriptor();
}
public com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse getDefaultInstanceForType() {
return com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse.getDefaultInstance();
}
public boolean isInitialized() {
return result.isInitialized();
}
public com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse build() {
if (result != null && !isInitialized()) {
throw newUninitializedMessageException(result);
}
return buildPartial();
}
private com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
if (!isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return buildPartial();
}
public com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse buildPartial() {
if (result == null) {
throw new IllegalStateException(
"build() has already been called on this Builder.");
}
com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse returnMe = result;
result = null;
return returnMe;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse) {
return mergeFrom((com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse other) {
if (other == com.alachisoft.ncache.common.protobuf.GetExpirationResponseProtocol.GetExpirationResponse.getDefaultInstance())
return this;
if (other.hasAbsDefault()) {
setAbsDefault(other.getAbsDefault());
}
if (other.hasSldDefault()) {
setSldDefault(other.getSldDefault());
}
if (other.hasAbsLonger()) {
setAbsLonger(other.getAbsLonger());
}
if (other.hasSldLonger()) {
setSldLonger(other.getSldLonger());
}
if (other.hasAbsDefaultEnabled()) {
setAbsDefaultEnabled(other.getAbsDefaultEnabled());
}
if (other.hasAbsLongerEnabled()) {
setAbsLongerEnabled(other.getAbsLongerEnabled());
}
if (other.hasSldDefaultEnabled()) {
setSldDefaultEnabled(other.getSldDefaultEnabled());
}
if (other.hasSldLongerEnabled()) {
setSldLongerEnabled(other.getSldLongerEnabled());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
return this;
}
break;
}
case 8: {
setAbsDefault(input.readInt64());
break;
}
case 16: {
setSldDefault(input.readInt64());
break;
}
case 24: {
setAbsLonger(input.readInt64());
break;
}
case 32: {
setSldLonger(input.readInt64());
break;
}
case 40: {
setAbsDefaultEnabled(input.readBool());
break;
}
case 48: {
setAbsLongerEnabled(input.readBool());
break;
}
case 56: {
setSldDefaultEnabled(input.readBool());
break;
}
case 64: {
setSldLongerEnabled(input.readBool());
break;
}
}
}
}
// optional int64 absDefault = 1;
public boolean hasAbsDefault() {
return result.hasAbsDefault();
}
public long getAbsDefault() {
return result.getAbsDefault();
}
public Builder setAbsDefault(long value) {
result.hasAbsDefault = true;
result.absDefault_ = value;
return this;
}
public Builder clearAbsDefault() {
result.hasAbsDefault = false;
result.absDefault_ = 0L;
return this;
}
// optional int64 sldDefault = 2;
public boolean hasSldDefault() {
return result.hasSldDefault();
}
public long getSldDefault() {
return result.getSldDefault();
}
public Builder setSldDefault(long value) {
result.hasSldDefault = true;
result.sldDefault_ = value;
return this;
}
public Builder clearSldDefault() {
result.hasSldDefault = false;
result.sldDefault_ = 0L;
return this;
}
// optional int64 absLonger = 3;
public boolean hasAbsLonger() {
return result.hasAbsLonger();
}
public long getAbsLonger() {
return result.getAbsLonger();
}
public Builder setAbsLonger(long value) {
result.hasAbsLonger = true;
result.absLonger_ = value;
return this;
}
public Builder clearAbsLonger() {
result.hasAbsLonger = false;
result.absLonger_ = 0L;
return this;
}
// optional int64 sldLonger = 4;
public boolean hasSldLonger() {
return result.hasSldLonger();
}
public long getSldLonger() {
return result.getSldLonger();
}
public Builder setSldLonger(long value) {
result.hasSldLonger = true;
result.sldLonger_ = value;
return this;
}
public Builder clearSldLonger() {
result.hasSldLonger = false;
result.sldLonger_ = 0L;
return this;
}
// optional bool absDefaultEnabled = 5;
public boolean hasAbsDefaultEnabled() {
return result.hasAbsDefaultEnabled();
}
public boolean getAbsDefaultEnabled() {
return result.getAbsDefaultEnabled();
}
public Builder setAbsDefaultEnabled(boolean value) {
result.hasAbsDefaultEnabled = true;
result.absDefaultEnabled_ = value;
return this;
}
public Builder clearAbsDefaultEnabled() {
result.hasAbsDefaultEnabled = false;
result.absDefaultEnabled_ = false;
return this;
}
// optional bool absLongerEnabled = 6;
public boolean hasAbsLongerEnabled() {
return result.hasAbsLongerEnabled();
}
public boolean getAbsLongerEnabled() {
return result.getAbsLongerEnabled();
}
public Builder setAbsLongerEnabled(boolean value) {
result.hasAbsLongerEnabled = true;
result.absLongerEnabled_ = value;
return this;
}
public Builder clearAbsLongerEnabled() {
result.hasAbsLongerEnabled = false;
result.absLongerEnabled_ = false;
return this;
}
// optional bool sldDefaultEnabled = 7;
public boolean hasSldDefaultEnabled() {
return result.hasSldDefaultEnabled();
}
public boolean getSldDefaultEnabled() {
return result.getSldDefaultEnabled();
}
public Builder setSldDefaultEnabled(boolean value) {
result.hasSldDefaultEnabled = true;
result.sldDefaultEnabled_ = value;
return this;
}
public Builder clearSldDefaultEnabled() {
result.hasSldDefaultEnabled = false;
result.sldDefaultEnabled_ = false;
return this;
}
// optional bool sldLongerEnabled = 8;
public boolean hasSldLongerEnabled() {
return result.hasSldLongerEnabled();
}
public boolean getSldLongerEnabled() {
return result.getSldLongerEnabled();
}
public Builder setSldLongerEnabled(boolean value) {
result.hasSldLongerEnabled = true;
result.sldLongerEnabled_ = value;
return this;
}
public Builder clearSldLongerEnabled() {
result.hasSldLongerEnabled = false;
result.sldLongerEnabled_ = false;
return this;
}
// @@protoc_insertion_point(builder_scope:com.alachisoft.ncache.common.protobuf.GetExpirationResponse)
}
// @@protoc_insertion_point(class_scope:com.alachisoft.ncache.common.protobuf.GetExpirationResponse)
}
// @@protoc_insertion_point(outer_class_scope)
}