// Generated by the protocol buffer compiler. DO NOT EDIT! // source: ots-aimsun.proto package org.opentrafficsim.aimsun.proto; public final class AimsunControlProtoBuf { private AimsunControlProtoBuf() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { registerAllExtensions( (com.google.protobuf.ExtensionRegistryLite) registry); } public interface CreateSimulationOrBuilder extends // @@protoc_insertion_point(interface_extends:org.opentrafficsim.aimsun.proto.CreateSimulation) com.google.protobuf.MessageOrBuilder { /** * required string networkXML = 3; */ boolean hasNetworkXML(); /** * required string networkXML = 3; */ java.lang.String getNetworkXML(); /** * required string networkXML = 3; */ com.google.protobuf.ByteString getNetworkXMLBytes(); } /** * Protobuf type {@code org.opentrafficsim.aimsun.proto.CreateSimulation} */ public static final class CreateSimulation extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org.opentrafficsim.aimsun.proto.CreateSimulation) CreateSimulationOrBuilder { private static final long serialVersionUID = 0L; // Use CreateSimulation.newBuilder() to construct. private CreateSimulation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreateSimulation() { networkXML_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateSimulation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); 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 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; networkXML_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_CreateSimulation_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_CreateSimulation_fieldAccessorTable .ensureFieldAccessorsInitialized( org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation.class, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation.Builder.class); } private int bitField0_; public static final int NETWORKXML_FIELD_NUMBER = 3; private volatile java.lang.Object networkXML_; /** * required string networkXML = 3; */ public boolean hasNetworkXML() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string networkXML = 3; */ public java.lang.String getNetworkXML() { java.lang.Object ref = networkXML_; 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()) { networkXML_ = s; } return s; } } /** * required string networkXML = 3; */ public com.google.protobuf.ByteString getNetworkXMLBytes() { java.lang.Object ref = networkXML_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); networkXML_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasNetworkXML()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, networkXML_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, networkXML_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation)) { return super.equals(obj); } org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation other = (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation) obj; boolean result = true; result = result && (hasNetworkXML() == other.hasNetworkXML()); if (hasNetworkXML()) { result = result && getNetworkXML() .equals(other.getNetworkXML()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasNetworkXML()) { hash = (37 * hash) + NETWORKXML_FIELD_NUMBER; hash = (53 * hash) + getNetworkXML().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org.opentrafficsim.aimsun.proto.CreateSimulation} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:org.opentrafficsim.aimsun.proto.CreateSimulation) org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_CreateSimulation_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_CreateSimulation_fieldAccessorTable .ensureFieldAccessorsInitialized( org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation.class, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation.Builder.class); } // Construct using org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); networkXML_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_CreateSimulation_descriptor; } public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation getDefaultInstanceForType() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation.getDefaultInstance(); } public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation build() { org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation buildPartial() { org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation result = new org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.networkXML_ = networkXML_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation) { return mergeFrom((org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation other) { if (other == org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation.getDefaultInstance()) return this; if (other.hasNetworkXML()) { bitField0_ |= 0x00000001; networkXML_ = other.networkXML_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasNetworkXML()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object networkXML_ = ""; /** * required string networkXML = 3; */ public boolean hasNetworkXML() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string networkXML = 3; */ public java.lang.String getNetworkXML() { java.lang.Object ref = networkXML_; 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()) { networkXML_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string networkXML = 3; */ public com.google.protobuf.ByteString getNetworkXMLBytes() { java.lang.Object ref = networkXML_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); networkXML_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string networkXML = 3; */ public Builder setNetworkXML( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; networkXML_ = value; onChanged(); return this; } /** * required string networkXML = 3; */ public Builder clearNetworkXML() { bitField0_ = (bitField0_ & ~0x00000001); networkXML_ = getDefaultInstance().getNetworkXML(); onChanged(); return this; } /** * required string networkXML = 3; */ public Builder setNetworkXMLBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; networkXML_ = value; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:org.opentrafficsim.aimsun.proto.CreateSimulation) } // @@protoc_insertion_point(class_scope:org.opentrafficsim.aimsun.proto.CreateSimulation) private static final org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation(); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public CreateSimulation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CreateSimulation(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SimulateUntilOrBuilder extends // @@protoc_insertion_point(interface_extends:org.opentrafficsim.aimsun.proto.SimulateUntil) com.google.protobuf.MessageOrBuilder { /** * required double time = 1; */ boolean hasTime(); /** * required double time = 1; */ double getTime(); } /** * Protobuf type {@code org.opentrafficsim.aimsun.proto.SimulateUntil} */ public static final class SimulateUntil extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org.opentrafficsim.aimsun.proto.SimulateUntil) SimulateUntilOrBuilder { private static final long serialVersionUID = 0L; // Use SimulateUntil.newBuilder() to construct. private SimulateUntil(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SimulateUntil() { time_ = 0D; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SimulateUntil( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); 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 9: { bitField0_ |= 0x00000001; time_ = input.readDouble(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_SimulateUntil_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_SimulateUntil_fieldAccessorTable .ensureFieldAccessorsInitialized( org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil.class, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil.Builder.class); } private int bitField0_; public static final int TIME_FIELD_NUMBER = 1; private double time_; /** * required double time = 1; */ public boolean hasTime() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required double time = 1; */ public double getTime() { return time_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasTime()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeDouble(1, time_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(1, time_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil)) { return super.equals(obj); } org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil other = (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil) obj; boolean result = true; result = result && (hasTime() == other.hasTime()); if (hasTime()) { result = result && ( java.lang.Double.doubleToLongBits(getTime()) == java.lang.Double.doubleToLongBits( other.getTime())); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasTime()) { hash = (37 * hash) + TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTime())); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org.opentrafficsim.aimsun.proto.SimulateUntil} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:org.opentrafficsim.aimsun.proto.SimulateUntil) org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntilOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_SimulateUntil_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_SimulateUntil_fieldAccessorTable .ensureFieldAccessorsInitialized( org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil.class, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil.Builder.class); } // Construct using org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); time_ = 0D; bitField0_ = (bitField0_ & ~0x00000001); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_SimulateUntil_descriptor; } public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil getDefaultInstanceForType() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil.getDefaultInstance(); } public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil build() { org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil buildPartial() { org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil result = new org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.time_ = time_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil) { return mergeFrom((org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil other) { if (other == org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil.getDefaultInstance()) return this; if (other.hasTime()) { setTime(other.getTime()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasTime()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private double time_ ; /** * required double time = 1; */ public boolean hasTime() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required double time = 1; */ public double getTime() { return time_; } /** * required double time = 1; */ public Builder setTime(double value) { bitField0_ |= 0x00000001; time_ = value; onChanged(); return this; } /** * required double time = 1; */ public Builder clearTime() { bitField0_ = (bitField0_ & ~0x00000001); time_ = 0D; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:org.opentrafficsim.aimsun.proto.SimulateUntil) } // @@protoc_insertion_point(class_scope:org.opentrafficsim.aimsun.proto.SimulateUntil) private static final org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil(); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public SimulateUntil parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SimulateUntil(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GTUPositionsOrBuilder extends // @@protoc_insertion_point(interface_extends:org.opentrafficsim.aimsun.proto.GTUPositions) com.google.protobuf.MessageOrBuilder { /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ java.util.List getGtuPosList(); /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition getGtuPos(int index); /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ int getGtuPosCount(); /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ java.util.List getGtuPosOrBuilderList(); /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPositionOrBuilder getGtuPosOrBuilder( int index); /** * required string status = 2; */ boolean hasStatus(); /** * required string status = 2; */ java.lang.String getStatus(); /** * required string status = 2; */ com.google.protobuf.ByteString getStatusBytes(); } /** * Protobuf type {@code org.opentrafficsim.aimsun.proto.GTUPositions} */ public static final class GTUPositions extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org.opentrafficsim.aimsun.proto.GTUPositions) GTUPositionsOrBuilder { private static final long serialVersionUID = 0L; // Use GTUPositions.newBuilder() to construct. private GTUPositions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GTUPositions() { gtuPos_ = java.util.Collections.emptyList(); status_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GTUPositions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); 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)) { gtuPos_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } gtuPos_.add( input.readMessage(org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition.PARSER, extensionRegistry)); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; status_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { gtuPos_ = java.util.Collections.unmodifiableList(gtuPos_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_GTUPositions_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_GTUPositions_fieldAccessorTable .ensureFieldAccessorsInitialized( org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.class, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.Builder.class); } public interface GTUPositionOrBuilder extends // @@protoc_insertion_point(interface_extends:org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition) com.google.protobuf.MessageOrBuilder { /** * required string gtuId = 1; */ boolean hasGtuId(); /** * required string gtuId = 1; */ java.lang.String getGtuId(); /** * required string gtuId = 1; */ com.google.protobuf.ByteString getGtuIdBytes(); /** * required double x = 2; */ boolean hasX(); /** * required double x = 2; */ double getX(); /** * required double y = 3; */ boolean hasY(); /** * required double y = 3; */ double getY(); /** * optional double z = 4; */ boolean hasZ(); /** * optional double z = 4; */ double getZ(); /** * required double angle = 5; */ boolean hasAngle(); /** * required double angle = 5; */ double getAngle(); /** * required double width = 6; */ boolean hasWidth(); /** * required double width = 6; */ double getWidth(); /** * required double length = 7; */ boolean hasLength(); /** * required double length = 7; */ double getLength(); /** * required int32 gtuTypeId = 8; */ boolean hasGtuTypeId(); /** * required int32 gtuTypeId = 8; */ int getGtuTypeId(); /** * required double speed = 9; */ boolean hasSpeed(); /** * required double speed = 9; */ double getSpeed(); } /** * Protobuf type {@code org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition} */ public static final class GTUPosition extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition) GTUPositionOrBuilder { private static final long serialVersionUID = 0L; // Use GTUPosition.newBuilder() to construct. private GTUPosition(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GTUPosition() { gtuId_ = ""; x_ = 0D; y_ = 0D; z_ = 0D; angle_ = 0D; width_ = 0D; length_ = 0D; gtuTypeId_ = 0; speed_ = 0D; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GTUPosition( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); 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; gtuId_ = bs; break; } case 17: { bitField0_ |= 0x00000002; x_ = input.readDouble(); break; } case 25: { bitField0_ |= 0x00000004; y_ = input.readDouble(); break; } case 33: { bitField0_ |= 0x00000008; z_ = input.readDouble(); break; } case 41: { bitField0_ |= 0x00000010; angle_ = input.readDouble(); break; } case 49: { bitField0_ |= 0x00000020; width_ = input.readDouble(); break; } case 57: { bitField0_ |= 0x00000040; length_ = input.readDouble(); break; } case 64: { bitField0_ |= 0x00000080; gtuTypeId_ = input.readInt32(); break; } case 73: { bitField0_ |= 0x00000100; speed_ = input.readDouble(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_GTUPositions_GTUPosition_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_GTUPositions_GTUPosition_fieldAccessorTable .ensureFieldAccessorsInitialized( org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition.class, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition.Builder.class); } private int bitField0_; public static final int GTUID_FIELD_NUMBER = 1; private volatile java.lang.Object gtuId_; /** * required string gtuId = 1; */ public boolean hasGtuId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string gtuId = 1; */ public java.lang.String getGtuId() { java.lang.Object ref = gtuId_; 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()) { gtuId_ = s; } return s; } } /** * required string gtuId = 1; */ public com.google.protobuf.ByteString getGtuIdBytes() { java.lang.Object ref = gtuId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gtuId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int X_FIELD_NUMBER = 2; private double x_; /** * required double x = 2; */ public boolean hasX() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required double x = 2; */ public double getX() { return x_; } public static final int Y_FIELD_NUMBER = 3; private double y_; /** * required double y = 3; */ public boolean hasY() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required double y = 3; */ public double getY() { return y_; } public static final int Z_FIELD_NUMBER = 4; private double z_; /** * optional double z = 4; */ public boolean hasZ() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional double z = 4; */ public double getZ() { return z_; } public static final int ANGLE_FIELD_NUMBER = 5; private double angle_; /** * required double angle = 5; */ public boolean hasAngle() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * required double angle = 5; */ public double getAngle() { return angle_; } public static final int WIDTH_FIELD_NUMBER = 6; private double width_; /** * required double width = 6; */ public boolean hasWidth() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * required double width = 6; */ public double getWidth() { return width_; } public static final int LENGTH_FIELD_NUMBER = 7; private double length_; /** * required double length = 7; */ public boolean hasLength() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * required double length = 7; */ public double getLength() { return length_; } public static final int GTUTYPEID_FIELD_NUMBER = 8; private int gtuTypeId_; /** * required int32 gtuTypeId = 8; */ public boolean hasGtuTypeId() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * required int32 gtuTypeId = 8; */ public int getGtuTypeId() { return gtuTypeId_; } public static final int SPEED_FIELD_NUMBER = 9; private double speed_; /** * required double speed = 9; */ public boolean hasSpeed() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * required double speed = 9; */ public double getSpeed() { return speed_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasGtuId()) { memoizedIsInitialized = 0; return false; } if (!hasX()) { memoizedIsInitialized = 0; return false; } if (!hasY()) { memoizedIsInitialized = 0; return false; } if (!hasAngle()) { memoizedIsInitialized = 0; return false; } if (!hasWidth()) { memoizedIsInitialized = 0; return false; } if (!hasLength()) { memoizedIsInitialized = 0; return false; } if (!hasGtuTypeId()) { memoizedIsInitialized = 0; return false; } if (!hasSpeed()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, gtuId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeDouble(2, x_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeDouble(3, y_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeDouble(4, z_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeDouble(5, angle_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeDouble(6, width_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeDouble(7, length_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeInt32(8, gtuTypeId_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeDouble(9, speed_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, gtuId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(2, x_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, y_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, z_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(5, angle_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(6, width_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(7, length_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(8, gtuTypeId_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(9, speed_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition)) { return super.equals(obj); } org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition other = (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition) obj; boolean result = true; result = result && (hasGtuId() == other.hasGtuId()); if (hasGtuId()) { result = result && getGtuId() .equals(other.getGtuId()); } result = result && (hasX() == other.hasX()); if (hasX()) { result = result && ( java.lang.Double.doubleToLongBits(getX()) == java.lang.Double.doubleToLongBits( other.getX())); } result = result && (hasY() == other.hasY()); if (hasY()) { result = result && ( java.lang.Double.doubleToLongBits(getY()) == java.lang.Double.doubleToLongBits( other.getY())); } result = result && (hasZ() == other.hasZ()); if (hasZ()) { result = result && ( java.lang.Double.doubleToLongBits(getZ()) == java.lang.Double.doubleToLongBits( other.getZ())); } result = result && (hasAngle() == other.hasAngle()); if (hasAngle()) { result = result && ( java.lang.Double.doubleToLongBits(getAngle()) == java.lang.Double.doubleToLongBits( other.getAngle())); } result = result && (hasWidth() == other.hasWidth()); if (hasWidth()) { result = result && ( java.lang.Double.doubleToLongBits(getWidth()) == java.lang.Double.doubleToLongBits( other.getWidth())); } result = result && (hasLength() == other.hasLength()); if (hasLength()) { result = result && ( java.lang.Double.doubleToLongBits(getLength()) == java.lang.Double.doubleToLongBits( other.getLength())); } result = result && (hasGtuTypeId() == other.hasGtuTypeId()); if (hasGtuTypeId()) { result = result && (getGtuTypeId() == other.getGtuTypeId()); } result = result && (hasSpeed() == other.hasSpeed()); if (hasSpeed()) { result = result && ( java.lang.Double.doubleToLongBits(getSpeed()) == java.lang.Double.doubleToLongBits( other.getSpeed())); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasGtuId()) { hash = (37 * hash) + GTUID_FIELD_NUMBER; hash = (53 * hash) + getGtuId().hashCode(); } if (hasX()) { hash = (37 * hash) + X_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getX())); } if (hasY()) { hash = (37 * hash) + Y_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getY())); } if (hasZ()) { hash = (37 * hash) + Z_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZ())); } if (hasAngle()) { hash = (37 * hash) + ANGLE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getAngle())); } if (hasWidth()) { hash = (37 * hash) + WIDTH_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getWidth())); } if (hasLength()) { hash = (37 * hash) + LENGTH_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLength())); } if (hasGtuTypeId()) { hash = (37 * hash) + GTUTYPEID_FIELD_NUMBER; hash = (53 * hash) + getGtuTypeId(); } if (hasSpeed()) { hash = (37 * hash) + SPEED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getSpeed())); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition) org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPositionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_GTUPositions_GTUPosition_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_GTUPositions_GTUPosition_fieldAccessorTable .ensureFieldAccessorsInitialized( org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition.class, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition.Builder.class); } // Construct using org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); gtuId_ = ""; bitField0_ = (bitField0_ & ~0x00000001); x_ = 0D; bitField0_ = (bitField0_ & ~0x00000002); y_ = 0D; bitField0_ = (bitField0_ & ~0x00000004); z_ = 0D; bitField0_ = (bitField0_ & ~0x00000008); angle_ = 0D; bitField0_ = (bitField0_ & ~0x00000010); width_ = 0D; bitField0_ = (bitField0_ & ~0x00000020); length_ = 0D; bitField0_ = (bitField0_ & ~0x00000040); gtuTypeId_ = 0; bitField0_ = (bitField0_ & ~0x00000080); speed_ = 0D; bitField0_ = (bitField0_ & ~0x00000100); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_GTUPositions_GTUPosition_descriptor; } public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition getDefaultInstanceForType() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition.getDefaultInstance(); } public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition build() { org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition buildPartial() { org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition result = new org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.gtuId_ = gtuId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.x_ = x_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.y_ = y_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.z_ = z_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.angle_ = angle_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.width_ = width_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.length_ = length_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.gtuTypeId_ = gtuTypeId_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.speed_ = speed_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition) { return mergeFrom((org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition other) { if (other == org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition.getDefaultInstance()) return this; if (other.hasGtuId()) { bitField0_ |= 0x00000001; gtuId_ = other.gtuId_; onChanged(); } if (other.hasX()) { setX(other.getX()); } if (other.hasY()) { setY(other.getY()); } if (other.hasZ()) { setZ(other.getZ()); } if (other.hasAngle()) { setAngle(other.getAngle()); } if (other.hasWidth()) { setWidth(other.getWidth()); } if (other.hasLength()) { setLength(other.getLength()); } if (other.hasGtuTypeId()) { setGtuTypeId(other.getGtuTypeId()); } if (other.hasSpeed()) { setSpeed(other.getSpeed()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasGtuId()) { return false; } if (!hasX()) { return false; } if (!hasY()) { return false; } if (!hasAngle()) { return false; } if (!hasWidth()) { return false; } if (!hasLength()) { return false; } if (!hasGtuTypeId()) { return false; } if (!hasSpeed()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object gtuId_ = ""; /** * required string gtuId = 1; */ public boolean hasGtuId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string gtuId = 1; */ public java.lang.String getGtuId() { java.lang.Object ref = gtuId_; 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()) { gtuId_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string gtuId = 1; */ public com.google.protobuf.ByteString getGtuIdBytes() { java.lang.Object ref = gtuId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gtuId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string gtuId = 1; */ public Builder setGtuId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; gtuId_ = value; onChanged(); return this; } /** * required string gtuId = 1; */ public Builder clearGtuId() { bitField0_ = (bitField0_ & ~0x00000001); gtuId_ = getDefaultInstance().getGtuId(); onChanged(); return this; } /** * required string gtuId = 1; */ public Builder setGtuIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; gtuId_ = value; onChanged(); return this; } private double x_ ; /** * required double x = 2; */ public boolean hasX() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required double x = 2; */ public double getX() { return x_; } /** * required double x = 2; */ public Builder setX(double value) { bitField0_ |= 0x00000002; x_ = value; onChanged(); return this; } /** * required double x = 2; */ public Builder clearX() { bitField0_ = (bitField0_ & ~0x00000002); x_ = 0D; onChanged(); return this; } private double y_ ; /** * required double y = 3; */ public boolean hasY() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required double y = 3; */ public double getY() { return y_; } /** * required double y = 3; */ public Builder setY(double value) { bitField0_ |= 0x00000004; y_ = value; onChanged(); return this; } /** * required double y = 3; */ public Builder clearY() { bitField0_ = (bitField0_ & ~0x00000004); y_ = 0D; onChanged(); return this; } private double z_ ; /** * optional double z = 4; */ public boolean hasZ() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional double z = 4; */ public double getZ() { return z_; } /** * optional double z = 4; */ public Builder setZ(double value) { bitField0_ |= 0x00000008; z_ = value; onChanged(); return this; } /** * optional double z = 4; */ public Builder clearZ() { bitField0_ = (bitField0_ & ~0x00000008); z_ = 0D; onChanged(); return this; } private double angle_ ; /** * required double angle = 5; */ public boolean hasAngle() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * required double angle = 5; */ public double getAngle() { return angle_; } /** * required double angle = 5; */ public Builder setAngle(double value) { bitField0_ |= 0x00000010; angle_ = value; onChanged(); return this; } /** * required double angle = 5; */ public Builder clearAngle() { bitField0_ = (bitField0_ & ~0x00000010); angle_ = 0D; onChanged(); return this; } private double width_ ; /** * required double width = 6; */ public boolean hasWidth() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * required double width = 6; */ public double getWidth() { return width_; } /** * required double width = 6; */ public Builder setWidth(double value) { bitField0_ |= 0x00000020; width_ = value; onChanged(); return this; } /** * required double width = 6; */ public Builder clearWidth() { bitField0_ = (bitField0_ & ~0x00000020); width_ = 0D; onChanged(); return this; } private double length_ ; /** * required double length = 7; */ public boolean hasLength() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * required double length = 7; */ public double getLength() { return length_; } /** * required double length = 7; */ public Builder setLength(double value) { bitField0_ |= 0x00000040; length_ = value; onChanged(); return this; } /** * required double length = 7; */ public Builder clearLength() { bitField0_ = (bitField0_ & ~0x00000040); length_ = 0D; onChanged(); return this; } private int gtuTypeId_ ; /** * required int32 gtuTypeId = 8; */ public boolean hasGtuTypeId() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * required int32 gtuTypeId = 8; */ public int getGtuTypeId() { return gtuTypeId_; } /** * required int32 gtuTypeId = 8; */ public Builder setGtuTypeId(int value) { bitField0_ |= 0x00000080; gtuTypeId_ = value; onChanged(); return this; } /** * required int32 gtuTypeId = 8; */ public Builder clearGtuTypeId() { bitField0_ = (bitField0_ & ~0x00000080); gtuTypeId_ = 0; onChanged(); return this; } private double speed_ ; /** * required double speed = 9; */ public boolean hasSpeed() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * required double speed = 9; */ public double getSpeed() { return speed_; } /** * required double speed = 9; */ public Builder setSpeed(double value) { bitField0_ |= 0x00000100; speed_ = value; onChanged(); return this; } /** * required double speed = 9; */ public Builder clearSpeed() { bitField0_ = (bitField0_ & ~0x00000100); speed_ = 0D; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition) } // @@protoc_insertion_point(class_scope:org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition) private static final org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition(); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public GTUPosition parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GTUPosition(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int GTUPOS_FIELD_NUMBER = 1; private java.util.List gtuPos_; /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ public java.util.List getGtuPosList() { return gtuPos_; } /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ public java.util.List getGtuPosOrBuilderList() { return gtuPos_; } /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ public int getGtuPosCount() { return gtuPos_.size(); } /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition getGtuPos(int index) { return gtuPos_.get(index); } /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPositionOrBuilder getGtuPosOrBuilder( int index) { return gtuPos_.get(index); } public static final int STATUS_FIELD_NUMBER = 2; private volatile java.lang.Object status_; /** * required string status = 2; */ public boolean hasStatus() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string status = 2; */ public java.lang.String getStatus() { java.lang.Object ref = status_; 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()) { status_ = s; } return s; } } /** * required string status = 2; */ public com.google.protobuf.ByteString getStatusBytes() { java.lang.Object ref = status_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); status_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasStatus()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getGtuPosCount(); i++) { if (!getGtuPos(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < gtuPos_.size(); i++) { output.writeMessage(1, gtuPos_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, status_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < gtuPos_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, gtuPos_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, status_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions)) { return super.equals(obj); } org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions other = (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions) obj; boolean result = true; result = result && getGtuPosList() .equals(other.getGtuPosList()); result = result && (hasStatus() == other.hasStatus()); if (hasStatus()) { result = result && getStatus() .equals(other.getStatus()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getGtuPosCount() > 0) { hash = (37 * hash) + GTUPOS_FIELD_NUMBER; hash = (53 * hash) + getGtuPosList().hashCode(); } if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org.opentrafficsim.aimsun.proto.GTUPositions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:org.opentrafficsim.aimsun.proto.GTUPositions) org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_GTUPositions_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_GTUPositions_fieldAccessorTable .ensureFieldAccessorsInitialized( org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.class, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.Builder.class); } // Construct using org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getGtuPosFieldBuilder(); } } public Builder clear() { super.clear(); if (gtuPosBuilder_ == null) { gtuPos_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { gtuPosBuilder_.clear(); } status_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_GTUPositions_descriptor; } public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions getDefaultInstanceForType() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.getDefaultInstance(); } public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions build() { org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions buildPartial() { org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions result = new org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (gtuPosBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { gtuPos_ = java.util.Collections.unmodifiableList(gtuPos_); bitField0_ = (bitField0_ & ~0x00000001); } result.gtuPos_ = gtuPos_; } else { result.gtuPos_ = gtuPosBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000001; } result.status_ = status_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions) { return mergeFrom((org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions other) { if (other == org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.getDefaultInstance()) return this; if (gtuPosBuilder_ == null) { if (!other.gtuPos_.isEmpty()) { if (gtuPos_.isEmpty()) { gtuPos_ = other.gtuPos_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureGtuPosIsMutable(); gtuPos_.addAll(other.gtuPos_); } onChanged(); } } else { if (!other.gtuPos_.isEmpty()) { if (gtuPosBuilder_.isEmpty()) { gtuPosBuilder_.dispose(); gtuPosBuilder_ = null; gtuPos_ = other.gtuPos_; bitField0_ = (bitField0_ & ~0x00000001); gtuPosBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getGtuPosFieldBuilder() : null; } else { gtuPosBuilder_.addAllMessages(other.gtuPos_); } } } if (other.hasStatus()) { bitField0_ |= 0x00000002; status_ = other.status_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasStatus()) { return false; } for (int i = 0; i < getGtuPosCount(); i++) { if (!getGtuPos(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List gtuPos_ = java.util.Collections.emptyList(); private void ensureGtuPosIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { gtuPos_ = new java.util.ArrayList(gtuPos_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition.Builder, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPositionOrBuilder> gtuPosBuilder_; /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ public java.util.List getGtuPosList() { if (gtuPosBuilder_ == null) { return java.util.Collections.unmodifiableList(gtuPos_); } else { return gtuPosBuilder_.getMessageList(); } } /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ public int getGtuPosCount() { if (gtuPosBuilder_ == null) { return gtuPos_.size(); } else { return gtuPosBuilder_.getCount(); } } /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition getGtuPos(int index) { if (gtuPosBuilder_ == null) { return gtuPos_.get(index); } else { return gtuPosBuilder_.getMessage(index); } } /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ public Builder setGtuPos( int index, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition value) { if (gtuPosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGtuPosIsMutable(); gtuPos_.set(index, value); onChanged(); } else { gtuPosBuilder_.setMessage(index, value); } return this; } /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ public Builder setGtuPos( int index, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition.Builder builderForValue) { if (gtuPosBuilder_ == null) { ensureGtuPosIsMutable(); gtuPos_.set(index, builderForValue.build()); onChanged(); } else { gtuPosBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ public Builder addGtuPos(org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition value) { if (gtuPosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGtuPosIsMutable(); gtuPos_.add(value); onChanged(); } else { gtuPosBuilder_.addMessage(value); } return this; } /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ public Builder addGtuPos( int index, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition value) { if (gtuPosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGtuPosIsMutable(); gtuPos_.add(index, value); onChanged(); } else { gtuPosBuilder_.addMessage(index, value); } return this; } /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ public Builder addGtuPos( org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition.Builder builderForValue) { if (gtuPosBuilder_ == null) { ensureGtuPosIsMutable(); gtuPos_.add(builderForValue.build()); onChanged(); } else { gtuPosBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ public Builder addGtuPos( int index, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition.Builder builderForValue) { if (gtuPosBuilder_ == null) { ensureGtuPosIsMutable(); gtuPos_.add(index, builderForValue.build()); onChanged(); } else { gtuPosBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ public Builder addAllGtuPos( java.lang.Iterable values) { if (gtuPosBuilder_ == null) { ensureGtuPosIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, gtuPos_); onChanged(); } else { gtuPosBuilder_.addAllMessages(values); } return this; } /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ public Builder clearGtuPos() { if (gtuPosBuilder_ == null) { gtuPos_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { gtuPosBuilder_.clear(); } return this; } /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ public Builder removeGtuPos(int index) { if (gtuPosBuilder_ == null) { ensureGtuPosIsMutable(); gtuPos_.remove(index); onChanged(); } else { gtuPosBuilder_.remove(index); } return this; } /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition.Builder getGtuPosBuilder( int index) { return getGtuPosFieldBuilder().getBuilder(index); } /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPositionOrBuilder getGtuPosOrBuilder( int index) { if (gtuPosBuilder_ == null) { return gtuPos_.get(index); } else { return gtuPosBuilder_.getMessageOrBuilder(index); } } /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ public java.util.List getGtuPosOrBuilderList() { if (gtuPosBuilder_ != null) { return gtuPosBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(gtuPos_); } } /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition.Builder addGtuPosBuilder() { return getGtuPosFieldBuilder().addBuilder( org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition.getDefaultInstance()); } /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition.Builder addGtuPosBuilder( int index) { return getGtuPosFieldBuilder().addBuilder( index, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition.getDefaultInstance()); } /** * repeated .org.opentrafficsim.aimsun.proto.GTUPositions.GTUPosition gtuPos = 1; */ public java.util.List getGtuPosBuilderList() { return getGtuPosFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition.Builder, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPositionOrBuilder> getGtuPosFieldBuilder() { if (gtuPosBuilder_ == null) { gtuPosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPosition.Builder, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.GTUPositionOrBuilder>( gtuPos_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); gtuPos_ = null; } return gtuPosBuilder_; } private java.lang.Object status_ = ""; /** * required string status = 2; */ public boolean hasStatus() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string status = 2; */ public java.lang.String getStatus() { java.lang.Object ref = status_; 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()) { status_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string status = 2; */ public com.google.protobuf.ByteString getStatusBytes() { java.lang.Object ref = status_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); status_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string status = 2; */ public Builder setStatus( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; status_ = value; onChanged(); return this; } /** * required string status = 2; */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000002); status_ = getDefaultInstance().getStatus(); onChanged(); return this; } /** * required string status = 2; */ public Builder setStatusBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; status_ = value; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:org.opentrafficsim.aimsun.proto.GTUPositions) } // @@protoc_insertion_point(class_scope:org.opentrafficsim.aimsun.proto.GTUPositions) private static final org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions(); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public GTUPositions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GTUPositions(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OTSMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:org.opentrafficsim.aimsun.proto.OTSMessage) com.google.protobuf.MessageOrBuilder { /** * optional .org.opentrafficsim.aimsun.proto.CreateSimulation createSimulation = 1; */ boolean hasCreateSimulation(); /** * optional .org.opentrafficsim.aimsun.proto.CreateSimulation createSimulation = 1; */ org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation getCreateSimulation(); /** * optional .org.opentrafficsim.aimsun.proto.CreateSimulation createSimulation = 1; */ org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulationOrBuilder getCreateSimulationOrBuilder(); /** * optional .org.opentrafficsim.aimsun.proto.SimulateUntil simulateUntil = 2; */ boolean hasSimulateUntil(); /** * optional .org.opentrafficsim.aimsun.proto.SimulateUntil simulateUntil = 2; */ org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil getSimulateUntil(); /** * optional .org.opentrafficsim.aimsun.proto.SimulateUntil simulateUntil = 2; */ org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntilOrBuilder getSimulateUntilOrBuilder(); /** * optional .org.opentrafficsim.aimsun.proto.GTUPositions gtuPositions = 3; */ boolean hasGtuPositions(); /** * optional .org.opentrafficsim.aimsun.proto.GTUPositions gtuPositions = 3; */ org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions getGtuPositions(); /** * optional .org.opentrafficsim.aimsun.proto.GTUPositions gtuPositions = 3; */ org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositionsOrBuilder getGtuPositionsOrBuilder(); public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage.MsgCase getMsgCase(); } /** * Protobuf type {@code org.opentrafficsim.aimsun.proto.OTSMessage} */ public static final class OTSMessage extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org.opentrafficsim.aimsun.proto.OTSMessage) OTSMessageOrBuilder { private static final long serialVersionUID = 0L; // Use OTSMessage.newBuilder() to construct. private OTSMessage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OTSMessage() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OTSMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); 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: { org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation.Builder subBuilder = null; if (msgCase_ == 1) { subBuilder = ((org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation) msg_).toBuilder(); } msg_ = input.readMessage(org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation) msg_); msg_ = subBuilder.buildPartial(); } msgCase_ = 1; break; } case 18: { org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil.Builder subBuilder = null; if (msgCase_ == 2) { subBuilder = ((org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil) msg_).toBuilder(); } msg_ = input.readMessage(org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil) msg_); msg_ = subBuilder.buildPartial(); } msgCase_ = 2; break; } case 26: { org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.Builder subBuilder = null; if (msgCase_ == 3) { subBuilder = ((org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions) msg_).toBuilder(); } msg_ = input.readMessage(org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions) msg_); msg_ = subBuilder.buildPartial(); } msgCase_ = 3; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_OTSMessage_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_OTSMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage.class, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage.Builder.class); } private int bitField0_; private int msgCase_ = 0; private java.lang.Object msg_; public enum MsgCase implements com.google.protobuf.Internal.EnumLite { CREATESIMULATION(1), SIMULATEUNTIL(2), GTUPOSITIONS(3), MSG_NOT_SET(0); private final int value; private MsgCase(int value) { this.value = value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static MsgCase valueOf(int value) { return forNumber(value); } public static MsgCase forNumber(int value) { switch (value) { case 1: return CREATESIMULATION; case 2: return SIMULATEUNTIL; case 3: return GTUPOSITIONS; case 0: return MSG_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public MsgCase getMsgCase() { return MsgCase.forNumber( msgCase_); } public static final int CREATESIMULATION_FIELD_NUMBER = 1; /** * optional .org.opentrafficsim.aimsun.proto.CreateSimulation createSimulation = 1; */ public boolean hasCreateSimulation() { return msgCase_ == 1; } /** * optional .org.opentrafficsim.aimsun.proto.CreateSimulation createSimulation = 1; */ public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation getCreateSimulation() { if (msgCase_ == 1) { return (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation) msg_; } return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation.getDefaultInstance(); } /** * optional .org.opentrafficsim.aimsun.proto.CreateSimulation createSimulation = 1; */ public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulationOrBuilder getCreateSimulationOrBuilder() { if (msgCase_ == 1) { return (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation) msg_; } return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation.getDefaultInstance(); } public static final int SIMULATEUNTIL_FIELD_NUMBER = 2; /** * optional .org.opentrafficsim.aimsun.proto.SimulateUntil simulateUntil = 2; */ public boolean hasSimulateUntil() { return msgCase_ == 2; } /** * optional .org.opentrafficsim.aimsun.proto.SimulateUntil simulateUntil = 2; */ public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil getSimulateUntil() { if (msgCase_ == 2) { return (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil) msg_; } return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil.getDefaultInstance(); } /** * optional .org.opentrafficsim.aimsun.proto.SimulateUntil simulateUntil = 2; */ public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntilOrBuilder getSimulateUntilOrBuilder() { if (msgCase_ == 2) { return (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil) msg_; } return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil.getDefaultInstance(); } public static final int GTUPOSITIONS_FIELD_NUMBER = 3; /** * optional .org.opentrafficsim.aimsun.proto.GTUPositions gtuPositions = 3; */ public boolean hasGtuPositions() { return msgCase_ == 3; } /** * optional .org.opentrafficsim.aimsun.proto.GTUPositions gtuPositions = 3; */ public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions getGtuPositions() { if (msgCase_ == 3) { return (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions) msg_; } return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.getDefaultInstance(); } /** * optional .org.opentrafficsim.aimsun.proto.GTUPositions gtuPositions = 3; */ public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositionsOrBuilder getGtuPositionsOrBuilder() { if (msgCase_ == 3) { return (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions) msg_; } return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (hasCreateSimulation()) { if (!getCreateSimulation().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasSimulateUntil()) { if (!getSimulateUntil().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasGtuPositions()) { if (!getGtuPositions().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (msgCase_ == 1) { output.writeMessage(1, (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation) msg_); } if (msgCase_ == 2) { output.writeMessage(2, (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil) msg_); } if (msgCase_ == 3) { output.writeMessage(3, (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions) msg_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (msgCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation) msg_); } if (msgCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil) msg_); } if (msgCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions) msg_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage)) { return super.equals(obj); } org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage other = (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage) obj; boolean result = true; result = result && getMsgCase().equals( other.getMsgCase()); if (!result) return false; switch (msgCase_) { case 1: result = result && getCreateSimulation() .equals(other.getCreateSimulation()); break; case 2: result = result && getSimulateUntil() .equals(other.getSimulateUntil()); break; case 3: result = result && getGtuPositions() .equals(other.getGtuPositions()); break; case 0: default: } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (msgCase_) { case 1: hash = (37 * hash) + CREATESIMULATION_FIELD_NUMBER; hash = (53 * hash) + getCreateSimulation().hashCode(); break; case 2: hash = (37 * hash) + SIMULATEUNTIL_FIELD_NUMBER; hash = (53 * hash) + getSimulateUntil().hashCode(); break; case 3: hash = (37 * hash) + GTUPOSITIONS_FIELD_NUMBER; hash = (53 * hash) + getGtuPositions().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org.opentrafficsim.aimsun.proto.OTSMessage} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:org.opentrafficsim.aimsun.proto.OTSMessage) org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessageOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_OTSMessage_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_OTSMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage.class, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage.Builder.class); } // Construct using org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); msgCase_ = 0; msg_ = null; return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.internal_static_org_opentrafficsim_aimsun_proto_OTSMessage_descriptor; } public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage getDefaultInstanceForType() { return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage.getDefaultInstance(); } public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage build() { org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage buildPartial() { org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage result = new org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (msgCase_ == 1) { if (createSimulationBuilder_ == null) { result.msg_ = msg_; } else { result.msg_ = createSimulationBuilder_.build(); } } if (msgCase_ == 2) { if (simulateUntilBuilder_ == null) { result.msg_ = msg_; } else { result.msg_ = simulateUntilBuilder_.build(); } } if (msgCase_ == 3) { if (gtuPositionsBuilder_ == null) { result.msg_ = msg_; } else { result.msg_ = gtuPositionsBuilder_.build(); } } result.bitField0_ = to_bitField0_; result.msgCase_ = msgCase_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage) { return mergeFrom((org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage other) { if (other == org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage.getDefaultInstance()) return this; switch (other.getMsgCase()) { case CREATESIMULATION: { mergeCreateSimulation(other.getCreateSimulation()); break; } case SIMULATEUNTIL: { mergeSimulateUntil(other.getSimulateUntil()); break; } case GTUPOSITIONS: { mergeGtuPositions(other.getGtuPositions()); break; } case MSG_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (hasCreateSimulation()) { if (!getCreateSimulation().isInitialized()) { return false; } } if (hasSimulateUntil()) { if (!getSimulateUntil().isInitialized()) { return false; } } if (hasGtuPositions()) { if (!getGtuPositions().isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int msgCase_ = 0; private java.lang.Object msg_; public MsgCase getMsgCase() { return MsgCase.forNumber( msgCase_); } public Builder clearMsg() { msgCase_ = 0; msg_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation.Builder, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulationOrBuilder> createSimulationBuilder_; /** * optional .org.opentrafficsim.aimsun.proto.CreateSimulation createSimulation = 1; */ public boolean hasCreateSimulation() { return msgCase_ == 1; } /** * optional .org.opentrafficsim.aimsun.proto.CreateSimulation createSimulation = 1; */ public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation getCreateSimulation() { if (createSimulationBuilder_ == null) { if (msgCase_ == 1) { return (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation) msg_; } return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation.getDefaultInstance(); } else { if (msgCase_ == 1) { return createSimulationBuilder_.getMessage(); } return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation.getDefaultInstance(); } } /** * optional .org.opentrafficsim.aimsun.proto.CreateSimulation createSimulation = 1; */ public Builder setCreateSimulation(org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation value) { if (createSimulationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } msg_ = value; onChanged(); } else { createSimulationBuilder_.setMessage(value); } msgCase_ = 1; return this; } /** * optional .org.opentrafficsim.aimsun.proto.CreateSimulation createSimulation = 1; */ public Builder setCreateSimulation( org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation.Builder builderForValue) { if (createSimulationBuilder_ == null) { msg_ = builderForValue.build(); onChanged(); } else { createSimulationBuilder_.setMessage(builderForValue.build()); } msgCase_ = 1; return this; } /** * optional .org.opentrafficsim.aimsun.proto.CreateSimulation createSimulation = 1; */ public Builder mergeCreateSimulation(org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation value) { if (createSimulationBuilder_ == null) { if (msgCase_ == 1 && msg_ != org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation.getDefaultInstance()) { msg_ = org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation.newBuilder((org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation) msg_) .mergeFrom(value).buildPartial(); } else { msg_ = value; } onChanged(); } else { if (msgCase_ == 1) { createSimulationBuilder_.mergeFrom(value); } createSimulationBuilder_.setMessage(value); } msgCase_ = 1; return this; } /** * optional .org.opentrafficsim.aimsun.proto.CreateSimulation createSimulation = 1; */ public Builder clearCreateSimulation() { if (createSimulationBuilder_ == null) { if (msgCase_ == 1) { msgCase_ = 0; msg_ = null; onChanged(); } } else { if (msgCase_ == 1) { msgCase_ = 0; msg_ = null; } createSimulationBuilder_.clear(); } return this; } /** * optional .org.opentrafficsim.aimsun.proto.CreateSimulation createSimulation = 1; */ public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation.Builder getCreateSimulationBuilder() { return getCreateSimulationFieldBuilder().getBuilder(); } /** * optional .org.opentrafficsim.aimsun.proto.CreateSimulation createSimulation = 1; */ public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulationOrBuilder getCreateSimulationOrBuilder() { if ((msgCase_ == 1) && (createSimulationBuilder_ != null)) { return createSimulationBuilder_.getMessageOrBuilder(); } else { if (msgCase_ == 1) { return (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation) msg_; } return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation.getDefaultInstance(); } } /** * optional .org.opentrafficsim.aimsun.proto.CreateSimulation createSimulation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation.Builder, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulationOrBuilder> getCreateSimulationFieldBuilder() { if (createSimulationBuilder_ == null) { if (!(msgCase_ == 1)) { msg_ = org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation.getDefaultInstance(); } createSimulationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation.Builder, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulationOrBuilder>( (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.CreateSimulation) msg_, getParentForChildren(), isClean()); msg_ = null; } msgCase_ = 1; onChanged();; return createSimulationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil.Builder, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntilOrBuilder> simulateUntilBuilder_; /** * optional .org.opentrafficsim.aimsun.proto.SimulateUntil simulateUntil = 2; */ public boolean hasSimulateUntil() { return msgCase_ == 2; } /** * optional .org.opentrafficsim.aimsun.proto.SimulateUntil simulateUntil = 2; */ public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil getSimulateUntil() { if (simulateUntilBuilder_ == null) { if (msgCase_ == 2) { return (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil) msg_; } return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil.getDefaultInstance(); } else { if (msgCase_ == 2) { return simulateUntilBuilder_.getMessage(); } return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil.getDefaultInstance(); } } /** * optional .org.opentrafficsim.aimsun.proto.SimulateUntil simulateUntil = 2; */ public Builder setSimulateUntil(org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil value) { if (simulateUntilBuilder_ == null) { if (value == null) { throw new NullPointerException(); } msg_ = value; onChanged(); } else { simulateUntilBuilder_.setMessage(value); } msgCase_ = 2; return this; } /** * optional .org.opentrafficsim.aimsun.proto.SimulateUntil simulateUntil = 2; */ public Builder setSimulateUntil( org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil.Builder builderForValue) { if (simulateUntilBuilder_ == null) { msg_ = builderForValue.build(); onChanged(); } else { simulateUntilBuilder_.setMessage(builderForValue.build()); } msgCase_ = 2; return this; } /** * optional .org.opentrafficsim.aimsun.proto.SimulateUntil simulateUntil = 2; */ public Builder mergeSimulateUntil(org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil value) { if (simulateUntilBuilder_ == null) { if (msgCase_ == 2 && msg_ != org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil.getDefaultInstance()) { msg_ = org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil.newBuilder((org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil) msg_) .mergeFrom(value).buildPartial(); } else { msg_ = value; } onChanged(); } else { if (msgCase_ == 2) { simulateUntilBuilder_.mergeFrom(value); } simulateUntilBuilder_.setMessage(value); } msgCase_ = 2; return this; } /** * optional .org.opentrafficsim.aimsun.proto.SimulateUntil simulateUntil = 2; */ public Builder clearSimulateUntil() { if (simulateUntilBuilder_ == null) { if (msgCase_ == 2) { msgCase_ = 0; msg_ = null; onChanged(); } } else { if (msgCase_ == 2) { msgCase_ = 0; msg_ = null; } simulateUntilBuilder_.clear(); } return this; } /** * optional .org.opentrafficsim.aimsun.proto.SimulateUntil simulateUntil = 2; */ public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil.Builder getSimulateUntilBuilder() { return getSimulateUntilFieldBuilder().getBuilder(); } /** * optional .org.opentrafficsim.aimsun.proto.SimulateUntil simulateUntil = 2; */ public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntilOrBuilder getSimulateUntilOrBuilder() { if ((msgCase_ == 2) && (simulateUntilBuilder_ != null)) { return simulateUntilBuilder_.getMessageOrBuilder(); } else { if (msgCase_ == 2) { return (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil) msg_; } return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil.getDefaultInstance(); } } /** * optional .org.opentrafficsim.aimsun.proto.SimulateUntil simulateUntil = 2; */ private com.google.protobuf.SingleFieldBuilderV3< org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil.Builder, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntilOrBuilder> getSimulateUntilFieldBuilder() { if (simulateUntilBuilder_ == null) { if (!(msgCase_ == 2)) { msg_ = org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil.getDefaultInstance(); } simulateUntilBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil.Builder, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntilOrBuilder>( (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.SimulateUntil) msg_, getParentForChildren(), isClean()); msg_ = null; } msgCase_ = 2; onChanged();; return simulateUntilBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.Builder, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositionsOrBuilder> gtuPositionsBuilder_; /** * optional .org.opentrafficsim.aimsun.proto.GTUPositions gtuPositions = 3; */ public boolean hasGtuPositions() { return msgCase_ == 3; } /** * optional .org.opentrafficsim.aimsun.proto.GTUPositions gtuPositions = 3; */ public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions getGtuPositions() { if (gtuPositionsBuilder_ == null) { if (msgCase_ == 3) { return (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions) msg_; } return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.getDefaultInstance(); } else { if (msgCase_ == 3) { return gtuPositionsBuilder_.getMessage(); } return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.getDefaultInstance(); } } /** * optional .org.opentrafficsim.aimsun.proto.GTUPositions gtuPositions = 3; */ public Builder setGtuPositions(org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions value) { if (gtuPositionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } msg_ = value; onChanged(); } else { gtuPositionsBuilder_.setMessage(value); } msgCase_ = 3; return this; } /** * optional .org.opentrafficsim.aimsun.proto.GTUPositions gtuPositions = 3; */ public Builder setGtuPositions( org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.Builder builderForValue) { if (gtuPositionsBuilder_ == null) { msg_ = builderForValue.build(); onChanged(); } else { gtuPositionsBuilder_.setMessage(builderForValue.build()); } msgCase_ = 3; return this; } /** * optional .org.opentrafficsim.aimsun.proto.GTUPositions gtuPositions = 3; */ public Builder mergeGtuPositions(org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions value) { if (gtuPositionsBuilder_ == null) { if (msgCase_ == 3 && msg_ != org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.getDefaultInstance()) { msg_ = org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.newBuilder((org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions) msg_) .mergeFrom(value).buildPartial(); } else { msg_ = value; } onChanged(); } else { if (msgCase_ == 3) { gtuPositionsBuilder_.mergeFrom(value); } gtuPositionsBuilder_.setMessage(value); } msgCase_ = 3; return this; } /** * optional .org.opentrafficsim.aimsun.proto.GTUPositions gtuPositions = 3; */ public Builder clearGtuPositions() { if (gtuPositionsBuilder_ == null) { if (msgCase_ == 3) { msgCase_ = 0; msg_ = null; onChanged(); } } else { if (msgCase_ == 3) { msgCase_ = 0; msg_ = null; } gtuPositionsBuilder_.clear(); } return this; } /** * optional .org.opentrafficsim.aimsun.proto.GTUPositions gtuPositions = 3; */ public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.Builder getGtuPositionsBuilder() { return getGtuPositionsFieldBuilder().getBuilder(); } /** * optional .org.opentrafficsim.aimsun.proto.GTUPositions gtuPositions = 3; */ public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositionsOrBuilder getGtuPositionsOrBuilder() { if ((msgCase_ == 3) && (gtuPositionsBuilder_ != null)) { return gtuPositionsBuilder_.getMessageOrBuilder(); } else { if (msgCase_ == 3) { return (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions) msg_; } return org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.getDefaultInstance(); } } /** * optional .org.opentrafficsim.aimsun.proto.GTUPositions gtuPositions = 3; */ private com.google.protobuf.SingleFieldBuilderV3< org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.Builder, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositionsOrBuilder> getGtuPositionsFieldBuilder() { if (gtuPositionsBuilder_ == null) { if (!(msgCase_ == 3)) { msg_ = org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.getDefaultInstance(); } gtuPositionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions.Builder, org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositionsOrBuilder>( (org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.GTUPositions) msg_, getParentForChildren(), isClean()); msg_ = null; } msgCase_ = 3; onChanged();; return gtuPositionsBuilder_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:org.opentrafficsim.aimsun.proto.OTSMessage) } // @@protoc_insertion_point(class_scope:org.opentrafficsim.aimsun.proto.OTSMessage) private static final org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage(); } public static org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public OTSMessage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new OTSMessage(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public org.opentrafficsim.aimsun.proto.AimsunControlProtoBuf.OTSMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_opentrafficsim_aimsun_proto_CreateSimulation_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_opentrafficsim_aimsun_proto_CreateSimulation_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_opentrafficsim_aimsun_proto_SimulateUntil_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_opentrafficsim_aimsun_proto_SimulateUntil_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_opentrafficsim_aimsun_proto_GTUPositions_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_opentrafficsim_aimsun_proto_GTUPositions_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_opentrafficsim_aimsun_proto_GTUPositions_GTUPosition_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_opentrafficsim_aimsun_proto_GTUPositions_GTUPosition_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_opentrafficsim_aimsun_proto_OTSMessage_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_opentrafficsim_aimsun_proto_OTSMessage_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\020ots-aimsun.proto\022\037org.opentrafficsim.a" + "imsun.proto\"&\n\020CreateSimulation\022\022\n\nnetwo" + "rkXML\030\003 \002(\t\"\035\n\rSimulateUntil\022\014\n\004time\030\001 \002" + "(\001\"\371\001\n\014GTUPositions\022I\n\006gtuPos\030\001 \003(\01329.or" + "g.opentrafficsim.aimsun.proto.GTUPositio" + "ns.GTUPosition\022\016\n\006status\030\002 \002(\t\032\215\001\n\013GTUPo" + "sition\022\r\n\005gtuId\030\001 \002(\t\022\t\n\001x\030\002 \002(\001\022\t\n\001y\030\003 " + "\002(\001\022\t\n\001z\030\004 \001(\001\022\r\n\005angle\030\005 \002(\001\022\r\n\005width\030\006" + " \002(\001\022\016\n\006length\030\007 \002(\001\022\021\n\tgtuTypeId\030\010 \002(\005\022" + "\r\n\005speed\030\t \002(\001\"\362\001\n\nOTSMessage\022M\n\020createS", "imulation\030\001 \001(\01321.org.opentrafficsim.aim" + "sun.proto.CreateSimulationH\000\022G\n\rsimulate" + "Until\030\002 \001(\0132..org.opentrafficsim.aimsun." + "proto.SimulateUntilH\000\022E\n\014gtuPositions\030\003 " + "\001(\0132-.org.opentrafficsim.aimsun.proto.GT" + "UPositionsH\000B\005\n\003msgB\027B\025AimsunControlProt" + "oBuf" }; 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_org_opentrafficsim_aimsun_proto_CreateSimulation_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_org_opentrafficsim_aimsun_proto_CreateSimulation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_opentrafficsim_aimsun_proto_CreateSimulation_descriptor, new java.lang.String[] { "NetworkXML", }); internal_static_org_opentrafficsim_aimsun_proto_SimulateUntil_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_org_opentrafficsim_aimsun_proto_SimulateUntil_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_opentrafficsim_aimsun_proto_SimulateUntil_descriptor, new java.lang.String[] { "Time", }); internal_static_org_opentrafficsim_aimsun_proto_GTUPositions_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_org_opentrafficsim_aimsun_proto_GTUPositions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_opentrafficsim_aimsun_proto_GTUPositions_descriptor, new java.lang.String[] { "GtuPos", "Status", }); internal_static_org_opentrafficsim_aimsun_proto_GTUPositions_GTUPosition_descriptor = internal_static_org_opentrafficsim_aimsun_proto_GTUPositions_descriptor.getNestedTypes().get(0); internal_static_org_opentrafficsim_aimsun_proto_GTUPositions_GTUPosition_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_opentrafficsim_aimsun_proto_GTUPositions_GTUPosition_descriptor, new java.lang.String[] { "GtuId", "X", "Y", "Z", "Angle", "Width", "Length", "GtuTypeId", "Speed", }); internal_static_org_opentrafficsim_aimsun_proto_OTSMessage_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_org_opentrafficsim_aimsun_proto_OTSMessage_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_opentrafficsim_aimsun_proto_OTSMessage_descriptor, new java.lang.String[] { "CreateSimulation", "SimulateUntil", "GtuPositions", "Msg", }); } // @@protoc_insertion_point(outer_class_scope) }