com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of protobuf-rpc-pro-duplex Show documentation
Show all versions of protobuf-rpc-pro-duplex Show documentation
Protobuf RPC Pro is a java protocol buffers RPC implementation featuring bidirectional RPC calls and TCP socket connection re-use and the option of secure communications.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: protobuf-rpc-duplex-log.proto
package com.googlecode.protobuf.pro.duplex.logging;
public final class RpcLogEntry {
private RpcLogEntry() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface PayloadContentOrBuilder extends
// @@protoc_insertion_point(interface_extends:PayloadContent)
com.google.protobuf.MessageOrBuilder {
/**
* required string uuid = 1;
*
*
* a reference to RpcPayloadInfo's uuid
*
*/
boolean hasUuid();
/**
* required string uuid = 1;
*
*
* a reference to RpcPayloadInfo's uuid
*
*/
java.lang.String getUuid();
/**
* required string uuid = 1;
*
*
* a reference to RpcPayloadInfo's uuid
*
*/
com.google.protobuf.ByteString
getUuidBytes();
/**
* required string content = 2;
*
*
* a textual representation of the payload content.
*
*/
boolean hasContent();
/**
* required string content = 2;
*
*
* a textual representation of the payload content.
*
*/
java.lang.String getContent();
/**
* required string content = 2;
*
*
* a textual representation of the payload content.
*
*/
com.google.protobuf.ByteString
getContentBytes();
}
/**
* Protobuf type {@code PayloadContent}
*/
public static final class PayloadContent extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:PayloadContent)
PayloadContentOrBuilder {
// Use PayloadContent.newBuilder() to construct.
private PayloadContent(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private PayloadContent(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final PayloadContent defaultInstance;
public static PayloadContent getDefaultInstance() {
return defaultInstance;
}
public PayloadContent getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PayloadContent(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
uuid_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
content_ = bs;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_PayloadContent_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_PayloadContent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent.class, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public PayloadContent parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new PayloadContent(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int UUID_FIELD_NUMBER = 1;
private java.lang.Object uuid_;
/**
* required string uuid = 1;
*
*
* a reference to RpcPayloadInfo's uuid
*
*/
public boolean hasUuid() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string uuid = 1;
*
*
* a reference to RpcPayloadInfo's uuid
*
*/
public java.lang.String getUuid() {
java.lang.Object ref = uuid_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
uuid_ = s;
}
return s;
}
}
/**
* required string uuid = 1;
*
*
* a reference to RpcPayloadInfo's uuid
*
*/
public com.google.protobuf.ByteString
getUuidBytes() {
java.lang.Object ref = uuid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uuid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CONTENT_FIELD_NUMBER = 2;
private java.lang.Object content_;
/**
* required string content = 2;
*
*
* a textual representation of the payload content.
*
*/
public boolean hasContent() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string content = 2;
*
*
* a textual representation of the payload content.
*
*/
public java.lang.String getContent() {
java.lang.Object ref = content_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
content_ = s;
}
return s;
}
}
/**
* required string content = 2;
*
*
* a textual representation of the payload content.
*
*/
public com.google.protobuf.ByteString
getContentBytes() {
java.lang.Object ref = content_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
content_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
uuid_ = "";
content_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasUuid()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasContent()) {
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.writeBytes(1, getUuidBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getContentBytes());
}
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, getUuidBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getContentBytes());
}
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 com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent 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;
}
/**
* Protobuf type {@code PayloadContent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:PayloadContent)
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContentOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_PayloadContent_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_PayloadContent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent.class, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent.Builder.class);
}
// Construct using com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.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();
uuid_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
content_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_PayloadContent_descriptor;
}
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent getDefaultInstanceForType() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent.getDefaultInstance();
}
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent build() {
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent buildPartial() {
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent result = new com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.uuid_ = uuid_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.content_ = content_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent) {
return mergeFrom((com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent other) {
if (other == com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent.getDefaultInstance()) return this;
if (other.hasUuid()) {
bitField0_ |= 0x00000001;
uuid_ = other.uuid_;
onChanged();
}
if (other.hasContent()) {
bitField0_ |= 0x00000002;
content_ = other.content_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasUuid()) {
return false;
}
if (!hasContent()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.PayloadContent) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object uuid_ = "";
/**
* required string uuid = 1;
*
*
* a reference to RpcPayloadInfo's uuid
*
*/
public boolean hasUuid() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string uuid = 1;
*
*
* a reference to RpcPayloadInfo's uuid
*
*/
public java.lang.String getUuid() {
java.lang.Object ref = uuid_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
uuid_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string uuid = 1;
*
*
* a reference to RpcPayloadInfo's uuid
*
*/
public com.google.protobuf.ByteString
getUuidBytes() {
java.lang.Object ref = uuid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uuid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string uuid = 1;
*
*
* a reference to RpcPayloadInfo's uuid
*
*/
public Builder setUuid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
uuid_ = value;
onChanged();
return this;
}
/**
* required string uuid = 1;
*
*
* a reference to RpcPayloadInfo's uuid
*
*/
public Builder clearUuid() {
bitField0_ = (bitField0_ & ~0x00000001);
uuid_ = getDefaultInstance().getUuid();
onChanged();
return this;
}
/**
* required string uuid = 1;
*
*
* a reference to RpcPayloadInfo's uuid
*
*/
public Builder setUuidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
uuid_ = value;
onChanged();
return this;
}
private java.lang.Object content_ = "";
/**
* required string content = 2;
*
*
* a textual representation of the payload content.
*
*/
public boolean hasContent() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string content = 2;
*
*
* a textual representation of the payload content.
*
*/
public java.lang.String getContent() {
java.lang.Object ref = content_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
content_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string content = 2;
*
*
* a textual representation of the payload content.
*
*/
public com.google.protobuf.ByteString
getContentBytes() {
java.lang.Object ref = content_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
content_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string content = 2;
*
*
* a textual representation of the payload content.
*
*/
public Builder setContent(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
content_ = value;
onChanged();
return this;
}
/**
* required string content = 2;
*
*
* a textual representation of the payload content.
*
*/
public Builder clearContent() {
bitField0_ = (bitField0_ & ~0x00000002);
content_ = getDefaultInstance().getContent();
onChanged();
return this;
}
/**
* required string content = 2;
*
*
* a textual representation of the payload content.
*
*/
public Builder setContentBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
content_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:PayloadContent)
}
static {
defaultInstance = new PayloadContent(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:PayloadContent)
}
public interface RpcPayloadInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:RpcPayloadInfo)
com.google.protobuf.MessageOrBuilder {
/**
* required int64 ts = 1;
*/
boolean hasTs();
/**
* required int64 ts = 1;
*/
long getTs();
/**
* optional int32 size = 2;
*/
boolean hasSize();
/**
* optional int32 size = 2;
*/
int getSize();
/**
* optional string uuid = 3;
*
*
* a unique id which can be used to lookup the payload details if logged.
*
*/
boolean hasUuid();
/**
* optional string uuid = 3;
*
*
* a unique id which can be used to lookup the payload details if logged.
*
*/
java.lang.String getUuid();
/**
* optional string uuid = 3;
*
*
* a unique id which can be used to lookup the payload details if logged.
*
*/
com.google.protobuf.ByteString
getUuidBytes();
}
/**
* Protobuf type {@code RpcPayloadInfo}
*/
public static final class RpcPayloadInfo extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:RpcPayloadInfo)
RpcPayloadInfoOrBuilder {
// Use RpcPayloadInfo.newBuilder() to construct.
private RpcPayloadInfo(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private RpcPayloadInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final RpcPayloadInfo defaultInstance;
public static RpcPayloadInfo getDefaultInstance() {
return defaultInstance;
}
public RpcPayloadInfo getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RpcPayloadInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
ts_ = input.readInt64();
break;
}
case 16: {
bitField0_ |= 0x00000002;
size_ = input.readInt32();
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
uuid_ = bs;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_RpcPayloadInfo_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_RpcPayloadInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.class, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public RpcPayloadInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RpcPayloadInfo(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int TS_FIELD_NUMBER = 1;
private long ts_;
/**
* required int64 ts = 1;
*/
public boolean hasTs() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int64 ts = 1;
*/
public long getTs() {
return ts_;
}
public static final int SIZE_FIELD_NUMBER = 2;
private int size_;
/**
* optional int32 size = 2;
*/
public boolean hasSize() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 size = 2;
*/
public int getSize() {
return size_;
}
public static final int UUID_FIELD_NUMBER = 3;
private java.lang.Object uuid_;
/**
* optional string uuid = 3;
*
*
* a unique id which can be used to lookup the payload details if logged.
*
*/
public boolean hasUuid() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string uuid = 3;
*
*
* a unique id which can be used to lookup the payload details if logged.
*
*/
public java.lang.String getUuid() {
java.lang.Object ref = uuid_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
uuid_ = s;
}
return s;
}
}
/**
* optional string uuid = 3;
*
*
* a unique id which can be used to lookup the payload details if logged.
*
*/
public com.google.protobuf.ByteString
getUuidBytes() {
java.lang.Object ref = uuid_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uuid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
ts_ = 0L;
size_ = 0;
uuid_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasTs()) {
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.writeInt64(1, ts_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, size_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, getUuidBytes());
}
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
.computeInt64Size(1, ts_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, size_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getUuidBytes());
}
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 com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo 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;
}
/**
* Protobuf type {@code RpcPayloadInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:RpcPayloadInfo)
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_RpcPayloadInfo_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_RpcPayloadInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.class, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder.class);
}
// Construct using com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.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();
ts_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
size_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
uuid_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_RpcPayloadInfo_descriptor;
}
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo getDefaultInstanceForType() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.getDefaultInstance();
}
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo build() {
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo buildPartial() {
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo result = new com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.ts_ = ts_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.size_ = size_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.uuid_ = uuid_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo) {
return mergeFrom((com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo other) {
if (other == com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.getDefaultInstance()) return this;
if (other.hasTs()) {
setTs(other.getTs());
}
if (other.hasSize()) {
setSize(other.getSize());
}
if (other.hasUuid()) {
bitField0_ |= 0x00000004;
uuid_ = other.uuid_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasTs()) {
return false;
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long ts_ ;
/**
* required int64 ts = 1;
*/
public boolean hasTs() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int64 ts = 1;
*/
public long getTs() {
return ts_;
}
/**
* required int64 ts = 1;
*/
public Builder setTs(long value) {
bitField0_ |= 0x00000001;
ts_ = value;
onChanged();
return this;
}
/**
* required int64 ts = 1;
*/
public Builder clearTs() {
bitField0_ = (bitField0_ & ~0x00000001);
ts_ = 0L;
onChanged();
return this;
}
private int size_ ;
/**
* optional int32 size = 2;
*/
public boolean hasSize() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 size = 2;
*/
public int getSize() {
return size_;
}
/**
* optional int32 size = 2;
*/
public Builder setSize(int value) {
bitField0_ |= 0x00000002;
size_ = value;
onChanged();
return this;
}
/**
* optional int32 size = 2;
*/
public Builder clearSize() {
bitField0_ = (bitField0_ & ~0x00000002);
size_ = 0;
onChanged();
return this;
}
private java.lang.Object uuid_ = "";
/**
* optional string uuid = 3;
*
*
* a unique id which can be used to lookup the payload details if logged.
*
*/
public boolean hasUuid() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string uuid = 3;
*
*
* a unique id which can be used to lookup the payload details if logged.
*
*/
public java.lang.String getUuid() {
java.lang.Object ref = uuid_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
uuid_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string uuid = 3;
*
*
* a unique id which can be used to lookup the payload details if logged.
*
*/
public com.google.protobuf.ByteString
getUuidBytes() {
java.lang.Object ref = uuid_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
uuid_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string uuid = 3;
*
*
* a unique id which can be used to lookup the payload details if logged.
*
*/
public Builder setUuid(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
uuid_ = value;
onChanged();
return this;
}
/**
* optional string uuid = 3;
*
*
* a unique id which can be used to lookup the payload details if logged.
*
*/
public Builder clearUuid() {
bitField0_ = (bitField0_ & ~0x00000004);
uuid_ = getDefaultInstance().getUuid();
onChanged();
return this;
}
/**
* optional string uuid = 3;
*
*
* a unique id which can be used to lookup the payload details if logged.
*
*/
public Builder setUuidBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
uuid_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:RpcPayloadInfo)
}
static {
defaultInstance = new RpcPayloadInfo(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:RpcPayloadInfo)
}
public interface RpcCallOrBuilder extends
// @@protoc_insertion_point(interface_extends:RpcCall)
com.google.protobuf.MessageOrBuilder {
/**
* required int32 duration = 1;
*
*
* milliseconds
*
*/
boolean hasDuration();
/**
* required int32 duration = 1;
*
*
* milliseconds
*
*/
int getDuration();
/**
* required string server = 2;
*/
boolean hasServer();
/**
* required string server = 2;
*/
java.lang.String getServer();
/**
* required string server = 2;
*/
com.google.protobuf.ByteString
getServerBytes();
/**
* required string signature = 3;
*/
boolean hasSignature();
/**
* required string signature = 3;
*/
java.lang.String getSignature();
/**
* required string signature = 3;
*/
com.google.protobuf.ByteString
getSignatureBytes();
/**
* required string client = 4;
*/
boolean hasClient();
/**
* required string client = 4;
*/
java.lang.String getClient();
/**
* required string client = 4;
*/
com.google.protobuf.ByteString
getClientBytes();
/**
* required int32 corId = 5;
*/
boolean hasCorId();
/**
* required int32 corId = 5;
*/
int getCorId();
/**
* optional string error = 6;
*/
boolean hasError();
/**
* optional string error = 6;
*/
java.lang.String getError();
/**
* optional string error = 6;
*/
com.google.protobuf.ByteString
getErrorBytes();
/**
* optional .RpcPayloadInfo request = 7;
*/
boolean hasRequest();
/**
* optional .RpcPayloadInfo request = 7;
*/
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo getRequest();
/**
* optional .RpcPayloadInfo request = 7;
*/
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder getRequestOrBuilder();
/**
* optional .RpcPayloadInfo response = 8;
*/
boolean hasResponse();
/**
* optional .RpcPayloadInfo response = 8;
*/
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo getResponse();
/**
* optional .RpcPayloadInfo response = 8;
*/
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder getResponseOrBuilder();
}
/**
* Protobuf type {@code RpcCall}
*/
public static final class RpcCall extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:RpcCall)
RpcCallOrBuilder {
// Use RpcCall.newBuilder() to construct.
private RpcCall(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private RpcCall(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final RpcCall defaultInstance;
public static RpcCall getDefaultInstance() {
return defaultInstance;
}
public RpcCall getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RpcCall(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
duration_ = input.readInt32();
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
server_ = bs;
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
signature_ = bs;
break;
}
case 34: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000008;
client_ = bs;
break;
}
case 40: {
bitField0_ |= 0x00000010;
corId_ = input.readInt32();
break;
}
case 50: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000020;
error_ = bs;
break;
}
case 58: {
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00000040) == 0x00000040)) {
subBuilder = request_.toBuilder();
}
request_ = input.readMessage(com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(request_);
request_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000040;
break;
}
case 66: {
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00000080) == 0x00000080)) {
subBuilder = response_.toBuilder();
}
response_ = input.readMessage(com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(response_);
response_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000080;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_RpcCall_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_RpcCall_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall.class, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public RpcCall parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RpcCall(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int DURATION_FIELD_NUMBER = 1;
private int duration_;
/**
* required int32 duration = 1;
*
*
* milliseconds
*
*/
public boolean hasDuration() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 duration = 1;
*
*
* milliseconds
*
*/
public int getDuration() {
return duration_;
}
public static final int SERVER_FIELD_NUMBER = 2;
private java.lang.Object server_;
/**
* required string server = 2;
*/
public boolean hasServer() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string server = 2;
*/
public java.lang.String getServer() {
java.lang.Object ref = server_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
server_ = s;
}
return s;
}
}
/**
* required string server = 2;
*/
public com.google.protobuf.ByteString
getServerBytes() {
java.lang.Object ref = server_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
server_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SIGNATURE_FIELD_NUMBER = 3;
private java.lang.Object signature_;
/**
* required string signature = 3;
*/
public boolean hasSignature() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* required string signature = 3;
*/
public java.lang.String getSignature() {
java.lang.Object ref = signature_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
signature_ = s;
}
return s;
}
}
/**
* required string signature = 3;
*/
public com.google.protobuf.ByteString
getSignatureBytes() {
java.lang.Object ref = signature_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
signature_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLIENT_FIELD_NUMBER = 4;
private java.lang.Object client_;
/**
* required string client = 4;
*/
public boolean hasClient() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* required string client = 4;
*/
public java.lang.String getClient() {
java.lang.Object ref = client_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
client_ = s;
}
return s;
}
}
/**
* required string client = 4;
*/
public com.google.protobuf.ByteString
getClientBytes() {
java.lang.Object ref = client_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
client_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CORID_FIELD_NUMBER = 5;
private int corId_;
/**
* required int32 corId = 5;
*/
public boolean hasCorId() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* required int32 corId = 5;
*/
public int getCorId() {
return corId_;
}
public static final int ERROR_FIELD_NUMBER = 6;
private java.lang.Object error_;
/**
* optional string error = 6;
*/
public boolean hasError() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional string error = 6;
*/
public java.lang.String getError() {
java.lang.Object ref = error_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
error_ = s;
}
return s;
}
}
/**
* optional string error = 6;
*/
public com.google.protobuf.ByteString
getErrorBytes() {
java.lang.Object ref = error_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
error_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REQUEST_FIELD_NUMBER = 7;
private com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo request_;
/**
* optional .RpcPayloadInfo request = 7;
*/
public boolean hasRequest() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional .RpcPayloadInfo request = 7;
*/
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo getRequest() {
return request_;
}
/**
* optional .RpcPayloadInfo request = 7;
*/
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder getRequestOrBuilder() {
return request_;
}
public static final int RESPONSE_FIELD_NUMBER = 8;
private com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo response_;
/**
* optional .RpcPayloadInfo response = 8;
*/
public boolean hasResponse() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional .RpcPayloadInfo response = 8;
*/
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo getResponse() {
return response_;
}
/**
* optional .RpcPayloadInfo response = 8;
*/
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder getResponseOrBuilder() {
return response_;
}
private void initFields() {
duration_ = 0;
server_ = "";
signature_ = "";
client_ = "";
corId_ = 0;
error_ = "";
request_ = com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.getDefaultInstance();
response_ = com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasDuration()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasServer()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasSignature()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasClient()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasCorId()) {
memoizedIsInitialized = 0;
return false;
}
if (hasRequest()) {
if (!getRequest().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasResponse()) {
if (!getResponse().isInitialized()) {
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, duration_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getServerBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, getSignatureBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBytes(4, getClientBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeInt32(5, corId_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBytes(6, getErrorBytes());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeMessage(7, request_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeMessage(8, response_);
}
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, duration_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getServerBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getSignatureBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, getClientBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, corId_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(6, getErrorBytes());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, request_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, response_);
}
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 com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall 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;
}
/**
* Protobuf type {@code RpcCall}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:RpcCall)
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCallOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_RpcCall_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_RpcCall_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall.class, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall.Builder.class);
}
// Construct using com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getRequestFieldBuilder();
getResponseFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
duration_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
server_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
signature_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
client_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
corId_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
error_ = "";
bitField0_ = (bitField0_ & ~0x00000020);
if (requestBuilder_ == null) {
request_ = com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.getDefaultInstance();
} else {
requestBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
if (responseBuilder_ == null) {
response_ = com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.getDefaultInstance();
} else {
responseBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_RpcCall_descriptor;
}
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall getDefaultInstanceForType() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall.getDefaultInstance();
}
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall build() {
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall buildPartial() {
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall result = new com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.duration_ = duration_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.server_ = server_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.signature_ = signature_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.client_ = client_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.corId_ = corId_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.error_ = error_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
if (requestBuilder_ == null) {
result.request_ = request_;
} else {
result.request_ = requestBuilder_.build();
}
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
if (responseBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = responseBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall) {
return mergeFrom((com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall other) {
if (other == com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall.getDefaultInstance()) return this;
if (other.hasDuration()) {
setDuration(other.getDuration());
}
if (other.hasServer()) {
bitField0_ |= 0x00000002;
server_ = other.server_;
onChanged();
}
if (other.hasSignature()) {
bitField0_ |= 0x00000004;
signature_ = other.signature_;
onChanged();
}
if (other.hasClient()) {
bitField0_ |= 0x00000008;
client_ = other.client_;
onChanged();
}
if (other.hasCorId()) {
setCorId(other.getCorId());
}
if (other.hasError()) {
bitField0_ |= 0x00000020;
error_ = other.error_;
onChanged();
}
if (other.hasRequest()) {
mergeRequest(other.getRequest());
}
if (other.hasResponse()) {
mergeResponse(other.getResponse());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasDuration()) {
return false;
}
if (!hasServer()) {
return false;
}
if (!hasSignature()) {
return false;
}
if (!hasClient()) {
return false;
}
if (!hasCorId()) {
return false;
}
if (hasRequest()) {
if (!getRequest().isInitialized()) {
return false;
}
}
if (hasResponse()) {
if (!getResponse().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcCall) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int duration_ ;
/**
* required int32 duration = 1;
*
*
* milliseconds
*
*/
public boolean hasDuration() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required int32 duration = 1;
*
*
* milliseconds
*
*/
public int getDuration() {
return duration_;
}
/**
* required int32 duration = 1;
*
*
* milliseconds
*
*/
public Builder setDuration(int value) {
bitField0_ |= 0x00000001;
duration_ = value;
onChanged();
return this;
}
/**
* required int32 duration = 1;
*
*
* milliseconds
*
*/
public Builder clearDuration() {
bitField0_ = (bitField0_ & ~0x00000001);
duration_ = 0;
onChanged();
return this;
}
private java.lang.Object server_ = "";
/**
* required string server = 2;
*/
public boolean hasServer() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string server = 2;
*/
public java.lang.String getServer() {
java.lang.Object ref = server_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
server_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string server = 2;
*/
public com.google.protobuf.ByteString
getServerBytes() {
java.lang.Object ref = server_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
server_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string server = 2;
*/
public Builder setServer(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
server_ = value;
onChanged();
return this;
}
/**
* required string server = 2;
*/
public Builder clearServer() {
bitField0_ = (bitField0_ & ~0x00000002);
server_ = getDefaultInstance().getServer();
onChanged();
return this;
}
/**
* required string server = 2;
*/
public Builder setServerBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
server_ = value;
onChanged();
return this;
}
private java.lang.Object signature_ = "";
/**
* required string signature = 3;
*/
public boolean hasSignature() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* required string signature = 3;
*/
public java.lang.String getSignature() {
java.lang.Object ref = signature_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
signature_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string signature = 3;
*/
public com.google.protobuf.ByteString
getSignatureBytes() {
java.lang.Object ref = signature_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
signature_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string signature = 3;
*/
public Builder setSignature(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
signature_ = value;
onChanged();
return this;
}
/**
* required string signature = 3;
*/
public Builder clearSignature() {
bitField0_ = (bitField0_ & ~0x00000004);
signature_ = getDefaultInstance().getSignature();
onChanged();
return this;
}
/**
* required string signature = 3;
*/
public Builder setSignatureBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
signature_ = value;
onChanged();
return this;
}
private java.lang.Object client_ = "";
/**
* required string client = 4;
*/
public boolean hasClient() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* required string client = 4;
*/
public java.lang.String getClient() {
java.lang.Object ref = client_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
client_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string client = 4;
*/
public com.google.protobuf.ByteString
getClientBytes() {
java.lang.Object ref = client_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
client_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string client = 4;
*/
public Builder setClient(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
client_ = value;
onChanged();
return this;
}
/**
* required string client = 4;
*/
public Builder clearClient() {
bitField0_ = (bitField0_ & ~0x00000008);
client_ = getDefaultInstance().getClient();
onChanged();
return this;
}
/**
* required string client = 4;
*/
public Builder setClientBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
client_ = value;
onChanged();
return this;
}
private int corId_ ;
/**
* required int32 corId = 5;
*/
public boolean hasCorId() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* required int32 corId = 5;
*/
public int getCorId() {
return corId_;
}
/**
* required int32 corId = 5;
*/
public Builder setCorId(int value) {
bitField0_ |= 0x00000010;
corId_ = value;
onChanged();
return this;
}
/**
* required int32 corId = 5;
*/
public Builder clearCorId() {
bitField0_ = (bitField0_ & ~0x00000010);
corId_ = 0;
onChanged();
return this;
}
private java.lang.Object error_ = "";
/**
* optional string error = 6;
*/
public boolean hasError() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional string error = 6;
*/
public java.lang.String getError() {
java.lang.Object ref = error_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
error_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string error = 6;
*/
public com.google.protobuf.ByteString
getErrorBytes() {
java.lang.Object ref = error_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
error_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string error = 6;
*/
public Builder setError(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
error_ = value;
onChanged();
return this;
}
/**
* optional string error = 6;
*/
public Builder clearError() {
bitField0_ = (bitField0_ & ~0x00000020);
error_ = getDefaultInstance().getError();
onChanged();
return this;
}
/**
* optional string error = 6;
*/
public Builder setErrorBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
error_ = value;
onChanged();
return this;
}
private com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo request_ = com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder> requestBuilder_;
/**
* optional .RpcPayloadInfo request = 7;
*/
public boolean hasRequest() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional .RpcPayloadInfo request = 7;
*/
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo getRequest() {
if (requestBuilder_ == null) {
return request_;
} else {
return requestBuilder_.getMessage();
}
}
/**
* optional .RpcPayloadInfo request = 7;
*/
public Builder setRequest(com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo value) {
if (requestBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
request_ = value;
onChanged();
} else {
requestBuilder_.setMessage(value);
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .RpcPayloadInfo request = 7;
*/
public Builder setRequest(
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder builderForValue) {
if (requestBuilder_ == null) {
request_ = builderForValue.build();
onChanged();
} else {
requestBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .RpcPayloadInfo request = 7;
*/
public Builder mergeRequest(com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo value) {
if (requestBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040) &&
request_ != com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.getDefaultInstance()) {
request_ =
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.newBuilder(request_).mergeFrom(value).buildPartial();
} else {
request_ = value;
}
onChanged();
} else {
requestBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .RpcPayloadInfo request = 7;
*/
public Builder clearRequest() {
if (requestBuilder_ == null) {
request_ = com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.getDefaultInstance();
onChanged();
} else {
requestBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
/**
* optional .RpcPayloadInfo request = 7;
*/
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder getRequestBuilder() {
bitField0_ |= 0x00000040;
onChanged();
return getRequestFieldBuilder().getBuilder();
}
/**
* optional .RpcPayloadInfo request = 7;
*/
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder getRequestOrBuilder() {
if (requestBuilder_ != null) {
return requestBuilder_.getMessageOrBuilder();
} else {
return request_;
}
}
/**
* optional .RpcPayloadInfo request = 7;
*/
private com.google.protobuf.SingleFieldBuilder<
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder>
getRequestFieldBuilder() {
if (requestBuilder_ == null) {
requestBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder>(
getRequest(),
getParentForChildren(),
isClean());
request_ = null;
}
return requestBuilder_;
}
private com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo response_ = com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder> responseBuilder_;
/**
* optional .RpcPayloadInfo response = 8;
*/
public boolean hasResponse() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional .RpcPayloadInfo response = 8;
*/
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo getResponse() {
if (responseBuilder_ == null) {
return response_;
} else {
return responseBuilder_.getMessage();
}
}
/**
* optional .RpcPayloadInfo response = 8;
*/
public Builder setResponse(com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo value) {
if (responseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
responseBuilder_.setMessage(value);
}
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .RpcPayloadInfo response = 8;
*/
public Builder setResponse(
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder builderForValue) {
if (responseBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
responseBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .RpcPayloadInfo response = 8;
*/
public Builder mergeResponse(com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo value) {
if (responseBuilder_ == null) {
if (((bitField0_ & 0x00000080) == 0x00000080) &&
response_ != com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.getDefaultInstance()) {
response_ =
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.newBuilder(response_).mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
responseBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .RpcPayloadInfo response = 8;
*/
public Builder clearResponse() {
if (responseBuilder_ == null) {
response_ = com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.getDefaultInstance();
onChanged();
} else {
responseBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
/**
* optional .RpcPayloadInfo response = 8;
*/
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder getResponseBuilder() {
bitField0_ |= 0x00000080;
onChanged();
return getResponseFieldBuilder().getBuilder();
}
/**
* optional .RpcPayloadInfo response = 8;
*/
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder getResponseOrBuilder() {
if (responseBuilder_ != null) {
return responseBuilder_.getMessageOrBuilder();
} else {
return response_;
}
}
/**
* optional .RpcPayloadInfo response = 8;
*/
private com.google.protobuf.SingleFieldBuilder<
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder>
getResponseFieldBuilder() {
if (responseBuilder_ == null) {
responseBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder>(
getResponse(),
getParentForChildren(),
isClean());
response_ = null;
}
return responseBuilder_;
}
// @@protoc_insertion_point(builder_scope:RpcCall)
}
static {
defaultInstance = new RpcCall(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:RpcCall)
}
public interface OobResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:OobResponse)
com.google.protobuf.MessageOrBuilder {
/**
* required string server = 1;
*/
boolean hasServer();
/**
* required string server = 1;
*/
java.lang.String getServer();
/**
* required string server = 1;
*/
com.google.protobuf.ByteString
getServerBytes();
/**
* required string signature = 2;
*/
boolean hasSignature();
/**
* required string signature = 2;
*/
java.lang.String getSignature();
/**
* required string signature = 2;
*/
com.google.protobuf.ByteString
getSignatureBytes();
/**
* required string client = 3;
*/
boolean hasClient();
/**
* required string client = 3;
*/
java.lang.String getClient();
/**
* required string client = 3;
*/
com.google.protobuf.ByteString
getClientBytes();
/**
* required int32 corId = 4;
*/
boolean hasCorId();
/**
* required int32 corId = 4;
*/
int getCorId();
/**
* optional .RpcPayloadInfo event = 5;
*/
boolean hasEvent();
/**
* optional .RpcPayloadInfo event = 5;
*/
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo getEvent();
/**
* optional .RpcPayloadInfo event = 5;
*/
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder getEventOrBuilder();
}
/**
* Protobuf type {@code OobResponse}
*/
public static final class OobResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:OobResponse)
OobResponseOrBuilder {
// Use OobResponse.newBuilder() to construct.
private OobResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private OobResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final OobResponse defaultInstance;
public static OobResponse getDefaultInstance() {
return defaultInstance;
}
public OobResponse getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private OobResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
server_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
signature_ = bs;
break;
}
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000004;
client_ = bs;
break;
}
case 32: {
bitField0_ |= 0x00000008;
corId_ = input.readInt32();
break;
}
case 42: {
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00000010) == 0x00000010)) {
subBuilder = event_.toBuilder();
}
event_ = input.readMessage(com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(event_);
event_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000010;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_OobResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_OobResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse.class, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public OobResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new OobResponse(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int SERVER_FIELD_NUMBER = 1;
private java.lang.Object server_;
/**
* required string server = 1;
*/
public boolean hasServer() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string server = 1;
*/
public java.lang.String getServer() {
java.lang.Object ref = server_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
server_ = s;
}
return s;
}
}
/**
* required string server = 1;
*/
public com.google.protobuf.ByteString
getServerBytes() {
java.lang.Object ref = server_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
server_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SIGNATURE_FIELD_NUMBER = 2;
private java.lang.Object signature_;
/**
* required string signature = 2;
*/
public boolean hasSignature() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string signature = 2;
*/
public java.lang.String getSignature() {
java.lang.Object ref = signature_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
signature_ = s;
}
return s;
}
}
/**
* required string signature = 2;
*/
public com.google.protobuf.ByteString
getSignatureBytes() {
java.lang.Object ref = signature_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
signature_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLIENT_FIELD_NUMBER = 3;
private java.lang.Object client_;
/**
* required string client = 3;
*/
public boolean hasClient() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* required string client = 3;
*/
public java.lang.String getClient() {
java.lang.Object ref = client_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
client_ = s;
}
return s;
}
}
/**
* required string client = 3;
*/
public com.google.protobuf.ByteString
getClientBytes() {
java.lang.Object ref = client_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
client_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CORID_FIELD_NUMBER = 4;
private int corId_;
/**
* required int32 corId = 4;
*/
public boolean hasCorId() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* required int32 corId = 4;
*/
public int getCorId() {
return corId_;
}
public static final int EVENT_FIELD_NUMBER = 5;
private com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo event_;
/**
* optional .RpcPayloadInfo event = 5;
*/
public boolean hasEvent() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional .RpcPayloadInfo event = 5;
*/
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo getEvent() {
return event_;
}
/**
* optional .RpcPayloadInfo event = 5;
*/
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder getEventOrBuilder() {
return event_;
}
private void initFields() {
server_ = "";
signature_ = "";
client_ = "";
corId_ = 0;
event_ = com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasServer()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasSignature()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasClient()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasCorId()) {
memoizedIsInitialized = 0;
return false;
}
if (hasEvent()) {
if (!getEvent().isInitialized()) {
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.writeBytes(1, getServerBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getSignatureBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, getClientBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(4, corId_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeMessage(5, event_);
}
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, getServerBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getSignatureBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getClientBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, corId_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, event_);
}
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 com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse 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;
}
/**
* Protobuf type {@code OobResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:OobResponse)
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_OobResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_OobResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse.class, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse.Builder.class);
}
// Construct using com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getEventFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
server_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
signature_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
client_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
corId_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
if (eventBuilder_ == null) {
event_ = com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.getDefaultInstance();
} else {
eventBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_OobResponse_descriptor;
}
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse getDefaultInstanceForType() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse.getDefaultInstance();
}
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse build() {
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse buildPartial() {
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse result = new com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.server_ = server_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.signature_ = signature_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.client_ = client_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.corId_ = corId_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
if (eventBuilder_ == null) {
result.event_ = event_;
} else {
result.event_ = eventBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse) {
return mergeFrom((com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse other) {
if (other == com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse.getDefaultInstance()) return this;
if (other.hasServer()) {
bitField0_ |= 0x00000001;
server_ = other.server_;
onChanged();
}
if (other.hasSignature()) {
bitField0_ |= 0x00000002;
signature_ = other.signature_;
onChanged();
}
if (other.hasClient()) {
bitField0_ |= 0x00000004;
client_ = other.client_;
onChanged();
}
if (other.hasCorId()) {
setCorId(other.getCorId());
}
if (other.hasEvent()) {
mergeEvent(other.getEvent());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasServer()) {
return false;
}
if (!hasSignature()) {
return false;
}
if (!hasClient()) {
return false;
}
if (!hasCorId()) {
return false;
}
if (hasEvent()) {
if (!getEvent().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object server_ = "";
/**
* required string server = 1;
*/
public boolean hasServer() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string server = 1;
*/
public java.lang.String getServer() {
java.lang.Object ref = server_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
server_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string server = 1;
*/
public com.google.protobuf.ByteString
getServerBytes() {
java.lang.Object ref = server_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
server_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string server = 1;
*/
public Builder setServer(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
server_ = value;
onChanged();
return this;
}
/**
* required string server = 1;
*/
public Builder clearServer() {
bitField0_ = (bitField0_ & ~0x00000001);
server_ = getDefaultInstance().getServer();
onChanged();
return this;
}
/**
* required string server = 1;
*/
public Builder setServerBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
server_ = value;
onChanged();
return this;
}
private java.lang.Object signature_ = "";
/**
* required string signature = 2;
*/
public boolean hasSignature() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string signature = 2;
*/
public java.lang.String getSignature() {
java.lang.Object ref = signature_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
signature_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string signature = 2;
*/
public com.google.protobuf.ByteString
getSignatureBytes() {
java.lang.Object ref = signature_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
signature_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string signature = 2;
*/
public Builder setSignature(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
signature_ = value;
onChanged();
return this;
}
/**
* required string signature = 2;
*/
public Builder clearSignature() {
bitField0_ = (bitField0_ & ~0x00000002);
signature_ = getDefaultInstance().getSignature();
onChanged();
return this;
}
/**
* required string signature = 2;
*/
public Builder setSignatureBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
signature_ = value;
onChanged();
return this;
}
private java.lang.Object client_ = "";
/**
* required string client = 3;
*/
public boolean hasClient() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* required string client = 3;
*/
public java.lang.String getClient() {
java.lang.Object ref = client_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
client_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string client = 3;
*/
public com.google.protobuf.ByteString
getClientBytes() {
java.lang.Object ref = client_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
client_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string client = 3;
*/
public Builder setClient(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
client_ = value;
onChanged();
return this;
}
/**
* required string client = 3;
*/
public Builder clearClient() {
bitField0_ = (bitField0_ & ~0x00000004);
client_ = getDefaultInstance().getClient();
onChanged();
return this;
}
/**
* required string client = 3;
*/
public Builder setClientBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
client_ = value;
onChanged();
return this;
}
private int corId_ ;
/**
* required int32 corId = 4;
*/
public boolean hasCorId() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* required int32 corId = 4;
*/
public int getCorId() {
return corId_;
}
/**
* required int32 corId = 4;
*/
public Builder setCorId(int value) {
bitField0_ |= 0x00000008;
corId_ = value;
onChanged();
return this;
}
/**
* required int32 corId = 4;
*/
public Builder clearCorId() {
bitField0_ = (bitField0_ & ~0x00000008);
corId_ = 0;
onChanged();
return this;
}
private com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo event_ = com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder> eventBuilder_;
/**
* optional .RpcPayloadInfo event = 5;
*/
public boolean hasEvent() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional .RpcPayloadInfo event = 5;
*/
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo getEvent() {
if (eventBuilder_ == null) {
return event_;
} else {
return eventBuilder_.getMessage();
}
}
/**
* optional .RpcPayloadInfo event = 5;
*/
public Builder setEvent(com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo value) {
if (eventBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
event_ = value;
onChanged();
} else {
eventBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .RpcPayloadInfo event = 5;
*/
public Builder setEvent(
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder builderForValue) {
if (eventBuilder_ == null) {
event_ = builderForValue.build();
onChanged();
} else {
eventBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .RpcPayloadInfo event = 5;
*/
public Builder mergeEvent(com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo value) {
if (eventBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010) &&
event_ != com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.getDefaultInstance()) {
event_ =
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.newBuilder(event_).mergeFrom(value).buildPartial();
} else {
event_ = value;
}
onChanged();
} else {
eventBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .RpcPayloadInfo event = 5;
*/
public Builder clearEvent() {
if (eventBuilder_ == null) {
event_ = com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.getDefaultInstance();
onChanged();
} else {
eventBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
/**
* optional .RpcPayloadInfo event = 5;
*/
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder getEventBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getEventFieldBuilder().getBuilder();
}
/**
* optional .RpcPayloadInfo event = 5;
*/
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder getEventOrBuilder() {
if (eventBuilder_ != null) {
return eventBuilder_.getMessageOrBuilder();
} else {
return event_;
}
}
/**
* optional .RpcPayloadInfo event = 5;
*/
private com.google.protobuf.SingleFieldBuilder<
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder>
getEventFieldBuilder() {
if (eventBuilder_ == null) {
eventBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder>(
getEvent(),
getParentForChildren(),
isClean());
event_ = null;
}
return eventBuilder_;
}
// @@protoc_insertion_point(builder_scope:OobResponse)
}
static {
defaultInstance = new OobResponse(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:OobResponse)
}
public interface OobMessageOrBuilder extends
// @@protoc_insertion_point(interface_extends:OobMessage)
com.google.protobuf.MessageOrBuilder {
/**
* required string server = 1;
*/
boolean hasServer();
/**
* required string server = 1;
*/
java.lang.String getServer();
/**
* required string server = 1;
*/
com.google.protobuf.ByteString
getServerBytes();
/**
* required string client = 2;
*/
boolean hasClient();
/**
* required string client = 2;
*/
java.lang.String getClient();
/**
* required string client = 2;
*/
com.google.protobuf.ByteString
getClientBytes();
/**
* optional .RpcPayloadInfo event = 3;
*/
boolean hasEvent();
/**
* optional .RpcPayloadInfo event = 3;
*/
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo getEvent();
/**
* optional .RpcPayloadInfo event = 3;
*/
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder getEventOrBuilder();
}
/**
* Protobuf type {@code OobMessage}
*/
public static final class OobMessage extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:OobMessage)
OobMessageOrBuilder {
// Use OobMessage.newBuilder() to construct.
private OobMessage(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private OobMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final OobMessage defaultInstance;
public static OobMessage getDefaultInstance() {
return defaultInstance;
}
public OobMessage getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private OobMessage(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
server_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
client_ = bs;
break;
}
case 26: {
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
subBuilder = event_.toBuilder();
}
event_ = input.readMessage(com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(event_);
event_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_OobMessage_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_OobMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage.class, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public OobMessage parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new OobMessage(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int SERVER_FIELD_NUMBER = 1;
private java.lang.Object server_;
/**
* required string server = 1;
*/
public boolean hasServer() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string server = 1;
*/
public java.lang.String getServer() {
java.lang.Object ref = server_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
server_ = s;
}
return s;
}
}
/**
* required string server = 1;
*/
public com.google.protobuf.ByteString
getServerBytes() {
java.lang.Object ref = server_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
server_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLIENT_FIELD_NUMBER = 2;
private java.lang.Object client_;
/**
* required string client = 2;
*/
public boolean hasClient() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string client = 2;
*/
public java.lang.String getClient() {
java.lang.Object ref = client_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
client_ = s;
}
return s;
}
}
/**
* required string client = 2;
*/
public com.google.protobuf.ByteString
getClientBytes() {
java.lang.Object ref = client_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
client_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EVENT_FIELD_NUMBER = 3;
private com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo event_;
/**
* optional .RpcPayloadInfo event = 3;
*/
public boolean hasEvent() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .RpcPayloadInfo event = 3;
*/
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo getEvent() {
return event_;
}
/**
* optional .RpcPayloadInfo event = 3;
*/
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder getEventOrBuilder() {
return event_;
}
private void initFields() {
server_ = "";
client_ = "";
event_ = com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasServer()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasClient()) {
memoizedIsInitialized = 0;
return false;
}
if (hasEvent()) {
if (!getEvent().isInitialized()) {
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.writeBytes(1, getServerBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getClientBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeMessage(3, event_);
}
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, getServerBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getClientBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, event_);
}
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 com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage 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;
}
/**
* Protobuf type {@code OobMessage}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:OobMessage)
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessageOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_OobMessage_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_OobMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage.class, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage.Builder.class);
}
// Construct using com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getEventFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
server_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
client_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
if (eventBuilder_ == null) {
event_ = com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.getDefaultInstance();
} else {
eventBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.internal_static_OobMessage_descriptor;
}
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage getDefaultInstanceForType() {
return com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage.getDefaultInstance();
}
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage build() {
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage buildPartial() {
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage result = new com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.server_ = server_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.client_ = client_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
if (eventBuilder_ == null) {
result.event_ = event_;
} else {
result.event_ = eventBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage) {
return mergeFrom((com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage other) {
if (other == com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage.getDefaultInstance()) return this;
if (other.hasServer()) {
bitField0_ |= 0x00000001;
server_ = other.server_;
onChanged();
}
if (other.hasClient()) {
bitField0_ |= 0x00000002;
client_ = other.client_;
onChanged();
}
if (other.hasEvent()) {
mergeEvent(other.getEvent());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
if (!hasServer()) {
return false;
}
if (!hasClient()) {
return false;
}
if (hasEvent()) {
if (!getEvent().isInitialized()) {
return false;
}
}
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.OobMessage) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object server_ = "";
/**
* required string server = 1;
*/
public boolean hasServer() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* required string server = 1;
*/
public java.lang.String getServer() {
java.lang.Object ref = server_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
server_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string server = 1;
*/
public com.google.protobuf.ByteString
getServerBytes() {
java.lang.Object ref = server_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
server_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string server = 1;
*/
public Builder setServer(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
server_ = value;
onChanged();
return this;
}
/**
* required string server = 1;
*/
public Builder clearServer() {
bitField0_ = (bitField0_ & ~0x00000001);
server_ = getDefaultInstance().getServer();
onChanged();
return this;
}
/**
* required string server = 1;
*/
public Builder setServerBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
server_ = value;
onChanged();
return this;
}
private java.lang.Object client_ = "";
/**
* required string client = 2;
*/
public boolean hasClient() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* required string client = 2;
*/
public java.lang.String getClient() {
java.lang.Object ref = client_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
client_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* required string client = 2;
*/
public com.google.protobuf.ByteString
getClientBytes() {
java.lang.Object ref = client_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
client_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* required string client = 2;
*/
public Builder setClient(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
client_ = value;
onChanged();
return this;
}
/**
* required string client = 2;
*/
public Builder clearClient() {
bitField0_ = (bitField0_ & ~0x00000002);
client_ = getDefaultInstance().getClient();
onChanged();
return this;
}
/**
* required string client = 2;
*/
public Builder setClientBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
client_ = value;
onChanged();
return this;
}
private com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo event_ = com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder> eventBuilder_;
/**
* optional .RpcPayloadInfo event = 3;
*/
public boolean hasEvent() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .RpcPayloadInfo event = 3;
*/
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo getEvent() {
if (eventBuilder_ == null) {
return event_;
} else {
return eventBuilder_.getMessage();
}
}
/**
* optional .RpcPayloadInfo event = 3;
*/
public Builder setEvent(com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo value) {
if (eventBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
event_ = value;
onChanged();
} else {
eventBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .RpcPayloadInfo event = 3;
*/
public Builder setEvent(
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder builderForValue) {
if (eventBuilder_ == null) {
event_ = builderForValue.build();
onChanged();
} else {
eventBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .RpcPayloadInfo event = 3;
*/
public Builder mergeEvent(com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo value) {
if (eventBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004) &&
event_ != com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.getDefaultInstance()) {
event_ =
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.newBuilder(event_).mergeFrom(value).buildPartial();
} else {
event_ = value;
}
onChanged();
} else {
eventBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .RpcPayloadInfo event = 3;
*/
public Builder clearEvent() {
if (eventBuilder_ == null) {
event_ = com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.getDefaultInstance();
onChanged();
} else {
eventBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .RpcPayloadInfo event = 3;
*/
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder getEventBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getEventFieldBuilder().getBuilder();
}
/**
* optional .RpcPayloadInfo event = 3;
*/
public com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder getEventOrBuilder() {
if (eventBuilder_ != null) {
return eventBuilder_.getMessageOrBuilder();
} else {
return event_;
}
}
/**
* optional .RpcPayloadInfo event = 3;
*/
private com.google.protobuf.SingleFieldBuilder<
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder>
getEventFieldBuilder() {
if (eventBuilder_ == null) {
eventBuilder_ = new com.google.protobuf.SingleFieldBuilder<
com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfo.Builder, com.googlecode.protobuf.pro.duplex.logging.RpcLogEntry.RpcPayloadInfoOrBuilder>(
getEvent(),
getParentForChildren(),
isClean());
event_ = null;
}
return eventBuilder_;
}
// @@protoc_insertion_point(builder_scope:OobMessage)
}
static {
defaultInstance = new OobMessage(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:OobMessage)
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_PayloadContent_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_PayloadContent_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_RpcPayloadInfo_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_RpcPayloadInfo_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_RpcCall_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_RpcCall_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_OobResponse_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_OobResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_OobMessage_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_OobMessage_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\035protobuf-rpc-duplex-log.proto\"/\n\016Paylo" +
"adContent\022\014\n\004uuid\030\001 \002(\t\022\017\n\007content\030\002 \002(\t" +
"\"8\n\016RpcPayloadInfo\022\n\n\002ts\030\001 \002(\003\022\014\n\004size\030\002" +
" \001(\005\022\014\n\004uuid\030\003 \001(\t\"\261\001\n\007RpcCall\022\020\n\010durati" +
"on\030\001 \002(\005\022\016\n\006server\030\002 \002(\t\022\021\n\tsignature\030\003 " +
"\002(\t\022\016\n\006client\030\004 \002(\t\022\r\n\005corId\030\005 \002(\005\022\r\n\005er" +
"ror\030\006 \001(\t\022 \n\007request\030\007 \001(\0132\017.RpcPayloadI" +
"nfo\022!\n\010response\030\010 \001(\0132\017.RpcPayloadInfo\"o" +
"\n\013OobResponse\022\016\n\006server\030\001 \002(\t\022\021\n\tsignatu" +
"re\030\002 \002(\t\022\016\n\006client\030\003 \002(\t\022\r\n\005corId\030\004 \002(\005\022",
"\036\n\005event\030\005 \001(\0132\017.RpcPayloadInfo\"L\n\nOobMe" +
"ssage\022\016\n\006server\030\001 \002(\t\022\016\n\006client\030\002 \002(\t\022\036\n" +
"\005event\030\003 \001(\0132\017.RpcPayloadInfoB;\n*com.goo" +
"glecode.protobuf.pro.duplex.loggingB\013Rpc" +
"LogEntryH\001"
};
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;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
internal_static_PayloadContent_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_PayloadContent_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_PayloadContent_descriptor,
new java.lang.String[] { "Uuid", "Content", });
internal_static_RpcPayloadInfo_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_RpcPayloadInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_RpcPayloadInfo_descriptor,
new java.lang.String[] { "Ts", "Size", "Uuid", });
internal_static_RpcCall_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_RpcCall_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_RpcCall_descriptor,
new java.lang.String[] { "Duration", "Server", "Signature", "Client", "CorId", "Error", "Request", "Response", });
internal_static_OobResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_OobResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_OobResponse_descriptor,
new java.lang.String[] { "Server", "Signature", "Client", "CorId", "Event", });
internal_static_OobMessage_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_OobMessage_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_OobMessage_descriptor,
new java.lang.String[] { "Server", "Client", "Event", });
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy