diff --git a/chronix-kassiopeia-converter-string/LICENSE b/chronix-kassiopeia-converter-string/LICENSE
new file mode 100644
index 0000000..1007523
--- /dev/null
+++ b/chronix-kassiopeia-converter-string/LICENSE
@@ -0,0 +1,13 @@
+Copyright (C) 2016 QAware GmbH
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
\ No newline at end of file
diff --git a/chronix-kassiopeia-converter-string/build.gradle b/chronix-kassiopeia-converter-string/build.gradle
new file mode 100644
index 0000000..0212ddc
--- /dev/null
+++ b/chronix-kassiopeia-converter-string/build.gradle
@@ -0,0 +1,102 @@
+
+dependencies {
+ compile project(':chronix-kassiopeia-string')
+ compile project(':chronix-kassiopeia-simple-converter')
+ compile project(':chronix-kassiopeia-converter-common')
+
+ compile 'de.qaware.chronix:chronix-api:0.1'
+ compile 'com.google.code.gson:gson:2.5'
+ compile 'com.google.protobuf:protobuf-java:2.6.1'
+}
+
+//add the generated classes to the sources
+sourceSets {
+ main {
+ java {
+ srcDir 'src/main/java'
+ srcDir 'src/main/generated'
+ }
+ }
+}
+
+task copyTestResources(type: Copy) {
+ from "${projectDir}/src/test/resources"
+ into "${buildDir}/classes/test"
+}
+processTestResources.dependsOn copyTestResources
+
+task javadocJar(type: Jar, dependsOn: groovydoc) {
+ classifier = 'javadoc'
+ from groovydoc.destinationDir
+}
+
+artifacts {
+ archives sourcesJar
+ archives javadocJar
+}
+
+def pomConfig = {
+
+ inceptionYear '2016'
+
+ scm {
+ connection "scm:git:${project.scmUrl}"
+ developerConnection "scm:git:${project.scmUrl}"
+ url project.websiteUrl
+ }
+
+ issueManagement {
+ system 'GitHub'
+ url project.issueTrackerUrl
+ }
+
+ licenses {
+ license([:]) {
+ name 'The Apache Software License, Version 2.0'
+ url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
+ distribution 'repo'
+ }
+ }
+
+ organisation {
+ name 'QAware GmbH'
+ url 'https://www.qaware.de'
+ }
+
+ developers {
+ developer {
+ id 'florianlautenschlager'
+ name 'Florian Lautenschlager'
+ email 'florian.lautenschlager@qaware.de'
+ organization 'QAware GmbH'
+ organizationUrl 'https://www.qaware.de'
+ roles { role 'Developer' }
+ }
+ developer {
+ id '0xhansdampf'
+ name 'Max Jalowski'
+ email 'max.jalowski@fau.de'
+ organization 'FAU'
+ organizationUrl 'https://www.fau.de'
+ roles { role 'Developer' }
+ }
+ }
+}
+
+publishing {
+ publications {
+ chronixKassiopeiaSimpleConverter(MavenPublication) {
+ from components.java
+ artifact sourcesJar
+ artifact javadocJar
+
+ pom.withXml {
+ asNode().appendNode('name', project.displayName)
+ asNode().appendNode('description', project.description)
+ asNode().appendNode('url', project.websiteUrl)
+
+ asNode().children().last() + pomConfig
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/chronix-kassiopeia-converter-string/gradle.properties b/chronix-kassiopeia-converter-string/gradle.properties
new file mode 100644
index 0000000..413bb4e
--- /dev/null
+++ b/chronix-kassiopeia-converter-string/gradle.properties
@@ -0,0 +1,8 @@
+version=0.0.1
+
+displayName=Chronix Kassiopeia Strace Converter
+description=Chronix Kassiopeia strace time series converter
+websiteUrl=https://github.com/ChronixDB/chronix.kassiopeia
+scmUrl=https://github.com/ChronixDB/chronix.kassiopeia.git
+issueTrackerUrl=https://github.com/ChronixDB/chronix.kassiopeia/issues
+bintrayRepo=maven
\ No newline at end of file
diff --git a/chronix-kassiopeia-converter-string/src/main/generated/de/qaware/chronix/converter/serializer/gen/StringProtocolBuffers.java b/chronix-kassiopeia-converter-string/src/main/generated/de/qaware/chronix/converter/serializer/gen/StringProtocolBuffers.java
new file mode 100644
index 0000000..ee56465
--- /dev/null
+++ b/chronix-kassiopeia-converter-string/src/main/generated/de/qaware/chronix/converter/serializer/gen/StringProtocolBuffers.java
@@ -0,0 +1,1488 @@
+/*
+ * Copyright (C) 2016 QAware GmbH
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: StringPoint.proto
+
+package de.qaware.chronix.converter.serializer.gen;
+
+public final class StringProtocolBuffers {
+ private StringProtocolBuffers() {}
+ public static void registerAllExtensions(
+ com.google.protobuf.ExtensionRegistry registry) {
+ }
+ public interface StringPointOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:StringPoint)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * optional int64 t = 1;
+ *
+ *
+ *The date as int64 (java long) + *+ */ + boolean hasT(); + /** + *
optional int64 t = 1;
+ *
+ * + *The date as int64 (java long) + *+ */ + long getT(); + + /** + *
required string v = 2;
+ */
+ boolean hasV();
+ /**
+ * required string v = 2;
+ */
+ java.lang.String getV();
+ /**
+ * required string v = 2;
+ */
+ com.google.protobuf.ByteString
+ getVBytes();
+ }
+ /**
+ * Protobuf type {@code StringPoint}
+ *
+ * + *Our point + *+ */ + public static final class StringPoint extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:StringPoint) + StringPointOrBuilder { + // Use StringPoint.newBuilder() to construct. + private StringPoint(com.google.protobuf.GeneratedMessage.Builder> builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private StringPoint(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final StringPoint defaultInstance; + public static StringPoint getDefaultInstance() { + return defaultInstance; + } + + public StringPoint getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StringPoint( + 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; + t_ = input.readInt64(); + break; + } + case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000002; + v_ = bs; + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.internal_static_StringPoint_descriptor; + } + + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + internalGetFieldAccessorTable() { + return de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.internal_static_StringPoint_fieldAccessorTable + .ensureFieldAccessorsInitialized( + de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint.class, de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint.Builder.class); + } + + public static com.google.protobuf.Parser
optional int64 t = 1;
+ *
+ * + *The date as int64 (java long) + *+ */ + public boolean hasT() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
optional int64 t = 1;
+ *
+ * + *The date as int64 (java long) + *+ */ + public long getT() { + return t_; + } + + public static final int V_FIELD_NUMBER = 2; + private java.lang.Object v_; + /** + *
required string v = 2;
+ */
+ public boolean hasV() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * required string v = 2;
+ */
+ public java.lang.String getV() {
+ java.lang.Object ref = v_;
+ 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()) {
+ v_ = s;
+ }
+ return s;
+ }
+ }
+ /**
+ * required string v = 2;
+ */
+ public com.google.protobuf.ByteString
+ getVBytes() {
+ java.lang.Object ref = v_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ v_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private void initFields() {
+ t_ = 0L;
+ v_ = "";
+ }
+ private byte memoizedIsInitialized = -1;
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ if (!hasV()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ getSerializedSize();
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ output.writeInt64(1, t_);
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeBytes(2, getVBytes());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ private int memoizedSerializedSize = -1;
+ public int getSerializedSize() {
+ int size = memoizedSerializedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt64Size(1, t_);
+ }
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(2, getVBytes());
+ }
+ 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 de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input, extensionRegistry);
+ }
+ public static de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input);
+ }
+ public static de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ }
+ public static de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return PARSER.parseFrom(input);
+ }
+ public static de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint 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(de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint 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 StringPoint}
+ *
+ * + *Our point + *+ */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder
optional int64 t = 1;
+ *
+ * + *The date as int64 (java long) + *+ */ + public boolean hasT() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
optional int64 t = 1;
+ *
+ * + *The date as int64 (java long) + *+ */ + public long getT() { + return t_; + } + /** + *
optional int64 t = 1;
+ *
+ * + *The date as int64 (java long) + *+ */ + public Builder setT(long value) { + bitField0_ |= 0x00000001; + t_ = value; + onChanged(); + return this; + } + /** + *
optional int64 t = 1;
+ *
+ * + *The date as int64 (java long) + *+ */ + public Builder clearT() { + bitField0_ = (bitField0_ & ~0x00000001); + t_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object v_ = ""; + /** + *
required string v = 2;
+ */
+ public boolean hasV() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * required string v = 2;
+ */
+ public java.lang.String getV() {
+ java.lang.Object ref = v_;
+ 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()) {
+ v_ = s;
+ }
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * required string v = 2;
+ */
+ public com.google.protobuf.ByteString
+ getVBytes() {
+ java.lang.Object ref = v_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ v_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * required string v = 2;
+ */
+ public Builder setV(
+ java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ v_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * required string v = 2;
+ */
+ public Builder clearV() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ v_ = getDefaultInstance().getV();
+ onChanged();
+ return this;
+ }
+ /**
+ * required string v = 2;
+ */
+ public Builder setVBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ v_ = value;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:StringPoint)
+ }
+
+ static {
+ defaultInstance = new StringPoint(true);
+ defaultInstance.initFields();
+ }
+
+ // @@protoc_insertion_point(class_scope:StringPoint)
+ }
+
+ public interface StringPointsOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:StringPoints)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + java.util.List
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint getP(int index); + /** + *
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + int getPCount(); + /** + *
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + java.util.List extends de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPointOrBuilder> + getPOrBuilderList(); + /** + *
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPointOrBuilder getPOrBuilder( + int index); + } + /** + * Protobuf type {@code StringPoints} + * + *
+ *The data of a time series is a list of points + *+ */ + public static final class StringPoints extends + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:StringPoints) + StringPointsOrBuilder { + // Use StringPoints.newBuilder() to construct. + private StringPoints(com.google.protobuf.GeneratedMessage.Builder> builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private StringPoints(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final StringPoints defaultInstance; + public static StringPoints getDefaultInstance() { + return defaultInstance; + } + + public StringPoints getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StringPoints( + 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: { + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + p_ = new java.util.ArrayList
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + public java.util.List
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + public java.util.List extends de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPointOrBuilder> + getPOrBuilderList() { + return p_; + } + /** + *
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + public int getPCount() { + return p_.size(); + } + /** + *
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + public de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint getP(int index) { + return p_.get(index); + } + /** + *
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + public de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPointOrBuilder getPOrBuilder( + int index) { + return p_.get(index); + } + + private void initFields() { + p_ = 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; + + for (int i = 0; i < getPCount(); i++) { + if (!getP(i).isInitialized()) { + memoizedIsInitialized = 0; + return false; + } + } + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + getSerializedSize(); + for (int i = 0; i < p_.size(); i++) { + output.writeMessage(1, p_.get(i)); + } + getUnknownFields().writeTo(output); + } + + private int memoizedSerializedSize = -1; + public int getSerializedSize() { + int size = memoizedSerializedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < p_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, p_.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 de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoints parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoints parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoints parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoints parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoints parseFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoints parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseFrom(input, extensionRegistry); + } + public static de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoints parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input); + } + public static de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoints parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return PARSER.parseDelimitedFrom(input, extensionRegistry); + } + public static de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoints parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return PARSER.parseFrom(input); + } + public static de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoints 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(de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoints 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 StringPoints} + * + *
+ *The data of a time series is a list of points + *+ */ + public static final class Builder extends + com.google.protobuf.GeneratedMessage.Builder
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + public java.util.List
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + public int getPCount() { + if (pBuilder_ == null) { + return p_.size(); + } else { + return pBuilder_.getCount(); + } + } + /** + *
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + public de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint getP(int index) { + if (pBuilder_ == null) { + return p_.get(index); + } else { + return pBuilder_.getMessage(index); + } + } + /** + *
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + public Builder setP( + int index, de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint value) { + if (pBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePIsMutable(); + p_.set(index, value); + onChanged(); + } else { + pBuilder_.setMessage(index, value); + } + return this; + } + /** + *
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + public Builder setP( + int index, de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint.Builder builderForValue) { + if (pBuilder_ == null) { + ensurePIsMutable(); + p_.set(index, builderForValue.build()); + onChanged(); + } else { + pBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + public Builder addP(de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint value) { + if (pBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePIsMutable(); + p_.add(value); + onChanged(); + } else { + pBuilder_.addMessage(value); + } + return this; + } + /** + *
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + public Builder addP( + int index, de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint value) { + if (pBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensurePIsMutable(); + p_.add(index, value); + onChanged(); + } else { + pBuilder_.addMessage(index, value); + } + return this; + } + /** + *
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + public Builder addP( + de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint.Builder builderForValue) { + if (pBuilder_ == null) { + ensurePIsMutable(); + p_.add(builderForValue.build()); + onChanged(); + } else { + pBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + public Builder addP( + int index, de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint.Builder builderForValue) { + if (pBuilder_ == null) { + ensurePIsMutable(); + p_.add(index, builderForValue.build()); + onChanged(); + } else { + pBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + public Builder addAllP( + java.lang.Iterable extends de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint> values) { + if (pBuilder_ == null) { + ensurePIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, p_); + onChanged(); + } else { + pBuilder_.addAllMessages(values); + } + return this; + } + /** + *
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + public Builder clearP() { + if (pBuilder_ == null) { + p_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + pBuilder_.clear(); + } + return this; + } + /** + *
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + public Builder removeP(int index) { + if (pBuilder_ == null) { + ensurePIsMutable(); + p_.remove(index); + onChanged(); + } else { + pBuilder_.remove(index); + } + return this; + } + /** + *
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + public de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint.Builder getPBuilder( + int index) { + return getPFieldBuilder().getBuilder(index); + } + /** + *
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + public de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPointOrBuilder getPOrBuilder( + int index) { + if (pBuilder_ == null) { + return p_.get(index); } else { + return pBuilder_.getMessageOrBuilder(index); + } + } + /** + *
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + public java.util.List extends de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPointOrBuilder> + getPOrBuilderList() { + if (pBuilder_ != null) { + return pBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(p_); + } + } + /** + *
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + public de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint.Builder addPBuilder() { + return getPFieldBuilder().addBuilder( + de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint.getDefaultInstance()); + } + /** + *
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + public de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint.Builder addPBuilder( + int index) { + return getPFieldBuilder().addBuilder( + index, de.qaware.chronix.converter.serializer.gen.StringProtocolBuffers.StringPoint.getDefaultInstance()); + } + /** + *
repeated .StringPoint p = 1;
+ *
+ * + *The list of points + *+ */ + public java.util.List