All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GetNextRecordCommand.proto
package com.alachisoft.ncache.common.protobuf;
public final class GetNextRecordCommandProtocol {
private static com.google.protobuf.Descriptors.Descriptor
internal_static_com_alachisoft_ncache_common_protobuf_GetNextRecordCommand_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_com_alachisoft_ncache_common_protobuf_GetNextRecordCommand_fieldAccessorTable;
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\032GetNextRecordCommand.proto\022%com.alachi" +
"soft.ncache.common.protobuf\"\346\001\n\024GetNextR" +
"ecordCommand\022\021\n\tRequestId\030\001 \001(\003\022\031\n\021Inten" +
"dedRecipient\030\002 \001(\t\022\020\n\010ClientId\030\003 \001(\t\022\020\n\010" +
"ClientIp\030\004 \001(\t\022\022\n\nClientPort\030\005 \001(\005\022\021\n\tCl" +
"usterIp\030\006 \001(\t\022\023\n\013ClusterPort\030\007 \001(\005\022\022\n\nCa" +
"llbackId\030\010 \001(\005\022\016\n\006TaskId\030\t \001(\t\022\034\n\020client" +
"LastViewId\030\n \001(\003:\002-1B\036B\034GetNextRecordCom" +
"mandProtocol"
};
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_GetNextRecordCommand_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_com_alachisoft_ncache_common_protobuf_GetNextRecordCommand_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_alachisoft_ncache_common_protobuf_GetNextRecordCommand_descriptor,
new java.lang.String[]{"RequestId", "IntendedRecipient", "ClientId", "ClientIp", "ClientPort", "ClusterIp", "ClusterPort", "CallbackId", "TaskId", "ClientLastViewId",},
com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.GetNextRecordCommand.class,
com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.GetNextRecordCommand.Builder.class);
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[]{
}, assigner);
}
private GetNextRecordCommandProtocol() {
}
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 GetNextRecordCommand extends
com.google.protobuf.GeneratedMessage {
// optional int64 RequestId = 1;
public static final int REQUESTID_FIELD_NUMBER = 1;
// optional string IntendedRecipient = 2;
public static final int INTENDEDRECIPIENT_FIELD_NUMBER = 2;
// optional string ClientId = 3;
public static final int CLIENTID_FIELD_NUMBER = 3;
// optional string ClientIp = 4;
public static final int CLIENTIP_FIELD_NUMBER = 4;
// optional int32 ClientPort = 5;
public static final int CLIENTPORT_FIELD_NUMBER = 5;
// optional string ClusterIp = 6;
public static final int CLUSTERIP_FIELD_NUMBER = 6;
// optional int32 ClusterPort = 7;
public static final int CLUSTERPORT_FIELD_NUMBER = 7;
// optional int32 CallbackId = 8;
public static final int CALLBACKID_FIELD_NUMBER = 8;
// optional string TaskId = 9;
public static final int TASKID_FIELD_NUMBER = 9;
// optional int64 clientLastViewId = 10 [default = -1];
public static final int CLIENTLASTVIEWID_FIELD_NUMBER = 10;
private static final GetNextRecordCommand defaultInstance;
static {
defaultInstance = new GetNextRecordCommand(true);
com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.internalForceInit();
defaultInstance.initFields();
}
private boolean hasRequestId;
private long requestId_ = 0L;
private boolean hasIntendedRecipient;
private java.lang.String intendedRecipient_ = "";
private boolean hasClientId;
private java.lang.String clientId_ = "";
private boolean hasClientIp;
private java.lang.String clientIp_ = "";
private boolean hasClientPort;
private int clientPort_ = 0;
private boolean hasClusterIp;
private java.lang.String clusterIp_ = "";
private boolean hasClusterPort;
private int clusterPort_ = 0;
private boolean hasCallbackId;
private int callbackId_ = 0;
private boolean hasTaskId;
private java.lang.String taskId_ = "";
private boolean hasClientLastViewId;
private long clientLastViewId_ = -1L;
private int memoizedSerializedSize = -1;
// Use GetNextRecordCommand.newBuilder() to construct.
private GetNextRecordCommand() {
initFields();
}
private GetNextRecordCommand(boolean noInit) {
}
public static GetNextRecordCommand getDefaultInstance() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.internal_static_com_alachisoft_ncache_common_protobuf_GetNextRecordCommand_descriptor;
}
public static com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.GetNextRecordCommand parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.GetNextRecordCommand 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.GetNextRecordCommandProtocol.GetNextRecordCommand parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.GetNextRecordCommand 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.GetNextRecordCommandProtocol.GetNextRecordCommand parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.GetNextRecordCommand 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.GetNextRecordCommandProtocol.GetNextRecordCommand 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.GetNextRecordCommandProtocol.GetNextRecordCommand 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.GetNextRecordCommandProtocol.GetNextRecordCommand parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.GetNextRecordCommand 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.GetNextRecordCommandProtocol.GetNextRecordCommand prototype) {
return newBuilder().mergeFrom(prototype);
}
public GetNextRecordCommand getDefaultInstanceForType() {
return defaultInstance;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.internal_static_com_alachisoft_ncache_common_protobuf_GetNextRecordCommand_fieldAccessorTable;
}
public boolean hasRequestId() {
return hasRequestId;
}
public long getRequestId() {
return requestId_;
}
public boolean hasIntendedRecipient() {
return hasIntendedRecipient;
}
public java.lang.String getIntendedRecipient() {
return intendedRecipient_;
}
public boolean hasClientId() {
return hasClientId;
}
public java.lang.String getClientId() {
return clientId_;
}
public boolean hasClientIp() {
return hasClientIp;
}
public java.lang.String getClientIp() {
return clientIp_;
}
public boolean hasClientPort() {
return hasClientPort;
}
public int getClientPort() {
return clientPort_;
}
public boolean hasClusterIp() {
return hasClusterIp;
}
public java.lang.String getClusterIp() {
return clusterIp_;
}
public boolean hasClusterPort() {
return hasClusterPort;
}
public int getClusterPort() {
return clusterPort_;
}
public boolean hasCallbackId() {
return hasCallbackId;
}
public int getCallbackId() {
return callbackId_;
}
public boolean hasTaskId() {
return hasTaskId;
}
public java.lang.String getTaskId() {
return taskId_;
}
public boolean hasClientLastViewId() {
return hasClientLastViewId;
}
public long getClientLastViewId() {
return clientLastViewId_;
}
private void initFields() {
}
public final boolean isInitialized() {
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (hasRequestId()) {
output.writeInt64(1, getRequestId());
}
if (hasIntendedRecipient()) {
output.writeString(2, getIntendedRecipient());
}
if (hasClientId()) {
output.writeString(3, getClientId());
}
if (hasClientIp()) {
output.writeString(4, getClientIp());
}
if (hasClientPort()) {
output.writeInt32(5, getClientPort());
}
if (hasClusterIp()) {
output.writeString(6, getClusterIp());
}
if (hasClusterPort()) {
output.writeInt32(7, getClusterPort());
}
if (hasCallbackId()) {
output.writeInt32(8, getCallbackId());
}
if (hasTaskId()) {
output.writeString(9, getTaskId());
}
if (hasClientLastViewId()) {
output.writeInt64(10, getClientLastViewId());
}
getUnknownFields().writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (hasRequestId()) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, getRequestId());
}
if (hasIntendedRecipient()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(2, getIntendedRecipient());
}
if (hasClientId()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(3, getClientId());
}
if (hasClientIp()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(4, getClientIp());
}
if (hasClientPort()) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, getClientPort());
}
if (hasClusterIp()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(6, getClusterIp());
}
if (hasClusterPort()) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, getClusterPort());
}
if (hasCallbackId()) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(8, getCallbackId());
}
if (hasTaskId()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(9, getTaskId());
}
if (hasClientLastViewId()) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(10, getClientLastViewId());
}
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.GetNextRecordCommandProtocol.GetNextRecordCommand result;
// Construct using com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.GetNextRecordCommand.newBuilder()
private Builder() {
}
private static Builder create() {
Builder builder = new Builder();
builder.result = new com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.GetNextRecordCommand();
return builder;
}
protected com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.GetNextRecordCommand internalGetResult() {
return result;
}
public Builder clear() {
if (result == null) {
throw new IllegalStateException(
"Cannot call clear() after build().");
}
result = new com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.GetNextRecordCommand();
return this;
}
public Builder clone() {
return create().mergeFrom(result);
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.GetNextRecordCommand.getDescriptor();
}
public com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.GetNextRecordCommand getDefaultInstanceForType() {
return com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.GetNextRecordCommand.getDefaultInstance();
}
public boolean isInitialized() {
return result.isInitialized();
}
public com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.GetNextRecordCommand build() {
if (result != null && !isInitialized()) {
throw newUninitializedMessageException(result);
}
return buildPartial();
}
private com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.GetNextRecordCommand buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
if (!isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return buildPartial();
}
public com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.GetNextRecordCommand buildPartial() {
if (result == null) {
throw new IllegalStateException(
"build() has already been called on this Builder.");
}
com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.GetNextRecordCommand returnMe = result;
result = null;
return returnMe;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.GetNextRecordCommand) {
return mergeFrom((com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.GetNextRecordCommand) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.GetNextRecordCommand other) {
if (other == com.alachisoft.ncache.common.protobuf.GetNextRecordCommandProtocol.GetNextRecordCommand.getDefaultInstance())
return this;
if (other.hasRequestId()) {
setRequestId(other.getRequestId());
}
if (other.hasIntendedRecipient()) {
setIntendedRecipient(other.getIntendedRecipient());
}
if (other.hasClientId()) {
setClientId(other.getClientId());
}
if (other.hasClientIp()) {
setClientIp(other.getClientIp());
}
if (other.hasClientPort()) {
setClientPort(other.getClientPort());
}
if (other.hasClusterIp()) {
setClusterIp(other.getClusterIp());
}
if (other.hasClusterPort()) {
setClusterPort(other.getClusterPort());
}
if (other.hasCallbackId()) {
setCallbackId(other.getCallbackId());
}
if (other.hasTaskId()) {
setTaskId(other.getTaskId());
}
if (other.hasClientLastViewId()) {
setClientLastViewId(other.getClientLastViewId());
}
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: {
setRequestId(input.readInt64());
break;
}
case 18: {
setIntendedRecipient(input.readString());
break;
}
case 26: {
setClientId(input.readString());
break;
}
case 34: {
setClientIp(input.readString());
break;
}
case 40: {
setClientPort(input.readInt32());
break;
}
case 50: {
setClusterIp(input.readString());
break;
}
case 56: {
setClusterPort(input.readInt32());
break;
}
case 64: {
setCallbackId(input.readInt32());
break;
}
case 74: {
setTaskId(input.readString());
break;
}
case 80: {
setClientLastViewId(input.readInt64());
break;
}
}
}
}
// optional int64 RequestId = 1;
public boolean hasRequestId() {
return result.hasRequestId();
}
public long getRequestId() {
return result.getRequestId();
}
public Builder setRequestId(long value) {
result.hasRequestId = true;
result.requestId_ = value;
return this;
}
public Builder clearRequestId() {
result.hasRequestId = false;
result.requestId_ = 0L;
return this;
}
// optional string IntendedRecipient = 2;
public boolean hasIntendedRecipient() {
return result.hasIntendedRecipient();
}
public java.lang.String getIntendedRecipient() {
return result.getIntendedRecipient();
}
public Builder setIntendedRecipient(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasIntendedRecipient = true;
result.intendedRecipient_ = value;
return this;
}
public Builder clearIntendedRecipient() {
result.hasIntendedRecipient = false;
result.intendedRecipient_ = getDefaultInstance().getIntendedRecipient();
return this;
}
// optional string ClientId = 3;
public boolean hasClientId() {
return result.hasClientId();
}
public java.lang.String getClientId() {
return result.getClientId();
}
public Builder setClientId(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasClientId = true;
result.clientId_ = value;
return this;
}
public Builder clearClientId() {
result.hasClientId = false;
result.clientId_ = getDefaultInstance().getClientId();
return this;
}
// optional string ClientIp = 4;
public boolean hasClientIp() {
return result.hasClientIp();
}
public java.lang.String getClientIp() {
return result.getClientIp();
}
public Builder setClientIp(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasClientIp = true;
result.clientIp_ = value;
return this;
}
public Builder clearClientIp() {
result.hasClientIp = false;
result.clientIp_ = getDefaultInstance().getClientIp();
return this;
}
// optional int32 ClientPort = 5;
public boolean hasClientPort() {
return result.hasClientPort();
}
public int getClientPort() {
return result.getClientPort();
}
public Builder setClientPort(int value) {
result.hasClientPort = true;
result.clientPort_ = value;
return this;
}
public Builder clearClientPort() {
result.hasClientPort = false;
result.clientPort_ = 0;
return this;
}
// optional string ClusterIp = 6;
public boolean hasClusterIp() {
return result.hasClusterIp();
}
public java.lang.String getClusterIp() {
return result.getClusterIp();
}
public Builder setClusterIp(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasClusterIp = true;
result.clusterIp_ = value;
return this;
}
public Builder clearClusterIp() {
result.hasClusterIp = false;
result.clusterIp_ = getDefaultInstance().getClusterIp();
return this;
}
// optional int32 ClusterPort = 7;
public boolean hasClusterPort() {
return result.hasClusterPort();
}
public int getClusterPort() {
return result.getClusterPort();
}
public Builder setClusterPort(int value) {
result.hasClusterPort = true;
result.clusterPort_ = value;
return this;
}
public Builder clearClusterPort() {
result.hasClusterPort = false;
result.clusterPort_ = 0;
return this;
}
// optional int32 CallbackId = 8;
public boolean hasCallbackId() {
return result.hasCallbackId();
}
public int getCallbackId() {
return result.getCallbackId();
}
public Builder setCallbackId(int value) {
result.hasCallbackId = true;
result.callbackId_ = value;
return this;
}
public Builder clearCallbackId() {
result.hasCallbackId = false;
result.callbackId_ = 0;
return this;
}
// optional string TaskId = 9;
public boolean hasTaskId() {
return result.hasTaskId();
}
public java.lang.String getTaskId() {
return result.getTaskId();
}
public Builder setTaskId(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasTaskId = true;
result.taskId_ = value;
return this;
}
public Builder clearTaskId() {
result.hasTaskId = false;
result.taskId_ = getDefaultInstance().getTaskId();
return this;
}
// optional int64 clientLastViewId = 10 [default = -1];
public boolean hasClientLastViewId() {
return result.hasClientLastViewId();
}
public long getClientLastViewId() {
return result.getClientLastViewId();
}
public Builder setClientLastViewId(long value) {
result.hasClientLastViewId = true;
result.clientLastViewId_ = value;
return this;
}
public Builder clearClientLastViewId() {
result.hasClientLastViewId = false;
result.clientLastViewId_ = -1L;
return this;
}
// @@protoc_insertion_point(builder_scope:com.alachisoft.ncache.common.protobuf.GetNextRecordCommand)
}
// @@protoc_insertion_point(class_scope:com.alachisoft.ncache.common.protobuf.GetNextRecordCommand)
}
// @@protoc_insertion_point(outer_class_scope)
}