com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: BridgeInitCommand.proto
package com.alachisoft.ncache.common.protobuf;
public final class BridgeInitCommandProtocol {
private static com.google.protobuf.Descriptors.Descriptor
internal_static_com_alachisoft_ncache_common_protobuf_BridgeInitCommand_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_com_alachisoft_ncache_common_protobuf_BridgeInitCommand_fieldAccessorTable;
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\027BridgeInitCommand.proto\022%com.alachisof" +
"t.ncache.common.protobuf\"p\n\021BridgeInitCo" +
"mmand\022\020\n\010clientId\030\001 \001(\t\022\020\n\010bridgeId\030\002 \001(" +
"\t\022\023\n\013srcUniqueId\030\003 \001(\t\022\017\n\007cacheId\030\004 \001(\t\022" +
"\021\n\trequestId\030\005 \001(\003B\033B\031BridgeInitCommandP" +
"rotocol"
};
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_BridgeInitCommand_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_com_alachisoft_ncache_common_protobuf_BridgeInitCommand_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_alachisoft_ncache_common_protobuf_BridgeInitCommand_descriptor,
new java.lang.String[]{"ClientId", "BridgeId", "SrcUniqueId", "CacheId", "RequestId",},
com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.BridgeInitCommand.class,
com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.BridgeInitCommand.Builder.class);
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[]{
}, assigner);
}
private BridgeInitCommandProtocol() {
}
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 BridgeInitCommand extends
com.google.protobuf.GeneratedMessage {
// optional string clientId = 1;
public static final int CLIENTID_FIELD_NUMBER = 1;
// optional string bridgeId = 2;
public static final int BRIDGEID_FIELD_NUMBER = 2;
// optional string srcUniqueId = 3;
public static final int SRCUNIQUEID_FIELD_NUMBER = 3;
// optional string cacheId = 4;
public static final int CACHEID_FIELD_NUMBER = 4;
// optional int64 requestId = 5;
public static final int REQUESTID_FIELD_NUMBER = 5;
private static final BridgeInitCommand defaultInstance;
static {
defaultInstance = new BridgeInitCommand(true);
com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.internalForceInit();
defaultInstance.initFields();
}
private boolean hasClientId;
private java.lang.String clientId_ = "";
private boolean hasBridgeId;
private java.lang.String bridgeId_ = "";
private boolean hasSrcUniqueId;
private java.lang.String srcUniqueId_ = "";
private boolean hasCacheId;
private java.lang.String cacheId_ = "";
private boolean hasRequestId;
private long requestId_ = 0L;
private int memoizedSerializedSize = -1;
// Use BridgeInitCommand.newBuilder() to construct.
private BridgeInitCommand() {
initFields();
}
private BridgeInitCommand(boolean noInit) {
}
public static BridgeInitCommand getDefaultInstance() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.internal_static_com_alachisoft_ncache_common_protobuf_BridgeInitCommand_descriptor;
}
public static com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.BridgeInitCommand parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.BridgeInitCommand 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.BridgeInitCommandProtocol.BridgeInitCommand parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.BridgeInitCommand 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.BridgeInitCommandProtocol.BridgeInitCommand parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.BridgeInitCommand 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.BridgeInitCommandProtocol.BridgeInitCommand 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.BridgeInitCommandProtocol.BridgeInitCommand 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.BridgeInitCommandProtocol.BridgeInitCommand parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.BridgeInitCommand 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.BridgeInitCommandProtocol.BridgeInitCommand prototype) {
return newBuilder().mergeFrom(prototype);
}
public BridgeInitCommand getDefaultInstanceForType() {
return defaultInstance;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.internal_static_com_alachisoft_ncache_common_protobuf_BridgeInitCommand_fieldAccessorTable;
}
public boolean hasClientId() {
return hasClientId;
}
public java.lang.String getClientId() {
return clientId_;
}
public boolean hasBridgeId() {
return hasBridgeId;
}
public java.lang.String getBridgeId() {
return bridgeId_;
}
public boolean hasSrcUniqueId() {
return hasSrcUniqueId;
}
public java.lang.String getSrcUniqueId() {
return srcUniqueId_;
}
public boolean hasCacheId() {
return hasCacheId;
}
public java.lang.String getCacheId() {
return cacheId_;
}
public boolean hasRequestId() {
return hasRequestId;
}
public long getRequestId() {
return requestId_;
}
private void initFields() {
}
public final boolean isInitialized() {
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (hasClientId()) {
output.writeString(1, getClientId());
}
if (hasBridgeId()) {
output.writeString(2, getBridgeId());
}
if (hasSrcUniqueId()) {
output.writeString(3, getSrcUniqueId());
}
if (hasCacheId()) {
output.writeString(4, getCacheId());
}
if (hasRequestId()) {
output.writeInt64(5, getRequestId());
}
getUnknownFields().writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (hasClientId()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(1, getClientId());
}
if (hasBridgeId()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(2, getBridgeId());
}
if (hasSrcUniqueId()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(3, getSrcUniqueId());
}
if (hasCacheId()) {
size += com.google.protobuf.CodedOutputStream
.computeStringSize(4, getCacheId());
}
if (hasRequestId()) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, getRequestId());
}
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.BridgeInitCommandProtocol.BridgeInitCommand result;
// Construct using com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.BridgeInitCommand.newBuilder()
private Builder() {
}
private static Builder create() {
Builder builder = new Builder();
builder.result = new com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.BridgeInitCommand();
return builder;
}
protected com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.BridgeInitCommand internalGetResult() {
return result;
}
public Builder clear() {
if (result == null) {
throw new IllegalStateException(
"Cannot call clear() after build().");
}
result = new com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.BridgeInitCommand();
return this;
}
public Builder clone() {
return create().mergeFrom(result);
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.BridgeInitCommand.getDescriptor();
}
public com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.BridgeInitCommand getDefaultInstanceForType() {
return com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.BridgeInitCommand.getDefaultInstance();
}
public boolean isInitialized() {
return result.isInitialized();
}
public com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.BridgeInitCommand build() {
if (result != null && !isInitialized()) {
throw newUninitializedMessageException(result);
}
return buildPartial();
}
private com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.BridgeInitCommand buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
if (!isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return buildPartial();
}
public com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.BridgeInitCommand buildPartial() {
if (result == null) {
throw new IllegalStateException(
"build() has already been called on this Builder.");
}
com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.BridgeInitCommand returnMe = result;
result = null;
return returnMe;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.BridgeInitCommand) {
return mergeFrom((com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.BridgeInitCommand) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.BridgeInitCommand other) {
if (other == com.alachisoft.ncache.common.protobuf.BridgeInitCommandProtocol.BridgeInitCommand.getDefaultInstance())
return this;
if (other.hasClientId()) {
setClientId(other.getClientId());
}
if (other.hasBridgeId()) {
setBridgeId(other.getBridgeId());
}
if (other.hasSrcUniqueId()) {
setSrcUniqueId(other.getSrcUniqueId());
}
if (other.hasCacheId()) {
setCacheId(other.getCacheId());
}
if (other.hasRequestId()) {
setRequestId(other.getRequestId());
}
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 10: {
setClientId(input.readString());
break;
}
case 18: {
setBridgeId(input.readString());
break;
}
case 26: {
setSrcUniqueId(input.readString());
break;
}
case 34: {
setCacheId(input.readString());
break;
}
case 40: {
setRequestId(input.readInt64());
break;
}
}
}
}
// optional string clientId = 1;
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 bridgeId = 2;
public boolean hasBridgeId() {
return result.hasBridgeId();
}
public java.lang.String getBridgeId() {
return result.getBridgeId();
}
public Builder setBridgeId(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasBridgeId = true;
result.bridgeId_ = value;
return this;
}
public Builder clearBridgeId() {
result.hasBridgeId = false;
result.bridgeId_ = getDefaultInstance().getBridgeId();
return this;
}
// optional string srcUniqueId = 3;
public boolean hasSrcUniqueId() {
return result.hasSrcUniqueId();
}
public java.lang.String getSrcUniqueId() {
return result.getSrcUniqueId();
}
public Builder setSrcUniqueId(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasSrcUniqueId = true;
result.srcUniqueId_ = value;
return this;
}
public Builder clearSrcUniqueId() {
result.hasSrcUniqueId = false;
result.srcUniqueId_ = getDefaultInstance().getSrcUniqueId();
return this;
}
// optional string cacheId = 4;
public boolean hasCacheId() {
return result.hasCacheId();
}
public java.lang.String getCacheId() {
return result.getCacheId();
}
public Builder setCacheId(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result.hasCacheId = true;
result.cacheId_ = value;
return this;
}
public Builder clearCacheId() {
result.hasCacheId = false;
result.cacheId_ = getDefaultInstance().getCacheId();
return this;
}
// optional int64 requestId = 5;
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;
}
// @@protoc_insertion_point(builder_scope:com.alachisoft.ncache.common.protobuf.BridgeInitCommand)
}
// @@protoc_insertion_point(class_scope:com.alachisoft.ncache.common.protobuf.BridgeInitCommand)
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy