skadistats.clarity.wire.shared.s1.proto.S1NetMessages Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clarity-protobuf Show documentation
Show all versions of clarity-protobuf Show documentation
Clarity is an open source replay parser for Dota 2 and CSGO 1 and 2 written in Java. This JAR contains the protobuf classes for clarity.
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: netmessages-s1.proto
package skadistats.clarity.wire.shared.s1.proto;
public final class S1NetMessages {
private S1NetMessages() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface CSVCMsg_SendTableOrBuilder extends
// @@protoc_insertion_point(interface_extends:CSVCMsg_SendTable)
com.google.protobuf.MessageOrBuilder {
/**
* optional bool is_end = 1;
*/
boolean hasIsEnd();
/**
* optional bool is_end = 1;
*/
boolean getIsEnd();
/**
* optional string net_table_name = 2;
*/
boolean hasNetTableName();
/**
* optional string net_table_name = 2;
*/
java.lang.String getNetTableName();
/**
* optional string net_table_name = 2;
*/
com.google.protobuf.ByteString
getNetTableNameBytes();
/**
* optional bool needs_decoder = 3;
*/
boolean hasNeedsDecoder();
/**
* optional bool needs_decoder = 3;
*/
boolean getNeedsDecoder();
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
java.util.List
getPropsList();
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t getProps(int index);
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
int getPropsCount();
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
java.util.List extends skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_tOrBuilder>
getPropsOrBuilderList();
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_tOrBuilder getPropsOrBuilder(
int index);
}
/**
* Protobuf type {@code CSVCMsg_SendTable}
*/
public static final class CSVCMsg_SendTable extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CSVCMsg_SendTable)
CSVCMsg_SendTableOrBuilder {
// Use CSVCMsg_SendTable.newBuilder() to construct.
private CSVCMsg_SendTable(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CSVCMsg_SendTable(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CSVCMsg_SendTable defaultInstance;
public static CSVCMsg_SendTable getDefaultInstance() {
return defaultInstance;
}
public CSVCMsg_SendTable getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CSVCMsg_SendTable(
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;
isEnd_ = input.readBool();
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
netTableName_ = bs;
break;
}
case 24: {
bitField0_ |= 0x00000004;
needsDecoder_ = input.readBool();
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
props_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
props_.add(input.readMessage(skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t.PARSER, extensionRegistry));
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 {
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
props_ = java.util.Collections.unmodifiableList(props_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.shared.s1.proto.S1NetMessages.internal_static_CSVCMsg_SendTable_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.shared.s1.proto.S1NetMessages.internal_static_CSVCMsg_SendTable_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.class, skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CSVCMsg_SendTable parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CSVCMsg_SendTable(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public interface sendprop_tOrBuilder extends
// @@protoc_insertion_point(interface_extends:CSVCMsg_SendTable.sendprop_t)
com.google.protobuf.MessageOrBuilder {
/**
* optional int32 type = 1;
*/
boolean hasType();
/**
* optional int32 type = 1;
*/
int getType();
/**
* optional string var_name = 2;
*/
boolean hasVarName();
/**
* optional string var_name = 2;
*/
java.lang.String getVarName();
/**
* optional string var_name = 2;
*/
com.google.protobuf.ByteString
getVarNameBytes();
/**
* optional int32 flags = 3;
*/
boolean hasFlags();
/**
* optional int32 flags = 3;
*/
int getFlags();
/**
* optional int32 priority = 4;
*/
boolean hasPriority();
/**
* optional int32 priority = 4;
*/
int getPriority();
/**
* optional string dt_name = 5;
*/
boolean hasDtName();
/**
* optional string dt_name = 5;
*/
java.lang.String getDtName();
/**
* optional string dt_name = 5;
*/
com.google.protobuf.ByteString
getDtNameBytes();
/**
* optional int32 num_elements = 6;
*/
boolean hasNumElements();
/**
* optional int32 num_elements = 6;
*/
int getNumElements();
/**
* optional float low_value = 7;
*/
boolean hasLowValue();
/**
* optional float low_value = 7;
*/
float getLowValue();
/**
* optional float high_value = 8;
*/
boolean hasHighValue();
/**
* optional float high_value = 8;
*/
float getHighValue();
/**
* optional int32 num_bits = 9;
*/
boolean hasNumBits();
/**
* optional int32 num_bits = 9;
*/
int getNumBits();
}
/**
* Protobuf type {@code CSVCMsg_SendTable.sendprop_t}
*/
public static final class sendprop_t extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CSVCMsg_SendTable.sendprop_t)
sendprop_tOrBuilder {
// Use sendprop_t.newBuilder() to construct.
private sendprop_t(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private sendprop_t(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final sendprop_t defaultInstance;
public static sendprop_t getDefaultInstance() {
return defaultInstance;
}
public sendprop_t getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private sendprop_t(
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;
type_ = input.readInt32();
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
varName_ = bs;
break;
}
case 24: {
bitField0_ |= 0x00000004;
flags_ = input.readInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
priority_ = input.readInt32();
break;
}
case 42: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000010;
dtName_ = bs;
break;
}
case 48: {
bitField0_ |= 0x00000020;
numElements_ = input.readInt32();
break;
}
case 61: {
bitField0_ |= 0x00000040;
lowValue_ = input.readFloat();
break;
}
case 69: {
bitField0_ |= 0x00000080;
highValue_ = input.readFloat();
break;
}
case 72: {
bitField0_ |= 0x00000100;
numBits_ = input.readInt32();
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 skadistats.clarity.wire.shared.s1.proto.S1NetMessages.internal_static_CSVCMsg_SendTable_sendprop_t_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.shared.s1.proto.S1NetMessages.internal_static_CSVCMsg_SendTable_sendprop_t_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t.class, skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public sendprop_t parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new sendprop_t(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int TYPE_FIELD_NUMBER = 1;
private int type_;
/**
* optional int32 type = 1;
*/
public boolean hasType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 type = 1;
*/
public int getType() {
return type_;
}
public static final int VAR_NAME_FIELD_NUMBER = 2;
private java.lang.Object varName_;
/**
* optional string var_name = 2;
*/
public boolean hasVarName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string var_name = 2;
*/
public java.lang.String getVarName() {
java.lang.Object ref = varName_;
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()) {
varName_ = s;
}
return s;
}
}
/**
* optional string var_name = 2;
*/
public com.google.protobuf.ByteString
getVarNameBytes() {
java.lang.Object ref = varName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
varName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FLAGS_FIELD_NUMBER = 3;
private int flags_;
/**
* optional int32 flags = 3;
*/
public boolean hasFlags() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 flags = 3;
*/
public int getFlags() {
return flags_;
}
public static final int PRIORITY_FIELD_NUMBER = 4;
private int priority_;
/**
* optional int32 priority = 4;
*/
public boolean hasPriority() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 priority = 4;
*/
public int getPriority() {
return priority_;
}
public static final int DT_NAME_FIELD_NUMBER = 5;
private java.lang.Object dtName_;
/**
* optional string dt_name = 5;
*/
public boolean hasDtName() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional string dt_name = 5;
*/
public java.lang.String getDtName() {
java.lang.Object ref = dtName_;
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()) {
dtName_ = s;
}
return s;
}
}
/**
* optional string dt_name = 5;
*/
public com.google.protobuf.ByteString
getDtNameBytes() {
java.lang.Object ref = dtName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dtName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NUM_ELEMENTS_FIELD_NUMBER = 6;
private int numElements_;
/**
* optional int32 num_elements = 6;
*/
public boolean hasNumElements() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 num_elements = 6;
*/
public int getNumElements() {
return numElements_;
}
public static final int LOW_VALUE_FIELD_NUMBER = 7;
private float lowValue_;
/**
* optional float low_value = 7;
*/
public boolean hasLowValue() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional float low_value = 7;
*/
public float getLowValue() {
return lowValue_;
}
public static final int HIGH_VALUE_FIELD_NUMBER = 8;
private float highValue_;
/**
* optional float high_value = 8;
*/
public boolean hasHighValue() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional float high_value = 8;
*/
public float getHighValue() {
return highValue_;
}
public static final int NUM_BITS_FIELD_NUMBER = 9;
private int numBits_;
/**
* optional int32 num_bits = 9;
*/
public boolean hasNumBits() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional int32 num_bits = 9;
*/
public int getNumBits() {
return numBits_;
}
private void initFields() {
type_ = 0;
varName_ = "";
flags_ = 0;
priority_ = 0;
dtName_ = "";
numElements_ = 0;
lowValue_ = 0F;
highValue_ = 0F;
numBits_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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, type_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getVarNameBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, flags_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(4, priority_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBytes(5, getDtNameBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeInt32(6, numElements_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeFloat(7, lowValue_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeFloat(8, highValue_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeInt32(9, numBits_);
}
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, type_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getVarNameBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, flags_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, priority_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(5, getDtNameBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, numElements_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(7, lowValue_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeFloatSize(8, highValue_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(9, numBits_);
}
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 skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t 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(skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code CSVCMsg_SendTable.sendprop_t}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CSVCMsg_SendTable.sendprop_t)
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_tOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.shared.s1.proto.S1NetMessages.internal_static_CSVCMsg_SendTable_sendprop_t_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.shared.s1.proto.S1NetMessages.internal_static_CSVCMsg_SendTable_sendprop_t_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t.class, skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t.Builder.class);
}
// Construct using skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t.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();
type_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
varName_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
flags_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
priority_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
dtName_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
numElements_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
lowValue_ = 0F;
bitField0_ = (bitField0_ & ~0x00000040);
highValue_ = 0F;
bitField0_ = (bitField0_ & ~0x00000080);
numBits_ = 0;
bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.shared.s1.proto.S1NetMessages.internal_static_CSVCMsg_SendTable_sendprop_t_descriptor;
}
public skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t getDefaultInstanceForType() {
return skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t.getDefaultInstance();
}
public skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t build() {
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t buildPartial() {
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t result = new skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.type_ = type_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.varName_ = varName_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.flags_ = flags_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.priority_ = priority_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.dtName_ = dtName_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.numElements_ = numElements_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.lowValue_ = lowValue_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.highValue_ = highValue_;
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000100;
}
result.numBits_ = numBits_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t) {
return mergeFrom((skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t other) {
if (other == skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t.getDefaultInstance()) return this;
if (other.hasType()) {
setType(other.getType());
}
if (other.hasVarName()) {
bitField0_ |= 0x00000002;
varName_ = other.varName_;
onChanged();
}
if (other.hasFlags()) {
setFlags(other.getFlags());
}
if (other.hasPriority()) {
setPriority(other.getPriority());
}
if (other.hasDtName()) {
bitField0_ |= 0x00000010;
dtName_ = other.dtName_;
onChanged();
}
if (other.hasNumElements()) {
setNumElements(other.getNumElements());
}
if (other.hasLowValue()) {
setLowValue(other.getLowValue());
}
if (other.hasHighValue()) {
setHighValue(other.getHighValue());
}
if (other.hasNumBits()) {
setNumBits(other.getNumBits());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int type_ ;
/**
* optional int32 type = 1;
*/
public boolean hasType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional int32 type = 1;
*/
public int getType() {
return type_;
}
/**
* optional int32 type = 1;
*/
public Builder setType(int value) {
bitField0_ |= 0x00000001;
type_ = value;
onChanged();
return this;
}
/**
* optional int32 type = 1;
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000001);
type_ = 0;
onChanged();
return this;
}
private java.lang.Object varName_ = "";
/**
* optional string var_name = 2;
*/
public boolean hasVarName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string var_name = 2;
*/
public java.lang.String getVarName() {
java.lang.Object ref = varName_;
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()) {
varName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string var_name = 2;
*/
public com.google.protobuf.ByteString
getVarNameBytes() {
java.lang.Object ref = varName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
varName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string var_name = 2;
*/
public Builder setVarName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
varName_ = value;
onChanged();
return this;
}
/**
* optional string var_name = 2;
*/
public Builder clearVarName() {
bitField0_ = (bitField0_ & ~0x00000002);
varName_ = getDefaultInstance().getVarName();
onChanged();
return this;
}
/**
* optional string var_name = 2;
*/
public Builder setVarNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
varName_ = value;
onChanged();
return this;
}
private int flags_ ;
/**
* optional int32 flags = 3;
*/
public boolean hasFlags() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 flags = 3;
*/
public int getFlags() {
return flags_;
}
/**
* optional int32 flags = 3;
*/
public Builder setFlags(int value) {
bitField0_ |= 0x00000004;
flags_ = value;
onChanged();
return this;
}
/**
* optional int32 flags = 3;
*/
public Builder clearFlags() {
bitField0_ = (bitField0_ & ~0x00000004);
flags_ = 0;
onChanged();
return this;
}
private int priority_ ;
/**
* optional int32 priority = 4;
*/
public boolean hasPriority() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional int32 priority = 4;
*/
public int getPriority() {
return priority_;
}
/**
* optional int32 priority = 4;
*/
public Builder setPriority(int value) {
bitField0_ |= 0x00000008;
priority_ = value;
onChanged();
return this;
}
/**
* optional int32 priority = 4;
*/
public Builder clearPriority() {
bitField0_ = (bitField0_ & ~0x00000008);
priority_ = 0;
onChanged();
return this;
}
private java.lang.Object dtName_ = "";
/**
* optional string dt_name = 5;
*/
public boolean hasDtName() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional string dt_name = 5;
*/
public java.lang.String getDtName() {
java.lang.Object ref = dtName_;
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()) {
dtName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string dt_name = 5;
*/
public com.google.protobuf.ByteString
getDtNameBytes() {
java.lang.Object ref = dtName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dtName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string dt_name = 5;
*/
public Builder setDtName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
dtName_ = value;
onChanged();
return this;
}
/**
* optional string dt_name = 5;
*/
public Builder clearDtName() {
bitField0_ = (bitField0_ & ~0x00000010);
dtName_ = getDefaultInstance().getDtName();
onChanged();
return this;
}
/**
* optional string dt_name = 5;
*/
public Builder setDtNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
dtName_ = value;
onChanged();
return this;
}
private int numElements_ ;
/**
* optional int32 num_elements = 6;
*/
public boolean hasNumElements() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 num_elements = 6;
*/
public int getNumElements() {
return numElements_;
}
/**
* optional int32 num_elements = 6;
*/
public Builder setNumElements(int value) {
bitField0_ |= 0x00000020;
numElements_ = value;
onChanged();
return this;
}
/**
* optional int32 num_elements = 6;
*/
public Builder clearNumElements() {
bitField0_ = (bitField0_ & ~0x00000020);
numElements_ = 0;
onChanged();
return this;
}
private float lowValue_ ;
/**
* optional float low_value = 7;
*/
public boolean hasLowValue() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional float low_value = 7;
*/
public float getLowValue() {
return lowValue_;
}
/**
* optional float low_value = 7;
*/
public Builder setLowValue(float value) {
bitField0_ |= 0x00000040;
lowValue_ = value;
onChanged();
return this;
}
/**
* optional float low_value = 7;
*/
public Builder clearLowValue() {
bitField0_ = (bitField0_ & ~0x00000040);
lowValue_ = 0F;
onChanged();
return this;
}
private float highValue_ ;
/**
* optional float high_value = 8;
*/
public boolean hasHighValue() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional float high_value = 8;
*/
public float getHighValue() {
return highValue_;
}
/**
* optional float high_value = 8;
*/
public Builder setHighValue(float value) {
bitField0_ |= 0x00000080;
highValue_ = value;
onChanged();
return this;
}
/**
* optional float high_value = 8;
*/
public Builder clearHighValue() {
bitField0_ = (bitField0_ & ~0x00000080);
highValue_ = 0F;
onChanged();
return this;
}
private int numBits_ ;
/**
* optional int32 num_bits = 9;
*/
public boolean hasNumBits() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional int32 num_bits = 9;
*/
public int getNumBits() {
return numBits_;
}
/**
* optional int32 num_bits = 9;
*/
public Builder setNumBits(int value) {
bitField0_ |= 0x00000100;
numBits_ = value;
onChanged();
return this;
}
/**
* optional int32 num_bits = 9;
*/
public Builder clearNumBits() {
bitField0_ = (bitField0_ & ~0x00000100);
numBits_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CSVCMsg_SendTable.sendprop_t)
}
static {
defaultInstance = new sendprop_t(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CSVCMsg_SendTable.sendprop_t)
}
private int bitField0_;
public static final int IS_END_FIELD_NUMBER = 1;
private boolean isEnd_;
/**
* optional bool is_end = 1;
*/
public boolean hasIsEnd() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional bool is_end = 1;
*/
public boolean getIsEnd() {
return isEnd_;
}
public static final int NET_TABLE_NAME_FIELD_NUMBER = 2;
private java.lang.Object netTableName_;
/**
* optional string net_table_name = 2;
*/
public boolean hasNetTableName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string net_table_name = 2;
*/
public java.lang.String getNetTableName() {
java.lang.Object ref = netTableName_;
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()) {
netTableName_ = s;
}
return s;
}
}
/**
* optional string net_table_name = 2;
*/
public com.google.protobuf.ByteString
getNetTableNameBytes() {
java.lang.Object ref = netTableName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
netTableName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NEEDS_DECODER_FIELD_NUMBER = 3;
private boolean needsDecoder_;
/**
* optional bool needs_decoder = 3;
*/
public boolean hasNeedsDecoder() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional bool needs_decoder = 3;
*/
public boolean getNeedsDecoder() {
return needsDecoder_;
}
public static final int PROPS_FIELD_NUMBER = 4;
private java.util.List props_;
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
public java.util.List getPropsList() {
return props_;
}
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
public java.util.List extends skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_tOrBuilder>
getPropsOrBuilderList() {
return props_;
}
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
public int getPropsCount() {
return props_.size();
}
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
public skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t getProps(int index) {
return props_.get(index);
}
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
public skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_tOrBuilder getPropsOrBuilder(
int index) {
return props_.get(index);
}
private void initFields() {
isEnd_ = false;
netTableName_ = "";
needsDecoder_ = false;
props_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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.writeBool(1, isEnd_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getNetTableNameBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBool(3, needsDecoder_);
}
for (int i = 0; i < props_.size(); i++) {
output.writeMessage(4, props_.get(i));
}
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
.computeBoolSize(1, isEnd_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getNetTableNameBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, needsDecoder_);
}
for (int i = 0; i < props_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, props_.get(i));
}
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 skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable 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(skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable 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 CSVCMsg_SendTable}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CSVCMsg_SendTable)
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTableOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.shared.s1.proto.S1NetMessages.internal_static_CSVCMsg_SendTable_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.shared.s1.proto.S1NetMessages.internal_static_CSVCMsg_SendTable_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.class, skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.Builder.class);
}
// Construct using skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getPropsFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
isEnd_ = false;
bitField0_ = (bitField0_ & ~0x00000001);
netTableName_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
needsDecoder_ = false;
bitField0_ = (bitField0_ & ~0x00000004);
if (propsBuilder_ == null) {
props_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
propsBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.shared.s1.proto.S1NetMessages.internal_static_CSVCMsg_SendTable_descriptor;
}
public skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable getDefaultInstanceForType() {
return skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.getDefaultInstance();
}
public skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable build() {
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable buildPartial() {
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable result = new skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.isEnd_ = isEnd_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.netTableName_ = netTableName_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.needsDecoder_ = needsDecoder_;
if (propsBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008)) {
props_ = java.util.Collections.unmodifiableList(props_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.props_ = props_;
} else {
result.props_ = propsBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable) {
return mergeFrom((skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable other) {
if (other == skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.getDefaultInstance()) return this;
if (other.hasIsEnd()) {
setIsEnd(other.getIsEnd());
}
if (other.hasNetTableName()) {
bitField0_ |= 0x00000002;
netTableName_ = other.netTableName_;
onChanged();
}
if (other.hasNeedsDecoder()) {
setNeedsDecoder(other.getNeedsDecoder());
}
if (propsBuilder_ == null) {
if (!other.props_.isEmpty()) {
if (props_.isEmpty()) {
props_ = other.props_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensurePropsIsMutable();
props_.addAll(other.props_);
}
onChanged();
}
} else {
if (!other.props_.isEmpty()) {
if (propsBuilder_.isEmpty()) {
propsBuilder_.dispose();
propsBuilder_ = null;
props_ = other.props_;
bitField0_ = (bitField0_ & ~0x00000008);
propsBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getPropsFieldBuilder() : null;
} else {
propsBuilder_.addAllMessages(other.props_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private boolean isEnd_ ;
/**
* optional bool is_end = 1;
*/
public boolean hasIsEnd() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional bool is_end = 1;
*/
public boolean getIsEnd() {
return isEnd_;
}
/**
* optional bool is_end = 1;
*/
public Builder setIsEnd(boolean value) {
bitField0_ |= 0x00000001;
isEnd_ = value;
onChanged();
return this;
}
/**
* optional bool is_end = 1;
*/
public Builder clearIsEnd() {
bitField0_ = (bitField0_ & ~0x00000001);
isEnd_ = false;
onChanged();
return this;
}
private java.lang.Object netTableName_ = "";
/**
* optional string net_table_name = 2;
*/
public boolean hasNetTableName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string net_table_name = 2;
*/
public java.lang.String getNetTableName() {
java.lang.Object ref = netTableName_;
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()) {
netTableName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string net_table_name = 2;
*/
public com.google.protobuf.ByteString
getNetTableNameBytes() {
java.lang.Object ref = netTableName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
netTableName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string net_table_name = 2;
*/
public Builder setNetTableName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
netTableName_ = value;
onChanged();
return this;
}
/**
* optional string net_table_name = 2;
*/
public Builder clearNetTableName() {
bitField0_ = (bitField0_ & ~0x00000002);
netTableName_ = getDefaultInstance().getNetTableName();
onChanged();
return this;
}
/**
* optional string net_table_name = 2;
*/
public Builder setNetTableNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
netTableName_ = value;
onChanged();
return this;
}
private boolean needsDecoder_ ;
/**
* optional bool needs_decoder = 3;
*/
public boolean hasNeedsDecoder() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional bool needs_decoder = 3;
*/
public boolean getNeedsDecoder() {
return needsDecoder_;
}
/**
* optional bool needs_decoder = 3;
*/
public Builder setNeedsDecoder(boolean value) {
bitField0_ |= 0x00000004;
needsDecoder_ = value;
onChanged();
return this;
}
/**
* optional bool needs_decoder = 3;
*/
public Builder clearNeedsDecoder() {
bitField0_ = (bitField0_ & ~0x00000004);
needsDecoder_ = false;
onChanged();
return this;
}
private java.util.List props_ =
java.util.Collections.emptyList();
private void ensurePropsIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
props_ = new java.util.ArrayList(props_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t, skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t.Builder, skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_tOrBuilder> propsBuilder_;
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
public java.util.List getPropsList() {
if (propsBuilder_ == null) {
return java.util.Collections.unmodifiableList(props_);
} else {
return propsBuilder_.getMessageList();
}
}
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
public int getPropsCount() {
if (propsBuilder_ == null) {
return props_.size();
} else {
return propsBuilder_.getCount();
}
}
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
public skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t getProps(int index) {
if (propsBuilder_ == null) {
return props_.get(index);
} else {
return propsBuilder_.getMessage(index);
}
}
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
public Builder setProps(
int index, skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t value) {
if (propsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePropsIsMutable();
props_.set(index, value);
onChanged();
} else {
propsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
public Builder setProps(
int index, skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t.Builder builderForValue) {
if (propsBuilder_ == null) {
ensurePropsIsMutable();
props_.set(index, builderForValue.build());
onChanged();
} else {
propsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
public Builder addProps(skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t value) {
if (propsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePropsIsMutable();
props_.add(value);
onChanged();
} else {
propsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
public Builder addProps(
int index, skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t value) {
if (propsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePropsIsMutable();
props_.add(index, value);
onChanged();
} else {
propsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
public Builder addProps(
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t.Builder builderForValue) {
if (propsBuilder_ == null) {
ensurePropsIsMutable();
props_.add(builderForValue.build());
onChanged();
} else {
propsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
public Builder addProps(
int index, skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t.Builder builderForValue) {
if (propsBuilder_ == null) {
ensurePropsIsMutable();
props_.add(index, builderForValue.build());
onChanged();
} else {
propsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
public Builder addAllProps(
java.lang.Iterable extends skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t> values) {
if (propsBuilder_ == null) {
ensurePropsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, props_);
onChanged();
} else {
propsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
public Builder clearProps() {
if (propsBuilder_ == null) {
props_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
propsBuilder_.clear();
}
return this;
}
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
public Builder removeProps(int index) {
if (propsBuilder_ == null) {
ensurePropsIsMutable();
props_.remove(index);
onChanged();
} else {
propsBuilder_.remove(index);
}
return this;
}
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
public skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t.Builder getPropsBuilder(
int index) {
return getPropsFieldBuilder().getBuilder(index);
}
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
public skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_tOrBuilder getPropsOrBuilder(
int index) {
if (propsBuilder_ == null) {
return props_.get(index); } else {
return propsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
public java.util.List extends skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_tOrBuilder>
getPropsOrBuilderList() {
if (propsBuilder_ != null) {
return propsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(props_);
}
}
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
public skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t.Builder addPropsBuilder() {
return getPropsFieldBuilder().addBuilder(
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t.getDefaultInstance());
}
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
public skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t.Builder addPropsBuilder(
int index) {
return getPropsFieldBuilder().addBuilder(
index, skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t.getDefaultInstance());
}
/**
* repeated .CSVCMsg_SendTable.sendprop_t props = 4;
*/
public java.util.List
getPropsBuilderList() {
return getPropsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t, skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t.Builder, skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_tOrBuilder>
getPropsFieldBuilder() {
if (propsBuilder_ == null) {
propsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t, skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_t.Builder, skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_SendTable.sendprop_tOrBuilder>(
props_,
((bitField0_ & 0x00000008) == 0x00000008),
getParentForChildren(),
isClean());
props_ = null;
}
return propsBuilder_;
}
// @@protoc_insertion_point(builder_scope:CSVCMsg_SendTable)
}
static {
defaultInstance = new CSVCMsg_SendTable(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CSVCMsg_SendTable)
}
public interface CSVCMsg_CreateStringTableOrBuilder extends
// @@protoc_insertion_point(interface_extends:CSVCMsg_CreateStringTable)
com.google.protobuf.MessageOrBuilder {
/**
* optional string name = 1;
*/
boolean hasName();
/**
* optional string name = 1;
*/
java.lang.String getName();
/**
* optional string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* optional int32 max_entries = 2;
*/
boolean hasMaxEntries();
/**
* optional int32 max_entries = 2;
*/
int getMaxEntries();
/**
* optional int32 num_entries = 3;
*/
boolean hasNumEntries();
/**
* optional int32 num_entries = 3;
*/
int getNumEntries();
/**
* optional bool user_data_fixed_size = 4;
*/
boolean hasUserDataFixedSize();
/**
* optional bool user_data_fixed_size = 4;
*/
boolean getUserDataFixedSize();
/**
* optional int32 user_data_size = 5;
*/
boolean hasUserDataSize();
/**
* optional int32 user_data_size = 5;
*/
int getUserDataSize();
/**
* optional int32 user_data_size_bits = 6;
*/
boolean hasUserDataSizeBits();
/**
* optional int32 user_data_size_bits = 6;
*/
int getUserDataSizeBits();
/**
* optional int32 flags = 7;
*/
boolean hasFlags();
/**
* optional int32 flags = 7;
*/
int getFlags();
/**
* optional bytes string_data = 8;
*/
boolean hasStringData();
/**
* optional bytes string_data = 8;
*/
com.google.protobuf.ByteString getStringData();
}
/**
* Protobuf type {@code CSVCMsg_CreateStringTable}
*/
public static final class CSVCMsg_CreateStringTable extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CSVCMsg_CreateStringTable)
CSVCMsg_CreateStringTableOrBuilder {
// Use CSVCMsg_CreateStringTable.newBuilder() to construct.
private CSVCMsg_CreateStringTable(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CSVCMsg_CreateStringTable(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CSVCMsg_CreateStringTable defaultInstance;
public static CSVCMsg_CreateStringTable getDefaultInstance() {
return defaultInstance;
}
public CSVCMsg_CreateStringTable getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CSVCMsg_CreateStringTable(
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;
name_ = bs;
break;
}
case 16: {
bitField0_ |= 0x00000002;
maxEntries_ = input.readInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
numEntries_ = input.readInt32();
break;
}
case 32: {
bitField0_ |= 0x00000008;
userDataFixedSize_ = input.readBool();
break;
}
case 40: {
bitField0_ |= 0x00000010;
userDataSize_ = input.readInt32();
break;
}
case 48: {
bitField0_ |= 0x00000020;
userDataSizeBits_ = input.readInt32();
break;
}
case 56: {
bitField0_ |= 0x00000040;
flags_ = input.readInt32();
break;
}
case 66: {
bitField0_ |= 0x00000080;
stringData_ = input.readBytes();
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 skadistats.clarity.wire.shared.s1.proto.S1NetMessages.internal_static_CSVCMsg_CreateStringTable_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.shared.s1.proto.S1NetMessages.internal_static_CSVCMsg_CreateStringTable_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable.class, skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CSVCMsg_CreateStringTable parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CSVCMsg_CreateStringTable(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
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()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MAX_ENTRIES_FIELD_NUMBER = 2;
private int maxEntries_;
/**
* optional int32 max_entries = 2;
*/
public boolean hasMaxEntries() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 max_entries = 2;
*/
public int getMaxEntries() {
return maxEntries_;
}
public static final int NUM_ENTRIES_FIELD_NUMBER = 3;
private int numEntries_;
/**
* optional int32 num_entries = 3;
*/
public boolean hasNumEntries() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 num_entries = 3;
*/
public int getNumEntries() {
return numEntries_;
}
public static final int USER_DATA_FIXED_SIZE_FIELD_NUMBER = 4;
private boolean userDataFixedSize_;
/**
* optional bool user_data_fixed_size = 4;
*/
public boolean hasUserDataFixedSize() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional bool user_data_fixed_size = 4;
*/
public boolean getUserDataFixedSize() {
return userDataFixedSize_;
}
public static final int USER_DATA_SIZE_FIELD_NUMBER = 5;
private int userDataSize_;
/**
* optional int32 user_data_size = 5;
*/
public boolean hasUserDataSize() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 user_data_size = 5;
*/
public int getUserDataSize() {
return userDataSize_;
}
public static final int USER_DATA_SIZE_BITS_FIELD_NUMBER = 6;
private int userDataSizeBits_;
/**
* optional int32 user_data_size_bits = 6;
*/
public boolean hasUserDataSizeBits() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 user_data_size_bits = 6;
*/
public int getUserDataSizeBits() {
return userDataSizeBits_;
}
public static final int FLAGS_FIELD_NUMBER = 7;
private int flags_;
/**
* optional int32 flags = 7;
*/
public boolean hasFlags() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional int32 flags = 7;
*/
public int getFlags() {
return flags_;
}
public static final int STRING_DATA_FIELD_NUMBER = 8;
private com.google.protobuf.ByteString stringData_;
/**
* optional bytes string_data = 8;
*/
public boolean hasStringData() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional bytes string_data = 8;
*/
public com.google.protobuf.ByteString getStringData() {
return stringData_;
}
private void initFields() {
name_ = "";
maxEntries_ = 0;
numEntries_ = 0;
userDataFixedSize_ = false;
userDataSize_ = 0;
userDataSizeBits_ = 0;
flags_ = 0;
stringData_ = com.google.protobuf.ByteString.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, maxEntries_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt32(3, numEntries_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBool(4, userDataFixedSize_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeInt32(5, userDataSize_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeInt32(6, userDataSizeBits_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeInt32(7, flags_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeBytes(8, stringData_);
}
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, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, maxEntries_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, numEntries_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, userDataFixedSize_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, userDataSize_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, userDataSizeBits_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, flags_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(8, stringData_);
}
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 skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable 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(skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable 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 CSVCMsg_CreateStringTable}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CSVCMsg_CreateStringTable)
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTableOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.shared.s1.proto.S1NetMessages.internal_static_CSVCMsg_CreateStringTable_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.shared.s1.proto.S1NetMessages.internal_static_CSVCMsg_CreateStringTable_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable.class, skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable.Builder.class);
}
// Construct using skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable.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();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
maxEntries_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
numEntries_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
userDataFixedSize_ = false;
bitField0_ = (bitField0_ & ~0x00000008);
userDataSize_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
userDataSizeBits_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
flags_ = 0;
bitField0_ = (bitField0_ & ~0x00000040);
stringData_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.shared.s1.proto.S1NetMessages.internal_static_CSVCMsg_CreateStringTable_descriptor;
}
public skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable getDefaultInstanceForType() {
return skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable.getDefaultInstance();
}
public skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable build() {
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable buildPartial() {
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable result = new skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.maxEntries_ = maxEntries_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.numEntries_ = numEntries_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.userDataFixedSize_ = userDataFixedSize_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.userDataSize_ = userDataSize_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.userDataSizeBits_ = userDataSizeBits_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.flags_ = flags_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.stringData_ = stringData_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable) {
return mergeFrom((skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable other) {
if (other == skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (other.hasMaxEntries()) {
setMaxEntries(other.getMaxEntries());
}
if (other.hasNumEntries()) {
setNumEntries(other.getNumEntries());
}
if (other.hasUserDataFixedSize()) {
setUserDataFixedSize(other.getUserDataFixedSize());
}
if (other.hasUserDataSize()) {
setUserDataSize(other.getUserDataSize());
}
if (other.hasUserDataSizeBits()) {
setUserDataSizeBits(other.getUserDataSizeBits());
}
if (other.hasFlags()) {
setFlags(other.getFlags());
}
if (other.hasStringData()) {
setStringData(other.getStringData());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_CreateStringTable) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
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()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
private int maxEntries_ ;
/**
* optional int32 max_entries = 2;
*/
public boolean hasMaxEntries() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 max_entries = 2;
*/
public int getMaxEntries() {
return maxEntries_;
}
/**
* optional int32 max_entries = 2;
*/
public Builder setMaxEntries(int value) {
bitField0_ |= 0x00000002;
maxEntries_ = value;
onChanged();
return this;
}
/**
* optional int32 max_entries = 2;
*/
public Builder clearMaxEntries() {
bitField0_ = (bitField0_ & ~0x00000002);
maxEntries_ = 0;
onChanged();
return this;
}
private int numEntries_ ;
/**
* optional int32 num_entries = 3;
*/
public boolean hasNumEntries() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int32 num_entries = 3;
*/
public int getNumEntries() {
return numEntries_;
}
/**
* optional int32 num_entries = 3;
*/
public Builder setNumEntries(int value) {
bitField0_ |= 0x00000004;
numEntries_ = value;
onChanged();
return this;
}
/**
* optional int32 num_entries = 3;
*/
public Builder clearNumEntries() {
bitField0_ = (bitField0_ & ~0x00000004);
numEntries_ = 0;
onChanged();
return this;
}
private boolean userDataFixedSize_ ;
/**
* optional bool user_data_fixed_size = 4;
*/
public boolean hasUserDataFixedSize() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional bool user_data_fixed_size = 4;
*/
public boolean getUserDataFixedSize() {
return userDataFixedSize_;
}
/**
* optional bool user_data_fixed_size = 4;
*/
public Builder setUserDataFixedSize(boolean value) {
bitField0_ |= 0x00000008;
userDataFixedSize_ = value;
onChanged();
return this;
}
/**
* optional bool user_data_fixed_size = 4;
*/
public Builder clearUserDataFixedSize() {
bitField0_ = (bitField0_ & ~0x00000008);
userDataFixedSize_ = false;
onChanged();
return this;
}
private int userDataSize_ ;
/**
* optional int32 user_data_size = 5;
*/
public boolean hasUserDataSize() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional int32 user_data_size = 5;
*/
public int getUserDataSize() {
return userDataSize_;
}
/**
* optional int32 user_data_size = 5;
*/
public Builder setUserDataSize(int value) {
bitField0_ |= 0x00000010;
userDataSize_ = value;
onChanged();
return this;
}
/**
* optional int32 user_data_size = 5;
*/
public Builder clearUserDataSize() {
bitField0_ = (bitField0_ & ~0x00000010);
userDataSize_ = 0;
onChanged();
return this;
}
private int userDataSizeBits_ ;
/**
* optional int32 user_data_size_bits = 6;
*/
public boolean hasUserDataSizeBits() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional int32 user_data_size_bits = 6;
*/
public int getUserDataSizeBits() {
return userDataSizeBits_;
}
/**
* optional int32 user_data_size_bits = 6;
*/
public Builder setUserDataSizeBits(int value) {
bitField0_ |= 0x00000020;
userDataSizeBits_ = value;
onChanged();
return this;
}
/**
* optional int32 user_data_size_bits = 6;
*/
public Builder clearUserDataSizeBits() {
bitField0_ = (bitField0_ & ~0x00000020);
userDataSizeBits_ = 0;
onChanged();
return this;
}
private int flags_ ;
/**
* optional int32 flags = 7;
*/
public boolean hasFlags() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional int32 flags = 7;
*/
public int getFlags() {
return flags_;
}
/**
* optional int32 flags = 7;
*/
public Builder setFlags(int value) {
bitField0_ |= 0x00000040;
flags_ = value;
onChanged();
return this;
}
/**
* optional int32 flags = 7;
*/
public Builder clearFlags() {
bitField0_ = (bitField0_ & ~0x00000040);
flags_ = 0;
onChanged();
return this;
}
private com.google.protobuf.ByteString stringData_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes string_data = 8;
*/
public boolean hasStringData() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional bytes string_data = 8;
*/
public com.google.protobuf.ByteString getStringData() {
return stringData_;
}
/**
* optional bytes string_data = 8;
*/
public Builder setStringData(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
stringData_ = value;
onChanged();
return this;
}
/**
* optional bytes string_data = 8;
*/
public Builder clearStringData() {
bitField0_ = (bitField0_ & ~0x00000080);
stringData_ = getDefaultInstance().getStringData();
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CSVCMsg_CreateStringTable)
}
static {
defaultInstance = new CSVCMsg_CreateStringTable(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CSVCMsg_CreateStringTable)
}
public interface CSVCMsg_TempEntitiesOrBuilder extends
// @@protoc_insertion_point(interface_extends:CSVCMsg_TempEntities)
com.google.protobuf.MessageOrBuilder {
/**
* optional bool reliable = 1;
*/
boolean hasReliable();
/**
* optional bool reliable = 1;
*/
boolean getReliable();
/**
* optional int32 num_entries = 2;
*/
boolean hasNumEntries();
/**
* optional int32 num_entries = 2;
*/
int getNumEntries();
/**
* optional bytes entity_data = 3;
*/
boolean hasEntityData();
/**
* optional bytes entity_data = 3;
*/
com.google.protobuf.ByteString getEntityData();
}
/**
* Protobuf type {@code CSVCMsg_TempEntities}
*/
public static final class CSVCMsg_TempEntities extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:CSVCMsg_TempEntities)
CSVCMsg_TempEntitiesOrBuilder {
// Use CSVCMsg_TempEntities.newBuilder() to construct.
private CSVCMsg_TempEntities(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private CSVCMsg_TempEntities(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final CSVCMsg_TempEntities defaultInstance;
public static CSVCMsg_TempEntities getDefaultInstance() {
return defaultInstance;
}
public CSVCMsg_TempEntities getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CSVCMsg_TempEntities(
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;
reliable_ = input.readBool();
break;
}
case 16: {
bitField0_ |= 0x00000002;
numEntries_ = input.readInt32();
break;
}
case 26: {
bitField0_ |= 0x00000004;
entityData_ = input.readBytes();
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 skadistats.clarity.wire.shared.s1.proto.S1NetMessages.internal_static_CSVCMsg_TempEntities_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.shared.s1.proto.S1NetMessages.internal_static_CSVCMsg_TempEntities_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities.class, skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities.Builder.class);
}
public static com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public CSVCMsg_TempEntities parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CSVCMsg_TempEntities(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int RELIABLE_FIELD_NUMBER = 1;
private boolean reliable_;
/**
* optional bool reliable = 1;
*/
public boolean hasReliable() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional bool reliable = 1;
*/
public boolean getReliable() {
return reliable_;
}
public static final int NUM_ENTRIES_FIELD_NUMBER = 2;
private int numEntries_;
/**
* optional int32 num_entries = 2;
*/
public boolean hasNumEntries() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 num_entries = 2;
*/
public int getNumEntries() {
return numEntries_;
}
public static final int ENTITY_DATA_FIELD_NUMBER = 3;
private com.google.protobuf.ByteString entityData_;
/**
* optional bytes entity_data = 3;
*/
public boolean hasEntityData() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional bytes entity_data = 3;
*/
public com.google.protobuf.ByteString getEntityData() {
return entityData_;
}
private void initFields() {
reliable_ = false;
numEntries_ = 0;
entityData_ = com.google.protobuf.ByteString.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 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.writeBool(1, reliable_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, numEntries_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, entityData_);
}
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
.computeBoolSize(1, reliable_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, numEntries_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, entityData_);
}
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 skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities 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(skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities 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 CSVCMsg_TempEntities}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:CSVCMsg_TempEntities)
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntitiesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return skadistats.clarity.wire.shared.s1.proto.S1NetMessages.internal_static_CSVCMsg_TempEntities_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return skadistats.clarity.wire.shared.s1.proto.S1NetMessages.internal_static_CSVCMsg_TempEntities_fieldAccessorTable
.ensureFieldAccessorsInitialized(
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities.class, skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities.Builder.class);
}
// Construct using skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities.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();
reliable_ = false;
bitField0_ = (bitField0_ & ~0x00000001);
numEntries_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
entityData_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return skadistats.clarity.wire.shared.s1.proto.S1NetMessages.internal_static_CSVCMsg_TempEntities_descriptor;
}
public skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities getDefaultInstanceForType() {
return skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities.getDefaultInstance();
}
public skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities build() {
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities buildPartial() {
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities result = new skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.reliable_ = reliable_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.numEntries_ = numEntries_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.entityData_ = entityData_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities) {
return mergeFrom((skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities other) {
if (other == skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities.getDefaultInstance()) return this;
if (other.hasReliable()) {
setReliable(other.getReliable());
}
if (other.hasNumEntries()) {
setNumEntries(other.getNumEntries());
}
if (other.hasEntityData()) {
setEntityData(other.getEntityData());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (skadistats.clarity.wire.shared.s1.proto.S1NetMessages.CSVCMsg_TempEntities) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private boolean reliable_ ;
/**
* optional bool reliable = 1;
*/
public boolean hasReliable() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional bool reliable = 1;
*/
public boolean getReliable() {
return reliable_;
}
/**
* optional bool reliable = 1;
*/
public Builder setReliable(boolean value) {
bitField0_ |= 0x00000001;
reliable_ = value;
onChanged();
return this;
}
/**
* optional bool reliable = 1;
*/
public Builder clearReliable() {
bitField0_ = (bitField0_ & ~0x00000001);
reliable_ = false;
onChanged();
return this;
}
private int numEntries_ ;
/**
* optional int32 num_entries = 2;
*/
public boolean hasNumEntries() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional int32 num_entries = 2;
*/
public int getNumEntries() {
return numEntries_;
}
/**
* optional int32 num_entries = 2;
*/
public Builder setNumEntries(int value) {
bitField0_ |= 0x00000002;
numEntries_ = value;
onChanged();
return this;
}
/**
* optional int32 num_entries = 2;
*/
public Builder clearNumEntries() {
bitField0_ = (bitField0_ & ~0x00000002);
numEntries_ = 0;
onChanged();
return this;
}
private com.google.protobuf.ByteString entityData_ = com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes entity_data = 3;
*/
public boolean hasEntityData() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional bytes entity_data = 3;
*/
public com.google.protobuf.ByteString getEntityData() {
return entityData_;
}
/**
* optional bytes entity_data = 3;
*/
public Builder setEntityData(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
entityData_ = value;
onChanged();
return this;
}
/**
* optional bytes entity_data = 3;
*/
public Builder clearEntityData() {
bitField0_ = (bitField0_ & ~0x00000004);
entityData_ = getDefaultInstance().getEntityData();
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:CSVCMsg_TempEntities)
}
static {
defaultInstance = new CSVCMsg_TempEntities(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:CSVCMsg_TempEntities)
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CSVCMsg_SendTable_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CSVCMsg_SendTable_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CSVCMsg_SendTable_sendprop_t_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CSVCMsg_SendTable_sendprop_t_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CSVCMsg_CreateStringTable_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CSVCMsg_CreateStringTable_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_CSVCMsg_TempEntities_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_CSVCMsg_TempEntities_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\024netmessages-s1.proto\"\260\002\n\021CSVCMsg_SendT" +
"able\022\016\n\006is_end\030\001 \001(\010\022\026\n\016net_table_name\030\002" +
" \001(\t\022\025\n\rneeds_decoder\030\003 \001(\010\022,\n\005props\030\004 \003" +
"(\0132\035.CSVCMsg_SendTable.sendprop_t\032\255\001\n\nse" +
"ndprop_t\022\014\n\004type\030\001 \001(\005\022\020\n\010var_name\030\002 \001(\t" +
"\022\r\n\005flags\030\003 \001(\005\022\020\n\010priority\030\004 \001(\005\022\017\n\007dt_" +
"name\030\005 \001(\t\022\024\n\014num_elements\030\006 \001(\005\022\021\n\tlow_" +
"value\030\007 \001(\002\022\022\n\nhigh_value\030\010 \001(\002\022\020\n\010num_b" +
"its\030\t \001(\005\"\312\001\n\031CSVCMsg_CreateStringTable\022" +
"\014\n\004name\030\001 \001(\t\022\023\n\013max_entries\030\002 \001(\005\022\023\n\013nu",
"m_entries\030\003 \001(\005\022\034\n\024user_data_fixed_size\030" +
"\004 \001(\010\022\026\n\016user_data_size\030\005 \001(\005\022\033\n\023user_da" +
"ta_size_bits\030\006 \001(\005\022\r\n\005flags\030\007 \001(\005\022\023\n\013str" +
"ing_data\030\010 \001(\014\"R\n\024CSVCMsg_TempEntities\022\020" +
"\n\010reliable\030\001 \001(\010\022\023\n\013num_entries\030\002 \001(\005\022\023\n" +
"\013entity_data\030\003 \001(\014B8\n\'skadistats.clarity" +
".wire.shared.s1.protoB\rS1NetMessages"
};
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_CSVCMsg_SendTable_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_CSVCMsg_SendTable_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CSVCMsg_SendTable_descriptor,
new java.lang.String[] { "IsEnd", "NetTableName", "NeedsDecoder", "Props", });
internal_static_CSVCMsg_SendTable_sendprop_t_descriptor =
internal_static_CSVCMsg_SendTable_descriptor.getNestedTypes().get(0);
internal_static_CSVCMsg_SendTable_sendprop_t_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CSVCMsg_SendTable_sendprop_t_descriptor,
new java.lang.String[] { "Type", "VarName", "Flags", "Priority", "DtName", "NumElements", "LowValue", "HighValue", "NumBits", });
internal_static_CSVCMsg_CreateStringTable_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_CSVCMsg_CreateStringTable_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CSVCMsg_CreateStringTable_descriptor,
new java.lang.String[] { "Name", "MaxEntries", "NumEntries", "UserDataFixedSize", "UserDataSize", "UserDataSizeBits", "Flags", "StringData", });
internal_static_CSVCMsg_TempEntities_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_CSVCMsg_TempEntities_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_CSVCMsg_TempEntities_descriptor,
new java.lang.String[] { "Reliable", "NumEntries", "EntityData", });
}
// @@protoc_insertion_point(outer_class_scope)
}