/**
* @copyright 2013 Computer Science Department, Recursive InterNetworking Architecture (RINA) laboratory, Boston University.
* All rights reserved. Permission to use, copy, modify, and distribute this software and its documentation
* for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all
* copies and that both the copyright notice and this permission notice appear in supporting documentation.
* The RINA laboratory of the Computer Science Department at Boston University makes no
* representations about the suitability of this software for any purpose.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: CDAP.proto
package rina.message;
public final class CDAP {
private CDAP() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public enum opCode_t
implements com.google.protobuf.ProtocolMessageEnum {
M_CONNECT(0, 0),
M_CONNECT_R(1, 1),
M_RELEASE(2, 2),
M_RELEASE_R(3, 3),
M_CREATE(4, 4),
M_CREATE_R(5, 5),
M_DELETE(6, 6),
M_DELETE_R(7, 7),
M_READ(8, 8),
M_READ_R(9, 9),
M_CANCELREAD(10, 10),
M_CANCELREAD_R(11, 11),
M_WRITE(12, 12),
M_WRITE_R(13, 13),
M_START(14, 14),
M_START_R(15, 15),
M_STOP(16, 16),
M_STOP_R(17, 17),
;
public static final int M_CONNECT_VALUE = 0;
public static final int M_CONNECT_R_VALUE = 1;
public static final int M_RELEASE_VALUE = 2;
public static final int M_RELEASE_R_VALUE = 3;
public static final int M_CREATE_VALUE = 4;
public static final int M_CREATE_R_VALUE = 5;
public static final int M_DELETE_VALUE = 6;
public static final int M_DELETE_R_VALUE = 7;
public static final int M_READ_VALUE = 8;
public static final int M_READ_R_VALUE = 9;
public static final int M_CANCELREAD_VALUE = 10;
public static final int M_CANCELREAD_R_VALUE = 11;
public static final int M_WRITE_VALUE = 12;
public static final int M_WRITE_R_VALUE = 13;
public static final int M_START_VALUE = 14;
public static final int M_START_R_VALUE = 15;
public static final int M_STOP_VALUE = 16;
public static final int M_STOP_R_VALUE = 17;
public final int getNumber() { return value; }
public static opCode_t valueOf(int value) {
switch (value) {
case 0: return M_CONNECT;
case 1: return M_CONNECT_R;
case 2: return M_RELEASE;
case 3: return M_RELEASE_R;
case 4: return M_CREATE;
case 5: return M_CREATE_R;
case 6: return M_DELETE;
case 7: return M_DELETE_R;
case 8: return M_READ;
case 9: return M_READ_R;
case 10: return M_CANCELREAD;
case 11: return M_CANCELREAD_R;
case 12: return M_WRITE;
case 13: return M_WRITE_R;
case 14: return M_START;
case 15: return M_START_R;
case 16: return M_STOP;
case 17: return M_STOP_R;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<opCode_t>
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap<opCode_t>
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<opCode_t>() {
public opCode_t findValueByNumber(int number) {
return opCode_t.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return rina.message.CDAP.getDescriptor().getEnumTypes().get(0);
}
private static final opCode_t[] VALUES = {
M_CONNECT, M_CONNECT_R, M_RELEASE, M_RELEASE_R, M_CREATE, M_CREATE_R, M_DELETE, M_DELETE_R, M_READ, M_READ_R, M_CANCELREAD, M_CANCELREAD_R, M_WRITE, M_WRITE_R, M_START, M_START_R, M_STOP, M_STOP_R,
};
public static opCode_t valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private opCode_t(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:rina.cdap.impl.googleprotobuf.opCode_t)
}
public enum flagValues_t
implements com.google.protobuf.ProtocolMessageEnum {
F_NO_FLAGS(0, 0),
F_SYNC(1, 1),
F_RD_INCOMPLETE(2, 2),
;
public static final int F_NO_FLAGS_VALUE = 0;
public static final int F_SYNC_VALUE = 1;
public static final int F_RD_INCOMPLETE_VALUE = 2;
public final int getNumber() { return value; }
public static flagValues_t valueOf(int value) {
switch (value) {
case 0: return F_NO_FLAGS;
case 1: return F_SYNC;
case 2: return F_RD_INCOMPLETE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<flagValues_t>
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap<flagValues_t>
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<flagValues_t>() {
public flagValues_t findValueByNumber(int number) {
return flagValues_t.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return rina.message.CDAP.getDescriptor().getEnumTypes().get(1);
}
private static final flagValues_t[] VALUES = {
F_NO_FLAGS, F_SYNC, F_RD_INCOMPLETE,
};
public static flagValues_t valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private flagValues_t(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:rina.cdap.impl.googleprotobuf.flagValues_t)
}
public enum authTypes_t
implements com.google.protobuf.ProtocolMessageEnum {
AUTH_NONE(0, 0),
AUTH_PASSWD(1, 1),
AUTH_SSHRSA(2, 2),
AUTH_SSHDSA(3, 3),
;
public static final int AUTH_NONE_VALUE = 0;
public static final int AUTH_PASSWD_VALUE = 1;
public static final int AUTH_SSHRSA_VALUE = 2;
public static final int AUTH_SSHDSA_VALUE = 3;
public final int getNumber() { return value; }
public static authTypes_t valueOf(int value) {
switch (value) {
case 0: return AUTH_NONE;
case 1: return AUTH_PASSWD;
case 2: return AUTH_SSHRSA;
case 3: return AUTH_SSHDSA;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<authTypes_t>
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap<authTypes_t>
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<authTypes_t>() {
public authTypes_t findValueByNumber(int number) {
return authTypes_t.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return rina.message.CDAP.getDescriptor().getEnumTypes().get(2);
}
private static final authTypes_t[] VALUES = {
AUTH_NONE, AUTH_PASSWD, AUTH_SSHRSA, AUTH_SSHDSA,
};
public static authTypes_t valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private authTypes_t(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:rina.cdap.impl.googleprotobuf.authTypes_t)
}
public interface objVal_tOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional int32 intval = 1;
boolean hasIntval();
int getIntval();
// optional sint32 sintval = 2;
boolean hasSintval();
int getSintval();
// optional int64 int64val = 3;
boolean hasInt64Val();
long getInt64Val();
// optional sint64 sint64val = 4;
boolean hasSint64Val();
long getSint64Val();
// optional string strval = 5;
boolean hasStrval();
String getStrval();
// optional bytes byteval = 6;
boolean hasByteval();
com.google.protobuf.ByteString getByteval();
// optional fixed32 floatval = 7;
boolean hasFloatval();
int getFloatval();
// optional fixed64 doubleval = 8;
boolean hasDoubleval();
long getDoubleval();
// optional bool boolval = 9;
boolean hasBoolval();
boolean getBoolval();
}
public static final class objVal_t extends
com.google.protobuf.GeneratedMessage
implements objVal_tOrBuilder {
// Use objVal_t.newBuilder() to construct.
private objVal_t(Builder builder) {
super(builder);
}
private objVal_t(boolean noInit) {}
private static final objVal_t defaultInstance;
public static objVal_t getDefaultInstance() {
return defaultInstance;
}
public objVal_t getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return rina.message.CDAP.internal_static_rina_cdap_impl_googleprotobuf_objVal_t_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return rina.message.CDAP.internal_static_rina_cdap_impl_googleprotobuf_objVal_t_fieldAccessorTable;
}
private int bitField0_;
// optional int32 intval = 1;
public static final int INTVAL_FIELD_NUMBER = 1;
private int intval_;
public boolean hasIntval() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getIntval() {
return intval_;
}
// optional sint32 sintval = 2;
public static final int SINTVAL_FIELD_NUMBER = 2;
private int sintval_;
public boolean hasSintval() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public int getSintval() {
return sintval_;
}
// optional int64 int64val = 3;
public static final int INT64VAL_FIELD_NUMBER = 3;
private long int64Val_;
public boolean hasInt64Val() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public long getInt64Val() {
return int64Val_;
}
// optional sint64 sint64val = 4;
public static final int SINT64VAL_FIELD_NUMBER = 4;
private long sint64Val_;
public boolean hasSint64Val() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public long getSint64Val() {
return sint64Val_;
}
// optional string strval = 5;
public static final int STRVAL_FIELD_NUMBER = 5;
private java.lang.Object strval_;
public boolean hasStrval() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public String getStrval() {
java.lang.Object ref = strval_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
strval_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getStrvalBytes() {
java.lang.Object ref = strval_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
strval_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional bytes byteval = 6;
public static final int BYTEVAL_FIELD_NUMBER = 6;
private com.google.protobuf.ByteString byteval_;
public boolean hasByteval() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public com.google.protobuf.ByteString getByteval() {
return byteval_;
}
// optional fixed32 floatval = 7;
public static final int FLOATVAL_FIELD_NUMBER = 7;
private int floatval_;
public boolean hasFloatval() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
public int getFloatval() {
return floatval_;
}
// optional fixed64 doubleval = 8;
public static final int DOUBLEVAL_FIELD_NUMBER = 8;
private long doubleval_;
public boolean hasDoubleval() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
public long getDoubleval() {
return doubleval_;
}
// optional bool boolval = 9;
public static final int BOOLVAL_FIELD_NUMBER = 9;
private boolean boolval_;
public boolean hasBoolval() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
public boolean getBoolval() {
return boolval_;
}
private void initFields() {
intval_ = 0;
sintval_ = 0;
int64Val_ = 0L;
sint64Val_ = 0L;
strval_ = "";
byteval_ = com.google.protobuf.ByteString.EMPTY;
floatval_ = 0;
doubleval_ = 0L;
boolval_ = false;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, intval_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeSInt32(2, sintval_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt64(3, int64Val_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeSInt64(4, sint64Val_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBytes(5, getStrvalBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBytes(6, byteval_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeFixed32(7, floatval_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeFixed64(8, doubleval_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeBool(9, boolval_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, intval_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeSInt32Size(2, sintval_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, int64Val_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeSInt64Size(4, sint64Val_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, getStrvalBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(6, byteval_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed32Size(7, floatval_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeFixed64Size(8, doubleval_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(9, boolval_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static rina.message.CDAP.objVal_t parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static rina.message.CDAP.objVal_t parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static rina.message.CDAP.objVal_t parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static rina.message.CDAP.objVal_t parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static rina.message.CDAP.objVal_t parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static rina.message.CDAP.objVal_t parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static rina.message.CDAP.objVal_t parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static rina.message.CDAP.objVal_t 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 rina.message.CDAP.objVal_t parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static rina.message.CDAP.objVal_t 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 Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(rina.message.CDAP.objVal_t prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements rina.message.CDAP.objVal_tOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return rina.message.CDAP.internal_static_rina_cdap_impl_googleprotobuf_objVal_t_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return rina.message.CDAP.internal_static_rina_cdap_impl_googleprotobuf_objVal_t_fieldAccessorTable;
}
// Construct using rina.cdap.impl.googleprotobuf.CDAP.objVal_t.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
intval_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
sintval_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
int64Val_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
sint64Val_ = 0L;
bitField0_ = (bitField0_ & ~0x00000008);
strval_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
byteval_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000020);
floatval_ = 0;
bitField0_ = (bitField0_ & ~0x00000040);
doubleval_ = 0L;
bitField0_ = (bitField0_ & ~0x00000080);
boolval_ = false;
bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return rina.message.CDAP.objVal_t.getDescriptor();
}
public rina.message.CDAP.objVal_t getDefaultInstanceForType() {
return rina.message.CDAP.objVal_t.getDefaultInstance();
}
public rina.message.CDAP.objVal_t build() {
rina.message.CDAP.objVal_t result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private rina.message.CDAP.objVal_t buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
rina.message.CDAP.objVal_t result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public rina.message.CDAP.objVal_t buildPartial() {
rina.message.CDAP.objVal_t result = new rina.message.CDAP.objVal_t(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.intval_ = intval_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.sintval_ = sintval_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.int64Val_ = int64Val_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.sint64Val_ = sint64Val_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.strval_ = strval_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.byteval_ = byteval_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.floatval_ = floatval_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.doubleval_ = doubleval_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000100;
}
result.boolval_ = boolval_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof rina.message.CDAP.objVal_t) {
return mergeFrom((rina.message.CDAP.objVal_t)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(rina.message.CDAP.objVal_t other) {
if (other == rina.message.CDAP.objVal_t.getDefaultInstance()) return this;
if (other.hasIntval()) {
setIntval(other.getIntval());
}
if (other.hasSintval()) {
setSintval(other.getSintval());
}
if (other.hasInt64Val()) {
setInt64Val(other.getInt64Val());
}
if (other.hasSint64Val()) {
setSint64Val(other.getSint64Val());
}
if (other.hasStrval()) {
setStrval(other.getStrval());
}
if (other.hasByteval()) {
setByteval(other.getByteval());
}
if (other.hasFloatval()) {
setFloatval(other.getFloatval());
}
if (other.hasDoubleval()) {
setDoubleval(other.getDoubleval());
}
if (other.hasBoolval()) {
setBoolval(other.getBoolval());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
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());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
intval_ = input.readInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
sintval_ = input.readSInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
int64Val_ = input.readInt64();
break;
}
case 32: {
bitField0_ |= 0x00000008;
sint64Val_ = input.readSInt64();
break;
}
case 42: {
bitField0_ |= 0x00000010;
strval_ = input.readBytes();
break;
}
case 50: {
bitField0_ |= 0x00000020;
byteval_ = input.readBytes();
break;
}
case 61: {
bitField0_ |= 0x00000040;
floatval_ = input.readFixed32();
break;
}
case 65: {
bitField0_ |= 0x00000080;
doubleval_ = input.readFixed64();
break;
}
case 72: {
bitField0_ |= 0x00000100;
boolval_ = input.readBool();
break;
}
}
}
}
private int bitField0_;
// optional int32 intval = 1;
private int intval_ ;
public boolean hasIntval() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getIntval() {
return intval_;
}
public Builder setIntval(int value) {
bitField0_ |= 0x00000001;
intval_ = value;
onChanged();
return this;
}
public Builder clearIntval() {
bitField0_ = (bitField0_ & ~0x00000001);
intval_ = 0;
onChanged();
return this;
}
// optional sint32 sintval = 2;
private int sintval_ ;
public boolean hasSintval() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public int getSintval() {
return sintval_;
}
public Builder setSintval(int value) {
bitField0_ |= 0x00000002;
sintval_ = value;
onChanged();
return this;
}
public Builder clearSintval() {
bitField0_ = (bitField0_ & ~0x00000002);
sintval_ = 0;
onChanged();
return this;
}
// optional int64 int64val = 3;
private long int64Val_ ;
public boolean hasInt64Val() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public long getInt64Val() {
return int64Val_;
}
public Builder setInt64Val(long value) {
bitField0_ |= 0x00000004;
int64Val_ = value;
onChanged();
return this;
}
public Builder clearInt64Val() {
bitField0_ = (bitField0_ & ~0x00000004);
int64Val_ = 0L;
onChanged();
return this;
}
// optional sint64 sint64val = 4;
private long sint64Val_ ;
public boolean hasSint64Val() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public long getSint64Val() {
return sint64Val_;
}
public Builder setSint64Val(long value) {
bitField0_ |= 0x00000008;
sint64Val_ = value;
onChanged();
return this;
}
public Builder clearSint64Val() {
bitField0_ = (bitField0_ & ~0x00000008);
sint64Val_ = 0L;
onChanged();
return this;
}
// optional string strval = 5;
private java.lang.Object strval_ = "";
public boolean hasStrval() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public String getStrval() {
java.lang.Object ref = strval_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
strval_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setStrval(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
strval_ = value;
onChanged();
return this;
}
public Builder clearStrval() {
bitField0_ = (bitField0_ & ~0x00000010);
strval_ = getDefaultInstance().getStrval();
onChanged();
return this;
}
void setStrval(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000010;
strval_ = value;
onChanged();
}
// optional bytes byteval = 6;
private com.google.protobuf.ByteString byteval_ = com.google.protobuf.ByteString.EMPTY;
public boolean hasByteval() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public com.google.protobuf.ByteString getByteval() {
return byteval_;
}
public Builder setByteval(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
byteval_ = value;
onChanged();
return this;
}
public Builder clearByteval() {
bitField0_ = (bitField0_ & ~0x00000020);
byteval_ = getDefaultInstance().getByteval();
onChanged();
return this;
}
// optional fixed32 floatval = 7;
private int floatval_ ;
public boolean hasFloatval() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
public int getFloatval() {
return floatval_;
}
public Builder setFloatval(int value) {
bitField0_ |= 0x00000040;
floatval_ = value;
onChanged();
return this;
}
public Builder clearFloatval() {
bitField0_ = (bitField0_ & ~0x00000040);
floatval_ = 0;
onChanged();
return this;
}
// optional fixed64 doubleval = 8;
private long doubleval_ ;
public boolean hasDoubleval() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
public long getDoubleval() {
return doubleval_;
}
public Builder setDoubleval(long value) {
bitField0_ |= 0x00000080;
doubleval_ = value;
onChanged();
return this;
}
public Builder clearDoubleval() {
bitField0_ = (bitField0_ & ~0x00000080);
doubleval_ = 0L;
onChanged();
return this;
}
// optional bool boolval = 9;
private boolean boolval_ ;
public boolean hasBoolval() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
public boolean getBoolval() {
return boolval_;
}
public Builder setBoolval(boolean value) {
bitField0_ |= 0x00000100;
boolval_ = value;
onChanged();
return this;
}
public Builder clearBoolval() {
bitField0_ = (bitField0_ & ~0x00000100);
boolval_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:rina.cdap.impl.googleprotobuf.objVal_t)
}
static {
defaultInstance = new objVal_t(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:rina.cdap.impl.googleprotobuf.objVal_t)
}
public interface authValue_tOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional string authName = 1;
boolean hasAuthName();
String getAuthName();
// optional string authPassword = 2;
boolean hasAuthPassword();
String getAuthPassword();
// optional bytes authOther = 3;
boolean hasAuthOther();
com.google.protobuf.ByteString getAuthOther();
}
public static final class authValue_t extends
com.google.protobuf.GeneratedMessage
implements authValue_tOrBuilder {
// Use authValue_t.newBuilder() to construct.
private authValue_t(Builder builder) {
super(builder);
}
private authValue_t(boolean noInit) {}
private static final authValue_t defaultInstance;
public static authValue_t getDefaultInstance() {
return defaultInstance;
}
public authValue_t getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return rina.message.CDAP.internal_static_rina_cdap_impl_googleprotobuf_authValue_t_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return rina.message.CDAP.internal_static_rina_cdap_impl_googleprotobuf_authValue_t_fieldAccessorTable;
}
private int bitField0_;
// optional string authName = 1;
public static final int AUTHNAME_FIELD_NUMBER = 1;
private java.lang.Object authName_;
public boolean hasAuthName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getAuthName() {
java.lang.Object ref = authName_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
authName_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getAuthNameBytes() {
java.lang.Object ref = authName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
authName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string authPassword = 2;
public static final int AUTHPASSWORD_FIELD_NUMBER = 2;
private java.lang.Object authPassword_;
public boolean hasAuthPassword() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getAuthPassword() {
java.lang.Object ref = authPassword_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
authPassword_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getAuthPasswordBytes() {
java.lang.Object ref = authPassword_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
authPassword_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional bytes authOther = 3;
public static final int AUTHOTHER_FIELD_NUMBER = 3;
private com.google.protobuf.ByteString authOther_;
public boolean hasAuthOther() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public com.google.protobuf.ByteString getAuthOther() {
return authOther_;
}
private void initFields() {
authName_ = "";
authPassword_ = "";
authOther_ = com.google.protobuf.ByteString.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getAuthNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getAuthPasswordBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, authOther_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getAuthNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getAuthPasswordBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, authOther_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static rina.message.CDAP.authValue_t parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static rina.message.CDAP.authValue_t parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static rina.message.CDAP.authValue_t parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static rina.message.CDAP.authValue_t parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static rina.message.CDAP.authValue_t parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static rina.message.CDAP.authValue_t parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static rina.message.CDAP.authValue_t parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static rina.message.CDAP.authValue_t 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 rina.message.CDAP.authValue_t parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static rina.message.CDAP.authValue_t 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 Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(rina.message.CDAP.authValue_t prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements rina.message.CDAP.authValue_tOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return rina.message.CDAP.internal_static_rina_cdap_impl_googleprotobuf_authValue_t_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return rina.message.CDAP.internal_static_rina_cdap_impl_googleprotobuf_authValue_t_fieldAccessorTable;
}
// Construct using rina.cdap.impl.googleprotobuf.CDAP.authValue_t.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
authName_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
authPassword_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
authOther_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return rina.message.CDAP.authValue_t.getDescriptor();
}
public rina.message.CDAP.authValue_t getDefaultInstanceForType() {
return rina.message.CDAP.authValue_t.getDefaultInstance();
}
public rina.message.CDAP.authValue_t build() {
rina.message.CDAP.authValue_t result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private rina.message.CDAP.authValue_t buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
rina.message.CDAP.authValue_t result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public rina.message.CDAP.authValue_t buildPartial() {
rina.message.CDAP.authValue_t result = new rina.message.CDAP.authValue_t(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.authName_ = authName_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.authPassword_ = authPassword_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.authOther_ = authOther_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof rina.message.CDAP.authValue_t) {
return mergeFrom((rina.message.CDAP.authValue_t)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(rina.message.CDAP.authValue_t other) {
if (other == rina.message.CDAP.authValue_t.getDefaultInstance()) return this;
if (other.hasAuthName()) {
setAuthName(other.getAuthName());
}
if (other.hasAuthPassword()) {
setAuthPassword(other.getAuthPassword());
}
if (other.hasAuthOther()) {
setAuthOther(other.getAuthOther());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
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());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
authName_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
authPassword_ = input.readBytes();
break;
}
case 26: {
bitField0_ |= 0x00000004;
authOther_ = input.readBytes();
break;
}
}
}
}
private int bitField0_;
// optional string authName = 1;
private java.lang.Object authName_ = "";
public boolean hasAuthName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getAuthName() {
java.lang.Object ref = authName_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
authName_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setAuthName(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
authName_ = value;
onChanged();
return this;
}
public Builder clearAuthName() {
bitField0_ = (bitField0_ & ~0x00000001);
authName_ = getDefaultInstance().getAuthName();
onChanged();
return this;
}
void setAuthName(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000001;
authName_ = value;
onChanged();
}
// optional string authPassword = 2;
private java.lang.Object authPassword_ = "";
public boolean hasAuthPassword() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getAuthPassword() {
java.lang.Object ref = authPassword_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
authPassword_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setAuthPassword(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
authPassword_ = value;
onChanged();
return this;
}
public Builder clearAuthPassword() {
bitField0_ = (bitField0_ & ~0x00000002);
authPassword_ = getDefaultInstance().getAuthPassword();
onChanged();
return this;
}
void setAuthPassword(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000002;
authPassword_ = value;
onChanged();
}
// optional bytes authOther = 3;
private com.google.protobuf.ByteString authOther_ = com.google.protobuf.ByteString.EMPTY;
public boolean hasAuthOther() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public com.google.protobuf.ByteString getAuthOther() {
return authOther_;
}
public Builder setAuthOther(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
authOther_ = value;
onChanged();
return this;
}
public Builder clearAuthOther() {
bitField0_ = (bitField0_ & ~0x00000004);
authOther_ = getDefaultInstance().getAuthOther();
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:rina.cdap.impl.googleprotobuf.authValue_t)
}
static {
defaultInstance = new authValue_t(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:rina.cdap.impl.googleprotobuf.authValue_t)
}
public interface CDAPMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional int32 absSyntax = 1;
boolean hasAbsSyntax();
int getAbsSyntax();
// required .rina.cdap.impl.googleprotobuf.opCode_t opCode = 2;
boolean hasOpCode();
rina.message.CDAP.opCode_t getOpCode();
// optional int32 invokeID = 3;
boolean hasInvokeID();
int getInvokeID();
// optional .rina.cdap.impl.googleprotobuf.flagValues_t flags = 4;
boolean hasFlags();
rina.message.CDAP.flagValues_t getFlags();
// optional string objClass = 5;
boolean hasObjClass();
String getObjClass();
// optional string objName = 6;
boolean hasObjName();
String getObjName();
// optional int64 objInst = 7;
boolean hasObjInst();
long getObjInst();
// optional .rina.cdap.impl.googleprotobuf.objVal_t objValue = 8;
boolean hasObjValue();
rina.message.CDAP.objVal_t getObjValue();
rina.message.CDAP.objVal_tOrBuilder getObjValueOrBuilder();
// optional int32 result = 9 [default = 0];
boolean hasResult();
int getResult();
// optional int32 scope = 10;
boolean hasScope();
int getScope();
// optional bytes filter = 11;
boolean hasFilter();
com.google.protobuf.ByteString getFilter();
// optional .rina.cdap.impl.googleprotobuf.authTypes_t authMech = 17;
boolean hasAuthMech();
rina.message.CDAP.authTypes_t getAuthMech();
// optional .rina.cdap.impl.googleprotobuf.authValue_t authValue = 18;
boolean hasAuthValue();
rina.message.CDAP.authValue_t getAuthValue();
rina.message.CDAP.authValue_tOrBuilder getAuthValueOrBuilder();
// optional string destAEInst = 19;
boolean hasDestAEInst();
String getDestAEInst();
// optional string destAEName = 20;
boolean hasDestAEName();
String getDestAEName();
// optional string destApInst = 21;
boolean hasDestApInst();
String getDestApInst();
// optional string destApName = 22;
boolean hasDestApName();
String getDestApName();
// optional string srcAEInst = 23;
boolean hasSrcAEInst();
String getSrcAEInst();
// optional string srcAEName = 24;
boolean hasSrcAEName();
String getSrcAEName();
// optional string srcApInst = 25;
boolean hasSrcApInst();
String getSrcApInst();
// optional string srcApName = 26;
boolean hasSrcApName();
String getSrcApName();
// optional string resultReason = 27;
boolean hasResultReason();
String getResultReason();
// optional int64 version = 28;
boolean hasVersion();
long getVersion();
}
public static final class CDAPMessage extends
com.google.protobuf.GeneratedMessage
implements CDAPMessageOrBuilder {
// Use CDAPMessage.newBuilder() to construct.
private CDAPMessage(Builder builder) {
super(builder);
}
private CDAPMessage(boolean noInit) {}
private static final CDAPMessage defaultInstance;
public static CDAPMessage getDefaultInstance() {
return defaultInstance;
}
public CDAPMessage getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return rina.message.CDAP.internal_static_rina_cdap_impl_googleprotobuf_CDAPMessage_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return rina.message.CDAP.internal_static_rina_cdap_impl_googleprotobuf_CDAPMessage_fieldAccessorTable;
}
private int bitField0_;
// optional int32 absSyntax = 1;
public static final int ABSSYNTAX_FIELD_NUMBER = 1;
private int absSyntax_;
public boolean hasAbsSyntax() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getAbsSyntax() {
return absSyntax_;
}
// required .rina.cdap.impl.googleprotobuf.opCode_t opCode = 2;
public static final int OPCODE_FIELD_NUMBER = 2;
private rina.message.CDAP.opCode_t opCode_;
public boolean hasOpCode() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public rina.message.CDAP.opCode_t getOpCode() {
return opCode_;
}
// optional int32 invokeID = 3;
public static final int INVOKEID_FIELD_NUMBER = 3;
private int invokeID_;
public boolean hasInvokeID() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public int getInvokeID() {
return invokeID_;
}
// optional .rina.cdap.impl.googleprotobuf.flagValues_t flags = 4;
public static final int FLAGS_FIELD_NUMBER = 4;
private rina.message.CDAP.flagValues_t flags_;
public boolean hasFlags() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public rina.message.CDAP.flagValues_t getFlags() {
return flags_;
}
// optional string objClass = 5;
public static final int OBJCLASS_FIELD_NUMBER = 5;
private java.lang.Object objClass_;
public boolean hasObjClass() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public String getObjClass() {
java.lang.Object ref = objClass_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
objClass_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getObjClassBytes() {
java.lang.Object ref = objClass_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
objClass_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string objName = 6;
public static final int OBJNAME_FIELD_NUMBER = 6;
private java.lang.Object objName_;
public boolean hasObjName() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public String getObjName() {
java.lang.Object ref = objName_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
objName_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getObjNameBytes() {
java.lang.Object ref = objName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
objName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional int64 objInst = 7;
public static final int OBJINST_FIELD_NUMBER = 7;
private long objInst_;
public boolean hasObjInst() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
public long getObjInst() {
return objInst_;
}
// optional .rina.cdap.impl.googleprotobuf.objVal_t objValue = 8;
public static final int OBJVALUE_FIELD_NUMBER = 8;
private rina.message.CDAP.objVal_t objValue_;
public boolean hasObjValue() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
public rina.message.CDAP.objVal_t getObjValue() {
return objValue_;
}
public rina.message.CDAP.objVal_tOrBuilder getObjValueOrBuilder() {
return objValue_;
}
// optional int32 result = 9 [default = 0];
public static final int RESULT_FIELD_NUMBER = 9;
private int result_;
public boolean hasResult() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
public int getResult() {
return result_;
}
// optional int32 scope = 10;
public static final int SCOPE_FIELD_NUMBER = 10;
private int scope_;
public boolean hasScope() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
public int getScope() {
return scope_;
}
// optional bytes filter = 11;
public static final int FILTER_FIELD_NUMBER = 11;
private com.google.protobuf.ByteString filter_;
public boolean hasFilter() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
public com.google.protobuf.ByteString getFilter() {
return filter_;
}
// optional .rina.cdap.impl.googleprotobuf.authTypes_t authMech = 17;
public static final int AUTHMECH_FIELD_NUMBER = 17;
private rina.message.CDAP.authTypes_t authMech_;
public boolean hasAuthMech() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
public rina.message.CDAP.authTypes_t getAuthMech() {
return authMech_;
}
// optional .rina.cdap.impl.googleprotobuf.authValue_t authValue = 18;
public static final int AUTHVALUE_FIELD_NUMBER = 18;
private rina.message.CDAP.authValue_t authValue_;
public boolean hasAuthValue() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
public rina.message.CDAP.authValue_t getAuthValue() {
return authValue_;
}
public rina.message.CDAP.authValue_tOrBuilder getAuthValueOrBuilder() {
return authValue_;
}
// optional string destAEInst = 19;
public static final int DESTAEINST_FIELD_NUMBER = 19;
private java.lang.Object destAEInst_;
public boolean hasDestAEInst() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
public String getDestAEInst() {
java.lang.Object ref = destAEInst_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
destAEInst_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getDestAEInstBytes() {
java.lang.Object ref = destAEInst_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
destAEInst_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string destAEName = 20;
public static final int DESTAENAME_FIELD_NUMBER = 20;
private java.lang.Object destAEName_;
public boolean hasDestAEName() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
public String getDestAEName() {
java.lang.Object ref = destAEName_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
destAEName_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getDestAENameBytes() {
java.lang.Object ref = destAEName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
destAEName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string destApInst = 21;
public static final int DESTAPINST_FIELD_NUMBER = 21;
private java.lang.Object destApInst_;
public boolean hasDestApInst() {
return ((bitField0_ & 0x00008000) == 0x00008000);
}
public String getDestApInst() {
java.lang.Object ref = destApInst_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
destApInst_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getDestApInstBytes() {
java.lang.Object ref = destApInst_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
destApInst_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string destApName = 22;
public static final int DESTAPNAME_FIELD_NUMBER = 22;
private java.lang.Object destApName_;
public boolean hasDestApName() {
return ((bitField0_ & 0x00010000) == 0x00010000);
}
public String getDestApName() {
java.lang.Object ref = destApName_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
destApName_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getDestApNameBytes() {
java.lang.Object ref = destApName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
destApName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string srcAEInst = 23;
public static final int SRCAEINST_FIELD_NUMBER = 23;
private java.lang.Object srcAEInst_;
public boolean hasSrcAEInst() {
return ((bitField0_ & 0x00020000) == 0x00020000);
}
public String getSrcAEInst() {
java.lang.Object ref = srcAEInst_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
srcAEInst_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getSrcAEInstBytes() {
java.lang.Object ref = srcAEInst_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
srcAEInst_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string srcAEName = 24;
public static final int SRCAENAME_FIELD_NUMBER = 24;
private java.lang.Object srcAEName_;
public boolean hasSrcAEName() {
return ((bitField0_ & 0x00040000) == 0x00040000);
}
public String getSrcAEName() {
java.lang.Object ref = srcAEName_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
srcAEName_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getSrcAENameBytes() {
java.lang.Object ref = srcAEName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
srcAEName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string srcApInst = 25;
public static final int SRCAPINST_FIELD_NUMBER = 25;
private java.lang.Object srcApInst_;
public boolean hasSrcApInst() {
return ((bitField0_ & 0x00080000) == 0x00080000);
}
public String getSrcApInst() {
java.lang.Object ref = srcApInst_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
srcApInst_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getSrcApInstBytes() {
java.lang.Object ref = srcApInst_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
srcApInst_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string srcApName = 26;
public static final int SRCAPNAME_FIELD_NUMBER = 26;
private java.lang.Object srcApName_;
public boolean hasSrcApName() {
return ((bitField0_ & 0x00100000) == 0x00100000);
}
public String getSrcApName() {
java.lang.Object ref = srcApName_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
srcApName_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getSrcApNameBytes() {
java.lang.Object ref = srcApName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
srcApName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string resultReason = 27;
public static final int RESULTREASON_FIELD_NUMBER = 27;
private java.lang.Object resultReason_;
public boolean hasResultReason() {
return ((bitField0_ & 0x00200000) == 0x00200000);
}
public String getResultReason() {
java.lang.Object ref = resultReason_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
resultReason_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getResultReasonBytes() {
java.lang.Object ref = resultReason_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
resultReason_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional int64 version = 28;
public static final int VERSION_FIELD_NUMBER = 28;
private long version_;
public boolean hasVersion() {
return ((bitField0_ & 0x00400000) == 0x00400000);
}
public long getVersion() {
return version_;
}
private void initFields() {
absSyntax_ = 0;
opCode_ = rina.message.CDAP.opCode_t.M_CONNECT;
invokeID_ = 0;
flags_ = rina.message.CDAP.flagValues_t.F_NO_FLAGS;
objClass_ = "";
objName_ = "";
objInst_ = 0L;
objValue_ = rina.message.CDAP.objVal_t.getDefaultInstance();
result_ = 0;
scope_ = 0;
filter_ = com.google.protobuf.ByteString.EMPTY;
authMech_ = rina.message.CDAP.authTypes_t.AUTH_NONE;
authValue_ = rina.message.CDAP.authValue_t.getDefaultInstance();
destAEInst_ = "";
destAEName_ = "";
destApInst_ = "";
destApName_ = "";
srcAEInst_ = "";
srcAEName_ = "";
srcApInst_ = "";
srcApName_ = "";
resultReason_ = "";
version_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
if (!hasOpCode()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeInt32(1, absSyntax_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeEnum(2, opCode_.getNumber());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, invokeID_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeEnum(4, flags_.getNumber());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBytes(5, getObjClassBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBytes(6, getObjNameBytes());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeInt64(7, objInst_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeMessage(8, objValue_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeInt32(9, result_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeInt32(10, scope_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
output.writeBytes(11, filter_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
output.writeEnum(17, authMech_.getNumber());
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
output.writeMessage(18, authValue_);
}
if (((bitField0_ & 0x00002000) == 0x00002000)) {
output.writeBytes(19, getDestAEInstBytes());
}
if (((bitField0_ & 0x00004000) == 0x00004000)) {
output.writeBytes(20, getDestAENameBytes());
}
if (((bitField0_ & 0x00008000) == 0x00008000)) {
output.writeBytes(21, getDestApInstBytes());
}
if (((bitField0_ & 0x00010000) == 0x00010000)) {
output.writeBytes(22, getDestApNameBytes());
}
if (((bitField0_ & 0x00020000) == 0x00020000)) {
output.writeBytes(23, getSrcAEInstBytes());
}
if (((bitField0_ & 0x00040000) == 0x00040000)) {
output.writeBytes(24, getSrcAENameBytes());
}
if (((bitField0_ & 0x00080000) == 0x00080000)) {
output.writeBytes(25, getSrcApInstBytes());
}
if (((bitField0_ & 0x00100000) == 0x00100000)) {
output.writeBytes(26, getSrcApNameBytes());
}
if (((bitField0_ & 0x00200000) == 0x00200000)) {
output.writeBytes(27, getResultReasonBytes());
}
if (((bitField0_ & 0x00400000) == 0x00400000)) {
output.writeInt64(28, version_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(1, absSyntax_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, opCode_.getNumber());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, invokeID_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, flags_.getNumber());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, getObjClassBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(6, getObjNameBytes());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, objInst_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, objValue_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(9, result_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(10, scope_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(11, filter_);
}
if (((bitField0_ & 0x00000800) == 0x00000800)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(17, authMech_.getNumber());
}
if (((bitField0_ & 0x00001000) == 0x00001000)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, authValue_);
}
if (((bitField0_ & 0x00002000) == 0x00002000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(19, getDestAEInstBytes());
}
if (((bitField0_ & 0x00004000) == 0x00004000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(20, getDestAENameBytes());
}
if (((bitField0_ & 0x00008000) == 0x00008000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(21, getDestApInstBytes());
}
if (((bitField0_ & 0x00010000) == 0x00010000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(22, getDestApNameBytes());
}
if (((bitField0_ & 0x00020000) == 0x00020000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(23, getSrcAEInstBytes());
}
if (((bitField0_ & 0x00040000) == 0x00040000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(24, getSrcAENameBytes());
}
if (((bitField0_ & 0x00080000) == 0x00080000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(25, getSrcApInstBytes());
}
if (((bitField0_ & 0x00100000) == 0x00100000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(26, getSrcApNameBytes());
}
if (((bitField0_ & 0x00200000) == 0x00200000)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(27, getResultReasonBytes());
}
if (((bitField0_ & 0x00400000) == 0x00400000)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(28, version_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static rina.message.CDAP.CDAPMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static rina.message.CDAP.CDAPMessage parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static rina.message.CDAP.CDAPMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static rina.message.CDAP.CDAPMessage parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static rina.message.CDAP.CDAPMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static rina.message.CDAP.CDAPMessage parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static rina.message.CDAP.CDAPMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static rina.message.CDAP.CDAPMessage 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 rina.message.CDAP.CDAPMessage parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static rina.message.CDAP.CDAPMessage 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 Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(rina.message.CDAP.CDAPMessage prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements rina.message.CDAP.CDAPMessageOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return rina.message.CDAP.internal_static_rina_cdap_impl_googleprotobuf_CDAPMessage_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return rina.message.CDAP.internal_static_rina_cdap_impl_googleprotobuf_CDAPMessage_fieldAccessorTable;
}
// Construct using rina.cdap.impl.googleprotobuf.CDAP.CDAPMessage.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getObjValueFieldBuilder();
getAuthValueFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
absSyntax_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
opCode_ = rina.message.CDAP.opCode_t.M_CONNECT;
bitField0_ = (bitField0_ & ~0x00000002);
invokeID_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
flags_ = rina.message.CDAP.flagValues_t.F_NO_FLAGS;
bitField0_ = (bitField0_ & ~0x00000008);
objClass_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
objName_ = "";
bitField0_ = (bitField0_ & ~0x00000020);
objInst_ = 0L;
bitField0_ = (bitField0_ & ~0x00000040);
if (objValueBuilder_ == null) {
objValue_ = rina.message.CDAP.objVal_t.getDefaultInstance();
} else {
objValueBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000080);
result_ = 0;
bitField0_ = (bitField0_ & ~0x00000100);
scope_ = 0;
bitField0_ = (bitField0_ & ~0x00000200);
filter_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000400);
authMech_ = rina.message.CDAP.authTypes_t.AUTH_NONE;
bitField0_ = (bitField0_ & ~0x00000800);
if (authValueBuilder_ == null) {
authValue_ = rina.message.CDAP.authValue_t.getDefaultInstance();
} else {
authValueBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00001000);
destAEInst_ = "";
bitField0_ = (bitField0_ & ~0x00002000);
destAEName_ = "";
bitField0_ = (bitField0_ & ~0x00004000);
destApInst_ = "";
bitField0_ = (bitField0_ & ~0x00008000);
destApName_ = "";
bitField0_ = (bitField0_ & ~0x00010000);
srcAEInst_ = "";
bitField0_ = (bitField0_ & ~0x00020000);
srcAEName_ = "";
bitField0_ = (bitField0_ & ~0x00040000);
srcApInst_ = "";
bitField0_ = (bitField0_ & ~0x00080000);
srcApName_ = "";
bitField0_ = (bitField0_ & ~0x00100000);
resultReason_ = "";
bitField0_ = (bitField0_ & ~0x00200000);
version_ = 0L;
bitField0_ = (bitField0_ & ~0x00400000);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return rina.message.CDAP.CDAPMessage.getDescriptor();
}
public rina.message.CDAP.CDAPMessage getDefaultInstanceForType() {
return rina.message.CDAP.CDAPMessage.getDefaultInstance();
}
public rina.message.CDAP.CDAPMessage build() {
rina.message.CDAP.CDAPMessage result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private rina.message.CDAP.CDAPMessage buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
rina.message.CDAP.CDAPMessage result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public rina.message.CDAP.CDAPMessage buildPartial() {
rina.message.CDAP.CDAPMessage result = new rina.message.CDAP.CDAPMessage(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.absSyntax_ = absSyntax_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.opCode_ = opCode_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.invokeID_ = invokeID_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.flags_ = flags_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.objClass_ = objClass_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.objName_ = objName_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.objInst_ = objInst_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
if (objValueBuilder_ == null) {
result.objValue_ = objValue_;
} else {
result.objValue_ = objValueBuilder_.build();
}
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000100;
}
result.result_ = result_;
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000200;
}
result.scope_ = scope_;
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000400;
}
result.filter_ = filter_;
if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
to_bitField0_ |= 0x00000800;
}
result.authMech_ = authMech_;
if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
to_bitField0_ |= 0x00001000;
}
if (authValueBuilder_ == null) {
result.authValue_ = authValue_;
} else {
result.authValue_ = authValueBuilder_.build();
}
if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
to_bitField0_ |= 0x00002000;
}
result.destAEInst_ = destAEInst_;
if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
to_bitField0_ |= 0x00004000;
}
result.destAEName_ = destAEName_;
if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
to_bitField0_ |= 0x00008000;
}
result.destApInst_ = destApInst_;
if (((from_bitField0_ & 0x00010000) == 0x00010000)) {
to_bitField0_ |= 0x00010000;
}
result.destApName_ = destApName_;
if (((from_bitField0_ & 0x00020000) == 0x00020000)) {
to_bitField0_ |= 0x00020000;
}
result.srcAEInst_ = srcAEInst_;
if (((from_bitField0_ & 0x00040000) == 0x00040000)) {
to_bitField0_ |= 0x00040000;
}
result.srcAEName_ = srcAEName_;
if (((from_bitField0_ & 0x00080000) == 0x00080000)) {
to_bitField0_ |= 0x00080000;
}
result.srcApInst_ = srcApInst_;
if (((from_bitField0_ & 0x00100000) == 0x00100000)) {
to_bitField0_ |= 0x00100000;
}
result.srcApName_ = srcApName_;
if (((from_bitField0_ & 0x00200000) == 0x00200000)) {
to_bitField0_ |= 0x00200000;
}
result.resultReason_ = resultReason_;
if (((from_bitField0_ & 0x00400000) == 0x00400000)) {
to_bitField0_ |= 0x00400000;
}
result.version_ = version_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof rina.message.CDAP.CDAPMessage) {
return mergeFrom((rina.message.CDAP.CDAPMessage)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(rina.message.CDAP.CDAPMessage other) {
if (other == rina.message.CDAP.CDAPMessage.getDefaultInstance()) return this;
if (other.hasAbsSyntax()) {
setAbsSyntax(other.getAbsSyntax());
}
if (other.hasOpCode()) {
setOpCode(other.getOpCode());
}
if (other.hasInvokeID()) {
setInvokeID(other.getInvokeID());
}
if (other.hasFlags()) {
setFlags(other.getFlags());
}
if (other.hasObjClass()) {
setObjClass(other.getObjClass());
}
if (other.hasObjName()) {
setObjName(other.getObjName());
}
if (other.hasObjInst()) {
setObjInst(other.getObjInst());
}
if (other.hasObjValue()) {
mergeObjValue(other.getObjValue());
}
if (other.hasResult()) {
setResult(other.getResult());
}
if (other.hasScope()) {
setScope(other.getScope());
}
if (other.hasFilter()) {
setFilter(other.getFilter());
}
if (other.hasAuthMech()) {
setAuthMech(other.getAuthMech());
}
if (other.hasAuthValue()) {
mergeAuthValue(other.getAuthValue());
}
if (other.hasDestAEInst()) {
setDestAEInst(other.getDestAEInst());
}
if (other.hasDestAEName()) {
setDestAEName(other.getDestAEName());
}
if (other.hasDestApInst()) {
setDestApInst(other.getDestApInst());
}
if (other.hasDestApName()) {
setDestApName(other.getDestApName());
}
if (other.hasSrcAEInst()) {
setSrcAEInst(other.getSrcAEInst());
}
if (other.hasSrcAEName()) {
setSrcAEName(other.getSrcAEName());
}
if (other.hasSrcApInst()) {
setSrcApInst(other.getSrcApInst());
}
if (other.hasSrcApName()) {
setSrcApName(other.getSrcApName());
}
if (other.hasResultReason()) {
setResultReason(other.getResultReason());
}
if (other.hasVersion()) {
setVersion(other.getVersion());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasOpCode()) {
return false;
}
return true;
}
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());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
absSyntax_ = input.readInt32();
break;
}
case 16: {
int rawValue = input.readEnum();
rina.message.CDAP.opCode_t value = rina.message.CDAP.opCode_t.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(2, rawValue);
} else {
bitField0_ |= 0x00000002;
opCode_ = value;
}
break;
}
case 24: {
bitField0_ |= 0x00000004;
invokeID_ = input.readInt32();
break;
}
case 32: {
int rawValue = input.readEnum();
rina.message.CDAP.flagValues_t value = rina.message.CDAP.flagValues_t.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(4, rawValue);
} else {
bitField0_ |= 0x00000008;
flags_ = value;
}
break;
}
case 42: {
bitField0_ |= 0x00000010;
objClass_ = input.readBytes();
break;
}
case 50: {
bitField0_ |= 0x00000020;
objName_ = input.readBytes();
break;
}
case 56: {
bitField0_ |= 0x00000040;
objInst_ = input.readInt64();
break;
}
case 66: {
rina.message.CDAP.objVal_t.Builder subBuilder = rina.message.CDAP.objVal_t.newBuilder();
if (hasObjValue()) {
subBuilder.mergeFrom(getObjValue());
}
input.readMessage(subBuilder, extensionRegistry);
setObjValue(subBuilder.buildPartial());
break;
}
case 72: {
bitField0_ |= 0x00000100;
result_ = input.readInt32();
break;
}
case 80: {
bitField0_ |= 0x00000200;
scope_ = input.readInt32();
break;
}
case 90: {
bitField0_ |= 0x00000400;
filter_ = input.readBytes();
break;
}
case 136: {
int rawValue = input.readEnum();
rina.message.CDAP.authTypes_t value = rina.message.CDAP.authTypes_t.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(17, rawValue);
} else {
bitField0_ |= 0x00000800;
authMech_ = value;
}
break;
}
case 146: {
rina.message.CDAP.authValue_t.Builder subBuilder = rina.message.CDAP.authValue_t.newBuilder();
if (hasAuthValue()) {
subBuilder.mergeFrom(getAuthValue());
}
input.readMessage(subBuilder, extensionRegistry);
setAuthValue(subBuilder.buildPartial());
break;
}
case 154: {
bitField0_ |= 0x00002000;
destAEInst_ = input.readBytes();
break;
}
case 162: {
bitField0_ |= 0x00004000;
destAEName_ = input.readBytes();
break;
}
case 170: {
bitField0_ |= 0x00008000;
destApInst_ = input.readBytes();
break;
}
case 178: {
bitField0_ |= 0x00010000;
destApName_ = input.readBytes();
break;
}
case 186: {
bitField0_ |= 0x00020000;
srcAEInst_ = input.readBytes();
break;
}
case 194: {
bitField0_ |= 0x00040000;
srcAEName_ = input.readBytes();
break;
}
case 202: {
bitField0_ |= 0x00080000;
srcApInst_ = input.readBytes();
break;
}
case 210: {
bitField0_ |= 0x00100000;
srcApName_ = input.readBytes();
break;
}
case 218: {
bitField0_ |= 0x00200000;
resultReason_ = input.readBytes();
break;
}
case 224: {
bitField0_ |= 0x00400000;
version_ = input.readInt64();
break;
}
}
}
}
private int bitField0_;
// optional int32 absSyntax = 1;
private int absSyntax_ ;
public boolean hasAbsSyntax() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public int getAbsSyntax() {
return absSyntax_;
}
public Builder setAbsSyntax(int value) {
bitField0_ |= 0x00000001;
absSyntax_ = value;
onChanged();
return this;
}
public Builder clearAbsSyntax() {
bitField0_ = (bitField0_ & ~0x00000001);
absSyntax_ = 0;
onChanged();
return this;
}
// required .rina.cdap.impl.googleprotobuf.opCode_t opCode = 2;
private rina.message.CDAP.opCode_t opCode_ = rina.message.CDAP.opCode_t.M_CONNECT;
public boolean hasOpCode() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public rina.message.CDAP.opCode_t getOpCode() {
return opCode_;
}
public Builder setOpCode(rina.message.CDAP.opCode_t value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
opCode_ = value;
onChanged();
return this;
}
public Builder clearOpCode() {
bitField0_ = (bitField0_ & ~0x00000002);
opCode_ = rina.message.CDAP.opCode_t.M_CONNECT;
onChanged();
return this;
}
// optional int32 invokeID = 3;
private int invokeID_ ;
public boolean hasInvokeID() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public int getInvokeID() {
return invokeID_;
}
public Builder setInvokeID(int value) {
bitField0_ |= 0x00000004;
invokeID_ = value;
onChanged();
return this;
}
public Builder clearInvokeID() {
bitField0_ = (bitField0_ & ~0x00000004);
invokeID_ = 0;
onChanged();
return this;
}
// optional .rina.cdap.impl.googleprotobuf.flagValues_t flags = 4;
private rina.message.CDAP.flagValues_t flags_ = rina.message.CDAP.flagValues_t.F_NO_FLAGS;
public boolean hasFlags() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public rina.message.CDAP.flagValues_t getFlags() {
return flags_;
}
public Builder setFlags(rina.message.CDAP.flagValues_t value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
flags_ = value;
onChanged();
return this;
}
public Builder clearFlags() {
bitField0_ = (bitField0_ & ~0x00000008);
flags_ = rina.message.CDAP.flagValues_t.F_NO_FLAGS;
onChanged();
return this;
}
// optional string objClass = 5;
private java.lang.Object objClass_ = "";
public boolean hasObjClass() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
public String getObjClass() {
java.lang.Object ref = objClass_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
objClass_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setObjClass(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
objClass_ = value;
onChanged();
return this;
}
public Builder clearObjClass() {
bitField0_ = (bitField0_ & ~0x00000010);
objClass_ = getDefaultInstance().getObjClass();
onChanged();
return this;
}
void setObjClass(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000010;
objClass_ = value;
onChanged();
}
// optional string objName = 6;
private java.lang.Object objName_ = "";
public boolean hasObjName() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
public String getObjName() {
java.lang.Object ref = objName_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
objName_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setObjName(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
objName_ = value;
onChanged();
return this;
}
public Builder clearObjName() {
bitField0_ = (bitField0_ & ~0x00000020);
objName_ = getDefaultInstance().getObjName();
onChanged();
return this;
}
void setObjName(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000020;
objName_ = value;
onChanged();
}
// optional int64 objInst = 7;
private long objInst_ ;
public boolean hasObjInst() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
public long getObjInst() {
return objInst_;
}
public Builder setObjInst(long value) {
bitField0_ |= 0x00000040;
objInst_ = value;
onChanged();
return this;
}
public Builder clearObjInst() {
bitField0_ = (bitField0_ & ~0x00000040);
objInst_ = 0L;
onChanged();
return this;
}
// optional .rina.cdap.impl.googleprotobuf.objVal_t objValue = 8;
private rina.message.CDAP.objVal_t objValue_ = rina.message.CDAP.objVal_t.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
rina.message.CDAP.objVal_t, rina.message.CDAP.objVal_t.Builder, rina.message.CDAP.objVal_tOrBuilder> objValueBuilder_;
public boolean hasObjValue() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
public rina.message.CDAP.objVal_t getObjValue() {
if (objValueBuilder_ == null) {
return objValue_;
} else {
return objValueBuilder_.getMessage();
}
}
public Builder setObjValue(rina.message.CDAP.objVal_t value) {
if (objValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
objValue_ = value;
onChanged();
} else {
objValueBuilder_.setMessage(value);
}
bitField0_ |= 0x00000080;
return this;
}
public Builder setObjValue(
rina.message.CDAP.objVal_t.Builder builderForValue) {
if (objValueBuilder_ == null) {
objValue_ = builderForValue.build();
onChanged();
} else {
objValueBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000080;
return this;
}
public Builder mergeObjValue(rina.message.CDAP.objVal_t value) {
if (objValueBuilder_ == null) {
if (((bitField0_ & 0x00000080) == 0x00000080) &&
objValue_ != rina.message.CDAP.objVal_t.getDefaultInstance()) {
objValue_ =
rina.message.CDAP.objVal_t.newBuilder(objValue_).mergeFrom(value).buildPartial();
} else {
objValue_ = value;
}
onChanged();
} else {
objValueBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000080;
return this;
}
public Builder clearObjValue() {
if (objValueBuilder_ == null) {
objValue_ = rina.message.CDAP.objVal_t.getDefaultInstance();
onChanged();
} else {
objValueBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
public rina.message.CDAP.objVal_t.Builder getObjValueBuilder() {
bitField0_ |= 0x00000080;
onChanged();
return getObjValueFieldBuilder().getBuilder();
}
public rina.message.CDAP.objVal_tOrBuilder getObjValueOrBuilder() {
if (objValueBuilder_ != null) {
return objValueBuilder_.getMessageOrBuilder();
} else {
return objValue_;
}
}
private com.google.protobuf.SingleFieldBuilder<
rina.message.CDAP.objVal_t, rina.message.CDAP.objVal_t.Builder, rina.message.CDAP.objVal_tOrBuilder>
getObjValueFieldBuilder() {
if (objValueBuilder_ == null) {
objValueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
rina.message.CDAP.objVal_t, rina.message.CDAP.objVal_t.Builder, rina.message.CDAP.objVal_tOrBuilder>(
objValue_,
getParentForChildren(),
isClean());
objValue_ = null;
}
return objValueBuilder_;
}
// optional int32 result = 9 [default = 0];
private int result_ ;
public boolean hasResult() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
public int getResult() {
return result_;
}
public Builder setResult(int value) {
bitField0_ |= 0x00000100;
result_ = value;
onChanged();
return this;
}
public Builder clearResult() {
bitField0_ = (bitField0_ & ~0x00000100);
result_ = 0;
onChanged();
return this;
}
// optional int32 scope = 10;
private int scope_ ;
public boolean hasScope() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
public int getScope() {
return scope_;
}
public Builder setScope(int value) {
bitField0_ |= 0x00000200;
scope_ = value;
onChanged();
return this;
}
public Builder clearScope() {
bitField0_ = (bitField0_ & ~0x00000200);
scope_ = 0;
onChanged();
return this;
}
// optional bytes filter = 11;
private com.google.protobuf.ByteString filter_ = com.google.protobuf.ByteString.EMPTY;
public boolean hasFilter() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
public com.google.protobuf.ByteString getFilter() {
return filter_;
}
public Builder setFilter(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
filter_ = value;
onChanged();
return this;
}
public Builder clearFilter() {
bitField0_ = (bitField0_ & ~0x00000400);
filter_ = getDefaultInstance().getFilter();
onChanged();
return this;
}
// optional .rina.cdap.impl.googleprotobuf.authTypes_t authMech = 17;
private rina.message.CDAP.authTypes_t authMech_ = rina.message.CDAP.authTypes_t.AUTH_NONE;
public boolean hasAuthMech() {
return ((bitField0_ & 0x00000800) == 0x00000800);
}
public rina.message.CDAP.authTypes_t getAuthMech() {
return authMech_;
}
public Builder setAuthMech(rina.message.CDAP.authTypes_t value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000800;
authMech_ = value;
onChanged();
return this;
}
public Builder clearAuthMech() {
bitField0_ = (bitField0_ & ~0x00000800);
authMech_ = rina.message.CDAP.authTypes_t.AUTH_NONE;
onChanged();
return this;
}
// optional .rina.cdap.impl.googleprotobuf.authValue_t authValue = 18;
private rina.message.CDAP.authValue_t authValue_ = rina.message.CDAP.authValue_t.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
rina.message.CDAP.authValue_t, rina.message.CDAP.authValue_t.Builder, rina.message.CDAP.authValue_tOrBuilder> authValueBuilder_;
public boolean hasAuthValue() {
return ((bitField0_ & 0x00001000) == 0x00001000);
}
public rina.message.CDAP.authValue_t getAuthValue() {
if (authValueBuilder_ == null) {
return authValue_;
} else {
return authValueBuilder_.getMessage();
}
}
public Builder setAuthValue(rina.message.CDAP.authValue_t value) {
if (authValueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
authValue_ = value;
onChanged();
} else {
authValueBuilder_.setMessage(value);
}
bitField0_ |= 0x00001000;
return this;
}
public Builder setAuthValue(
rina.message.CDAP.authValue_t.Builder builderForValue) {
if (authValueBuilder_ == null) {
authValue_ = builderForValue.build();
onChanged();
} else {
authValueBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00001000;
return this;
}
public Builder mergeAuthValue(rina.message.CDAP.authValue_t value) {
if (authValueBuilder_ == null) {
if (((bitField0_ & 0x00001000) == 0x00001000) &&
authValue_ != rina.message.CDAP.authValue_t.getDefaultInstance()) {
authValue_ =
rina.message.CDAP.authValue_t.newBuilder(authValue_).mergeFrom(value).buildPartial();
} else {
authValue_ = value;
}
onChanged();
} else {
authValueBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00001000;
return this;
}
public Builder clearAuthValue() {
if (authValueBuilder_ == null) {
authValue_ = rina.message.CDAP.authValue_t.getDefaultInstance();
onChanged();
} else {
authValueBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00001000);
return this;
}
public rina.message.CDAP.authValue_t.Builder getAuthValueBuilder() {
bitField0_ |= 0x00001000;
onChanged();
return getAuthValueFieldBuilder().getBuilder();
}
public rina.message.CDAP.authValue_tOrBuilder getAuthValueOrBuilder() {
if (authValueBuilder_ != null) {
return authValueBuilder_.getMessageOrBuilder();
} else {
return authValue_;
}
}
private com.google.protobuf.SingleFieldBuilder<
rina.message.CDAP.authValue_t, rina.message.CDAP.authValue_t.Builder, rina.message.CDAP.authValue_tOrBuilder>
getAuthValueFieldBuilder() {
if (authValueBuilder_ == null) {
authValueBuilder_ = new com.google.protobuf.SingleFieldBuilder<
rina.message.CDAP.authValue_t, rina.message.CDAP.authValue_t.Builder, rina.message.CDAP.authValue_tOrBuilder>(
authValue_,
getParentForChildren(),
isClean());
authValue_ = null;
}
return authValueBuilder_;
}
// optional string destAEInst = 19;
private java.lang.Object destAEInst_ = "";
public boolean hasDestAEInst() {
return ((bitField0_ & 0x00002000) == 0x00002000);
}
public String getDestAEInst() {
java.lang.Object ref = destAEInst_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
destAEInst_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setDestAEInst(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00002000;
destAEInst_ = value;
onChanged();
return this;
}
public Builder clearDestAEInst() {
bitField0_ = (bitField0_ & ~0x00002000);
destAEInst_ = getDefaultInstance().getDestAEInst();
onChanged();
return this;
}
void setDestAEInst(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00002000;
destAEInst_ = value;
onChanged();
}
// optional string destAEName = 20;
private java.lang.Object destAEName_ = "";
public boolean hasDestAEName() {
return ((bitField0_ & 0x00004000) == 0x00004000);
}
public String getDestAEName() {
java.lang.Object ref = destAEName_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
destAEName_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setDestAEName(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00004000;
destAEName_ = value;
onChanged();
return this;
}
public Builder clearDestAEName() {
bitField0_ = (bitField0_ & ~0x00004000);
destAEName_ = getDefaultInstance().getDestAEName();
onChanged();
return this;
}
void setDestAEName(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00004000;
destAEName_ = value;
onChanged();
}
// optional string destApInst = 21;
private java.lang.Object destApInst_ = "";
public boolean hasDestApInst() {
return ((bitField0_ & 0x00008000) == 0x00008000);
}
public String getDestApInst() {
java.lang.Object ref = destApInst_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
destApInst_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setDestApInst(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00008000;
destApInst_ = value;
onChanged();
return this;
}
public Builder clearDestApInst() {
bitField0_ = (bitField0_ & ~0x00008000);
destApInst_ = getDefaultInstance().getDestApInst();
onChanged();
return this;
}
void setDestApInst(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00008000;
destApInst_ = value;
onChanged();
}
// optional string destApName = 22;
private java.lang.Object destApName_ = "";
public boolean hasDestApName() {
return ((bitField0_ & 0x00010000) == 0x00010000);
}
public String getDestApName() {
java.lang.Object ref = destApName_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
destApName_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setDestApName(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00010000;
destApName_ = value;
onChanged();
return this;
}
public Builder clearDestApName() {
bitField0_ = (bitField0_ & ~0x00010000);
destApName_ = getDefaultInstance().getDestApName();
onChanged();
return this;
}
void setDestApName(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00010000;
destApName_ = value;
onChanged();
}
// optional string srcAEInst = 23;
private java.lang.Object srcAEInst_ = "";
public boolean hasSrcAEInst() {
return ((bitField0_ & 0x00020000) == 0x00020000);
}
public String getSrcAEInst() {
java.lang.Object ref = srcAEInst_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
srcAEInst_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setSrcAEInst(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00020000;
srcAEInst_ = value;
onChanged();
return this;
}
public Builder clearSrcAEInst() {
bitField0_ = (bitField0_ & ~0x00020000);
srcAEInst_ = getDefaultInstance().getSrcAEInst();
onChanged();
return this;
}
void setSrcAEInst(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00020000;
srcAEInst_ = value;
onChanged();
}
// optional string srcAEName = 24;
private java.lang.Object srcAEName_ = "";
public boolean hasSrcAEName() {
return ((bitField0_ & 0x00040000) == 0x00040000);
}
public String getSrcAEName() {
java.lang.Object ref = srcAEName_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
srcAEName_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setSrcAEName(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00040000;
srcAEName_ = value;
onChanged();
return this;
}
public Builder clearSrcAEName() {
bitField0_ = (bitField0_ & ~0x00040000);
srcAEName_ = getDefaultInstance().getSrcAEName();
onChanged();
return this;
}
void setSrcAEName(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00040000;
srcAEName_ = value;
onChanged();
}
// optional string srcApInst = 25;
private java.lang.Object srcApInst_ = "";
public boolean hasSrcApInst() {
return ((bitField0_ & 0x00080000) == 0x00080000);
}
public String getSrcApInst() {
java.lang.Object ref = srcApInst_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
srcApInst_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setSrcApInst(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00080000;
srcApInst_ = value;
onChanged();
return this;
}
public Builder clearSrcApInst() {
bitField0_ = (bitField0_ & ~0x00080000);
srcApInst_ = getDefaultInstance().getSrcApInst();
onChanged();
return this;
}
void setSrcApInst(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00080000;
srcApInst_ = value;
onChanged();
}
// optional string srcApName = 26;
private java.lang.Object srcApName_ = "";
public boolean hasSrcApName() {
return ((bitField0_ & 0x00100000) == 0x00100000);
}
public String getSrcApName() {
java.lang.Object ref = srcApName_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
srcApName_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setSrcApName(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00100000;
srcApName_ = value;
onChanged();
return this;
}
public Builder clearSrcApName() {
bitField0_ = (bitField0_ & ~0x00100000);
srcApName_ = getDefaultInstance().getSrcApName();
onChanged();
return this;
}
void setSrcApName(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00100000;
srcApName_ = value;
onChanged();
}
// optional string resultReason = 27;
private java.lang.Object resultReason_ = "";
public boolean hasResultReason() {
return ((bitField0_ & 0x00200000) == 0x00200000);
}
public String getResultReason() {
java.lang.Object ref = resultReason_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
resultReason_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setResultReason(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00200000;
resultReason_ = value;
onChanged();
return this;
}
public Builder clearResultReason() {
bitField0_ = (bitField0_ & ~0x00200000);
resultReason_ = getDefaultInstance().getResultReason();
onChanged();
return this;
}
void setResultReason(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00200000;
resultReason_ = value;
onChanged();
}
// optional int64 version = 28;
private long version_ ;
public boolean hasVersion() {
return ((bitField0_ & 0x00400000) == 0x00400000);
}
public long getVersion() {
return version_;
}
public Builder setVersion(long value) {
bitField0_ |= 0x00400000;
version_ = value;
onChanged();
return this;
}
public Builder clearVersion() {
bitField0_ = (bitField0_ & ~0x00400000);
version_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:rina.cdap.impl.googleprotobuf.CDAPMessage)
}
static {
defaultInstance = new CDAPMessage(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:rina.cdap.impl.googleprotobuf.CDAPMessage)
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_rina_cdap_impl_googleprotobuf_objVal_t_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_rina_cdap_impl_googleprotobuf_objVal_t_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_rina_cdap_impl_googleprotobuf_authValue_t_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_rina_cdap_impl_googleprotobuf_authValue_t_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_rina_cdap_impl_googleprotobuf_CDAPMessage_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_rina_cdap_impl_googleprotobuf_CDAPMessage_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\nCDAP.proto\022\035rina.cdap.impl.googleproto" +
"buf\"\247\001\n\010objVal_t\022\016\n\006intval\030\001 \001(\005\022\017\n\007sint" +
"val\030\002 \001(\021\022\020\n\010int64val\030\003 \001(\003\022\021\n\tsint64val" +
"\030\004 \001(\022\022\016\n\006strval\030\005 \001(\t\022\017\n\007byteval\030\006 \001(\014\022" +
"\020\n\010floatval\030\007 \001(\007\022\021\n\tdoubleval\030\010 \001(\006\022\017\n\007" +
"boolval\030\t \001(\010\"H\n\013authValue_t\022\020\n\010authName" +
"\030\001 \001(\t\022\024\n\014authPassword\030\002 \001(\t\022\021\n\tauthOthe" +
"r\030\003 \001(\014\"\210\005\n\013CDAPMessage\022\021\n\tabsSyntax\030\001 \001" +
"(\005\0227\n\006opCode\030\002 \002(\0162\'.rina.cdap.impl.goog" +
"leprotobuf.opCode_t\022\020\n\010invokeID\030\003 \001(\005\022:\n",
"\005flags\030\004 \001(\0162+.rina.cdap.impl.googleprot" +
"obuf.flagValues_t\022\020\n\010objClass\030\005 \001(\t\022\017\n\007o" +
"bjName\030\006 \001(\t\022\017\n\007objInst\030\007 \001(\003\0229\n\010objValu" +
"e\030\010 \001(\0132\'.rina.cdap.impl.googleprotobuf." +
"objVal_t\022\021\n\006result\030\t \001(\005:\0010\022\r\n\005scope\030\n \001" +
"(\005\022\016\n\006filter\030\013 \001(\014\022<\n\010authMech\030\021 \001(\0162*.r" +
"ina.cdap.impl.googleprotobuf.authTypes_t" +
"\022=\n\tauthValue\030\022 \001(\0132*.rina.cdap.impl.goo" +
"gleprotobuf.authValue_t\022\022\n\ndestAEInst\030\023 " +
"\001(\t\022\022\n\ndestAEName\030\024 \001(\t\022\022\n\ndestApInst\030\025 ",
"\001(\t\022\022\n\ndestApName\030\026 \001(\t\022\021\n\tsrcAEInst\030\027 \001" +
"(\t\022\021\n\tsrcAEName\030\030 \001(\t\022\021\n\tsrcApInst\030\031 \001(\t" +
"\022\021\n\tsrcApName\030\032 \001(\t\022\024\n\014resultReason\030\033 \001(" +
"\t\022\017\n\007version\030\034 \001(\003*\230\002\n\010opCode_t\022\r\n\tM_CON" +
"NECT\020\000\022\017\n\013M_CONNECT_R\020\001\022\r\n\tM_RELEASE\020\002\022\017" +
"\n\013M_RELEASE_R\020\003\022\014\n\010M_CREATE\020\004\022\016\n\nM_CREAT" +
"E_R\020\005\022\014\n\010M_DELETE\020\006\022\016\n\nM_DELETE_R\020\007\022\n\n\006M" +
"_READ\020\010\022\014\n\010M_READ_R\020\t\022\020\n\014M_CANCELREAD\020\n\022" +
"\022\n\016M_CANCELREAD_R\020\013\022\013\n\007M_WRITE\020\014\022\r\n\tM_WR" +
"ITE_R\020\r\022\013\n\007M_START\020\016\022\r\n\tM_START_R\020\017\022\n\n\006M",
"_STOP\020\020\022\014\n\010M_STOP_R\020\021*?\n\014flagValues_t\022\016\n" +
"\nF_NO_FLAGS\020\000\022\n\n\006F_SYNC\020\001\022\023\n\017F_RD_INCOMP" +
"LETE\020\002*O\n\013authTypes_t\022\r\n\tAUTH_NONE\020\000\022\017\n\013" +
"AUTH_PASSWD\020\001\022\017\n\013AUTH_SSHRSA\020\002\022\017\n\013AUTH_S" +
"SHDSA\020\003"
};
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_rina_cdap_impl_googleprotobuf_objVal_t_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_rina_cdap_impl_googleprotobuf_objVal_t_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_rina_cdap_impl_googleprotobuf_objVal_t_descriptor,
new java.lang.String[] { "Intval", "Sintval", "Int64Val", "Sint64Val", "Strval", "Byteval", "Floatval", "Doubleval", "Boolval", },
rina.message.CDAP.objVal_t.class,
rina.message.CDAP.objVal_t.Builder.class);
internal_static_rina_cdap_impl_googleprotobuf_authValue_t_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_rina_cdap_impl_googleprotobuf_authValue_t_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_rina_cdap_impl_googleprotobuf_authValue_t_descriptor,
new java.lang.String[] { "AuthName", "AuthPassword", "AuthOther", },
rina.message.CDAP.authValue_t.class,
rina.message.CDAP.authValue_t.Builder.class);
internal_static_rina_cdap_impl_googleprotobuf_CDAPMessage_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_rina_cdap_impl_googleprotobuf_CDAPMessage_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_rina_cdap_impl_googleprotobuf_CDAPMessage_descriptor,
new java.lang.String[] { "AbsSyntax", "OpCode", "InvokeID", "Flags", "ObjClass", "ObjName", "ObjInst", "ObjValue", "Result", "Scope", "Filter", "AuthMech", "AuthValue", "DestAEInst", "DestAEName", "DestApInst", "DestApName", "SrcAEInst", "SrcAEName", "SrcApInst", "SrcApName", "ResultReason", "Version", },
rina.message.CDAP.CDAPMessage.class,
rina.message.CDAP.CDAPMessage.Builder.class);
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}