diff options
Diffstat (limited to 'src/main/java/messages/VehiclePrecisionLocation.java')
-rw-r--r-- | src/main/java/messages/VehiclePrecisionLocation.java | 1197 |
1 files changed, 1197 insertions, 0 deletions
diff --git a/src/main/java/messages/VehiclePrecisionLocation.java b/src/main/java/messages/VehiclePrecisionLocation.java new file mode 100644 index 0000000..1914db3 --- /dev/null +++ b/src/main/java/messages/VehiclePrecisionLocation.java @@ -0,0 +1,1197 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: messages/VehiclePrecisionLocation.proto + +package messages; + +public final class VehiclePrecisionLocation { + private VehiclePrecisionLocation() {} + 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 RequestCurrentVehicleLocationOrBuilder extends + // @@protoc_insertion_point(interface_extends:messages.RequestCurrentVehicleLocation) + com.google.protobuf.MessageOrBuilder { + + /** + * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> + * @return Whether the vehicleIdentification field is set. + */ + boolean hasVehicleIdentification(); + /** + * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> + * @return The vehicleIdentification. + */ + vss.Vspec.VehicleVehicleIdentification getVehicleIdentification(); + /** + * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> + */ + vss.Vspec.VehicleVehicleIdentificationOrBuilder getVehicleIdentificationOrBuilder(); + } + /** + * Protobuf type {@code messages.RequestCurrentVehicleLocation} + */ + public static final class RequestCurrentVehicleLocation extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:messages.RequestCurrentVehicleLocation) + RequestCurrentVehicleLocationOrBuilder { + private static final long serialVersionUID = 0L; + // Use RequestCurrentVehicleLocation.newBuilder() to construct. + private RequestCurrentVehicleLocation(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private RequestCurrentVehicleLocation() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new RequestCurrentVehicleLocation(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return messages.VehiclePrecisionLocation.internal_static_messages_RequestCurrentVehicleLocation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return messages.VehiclePrecisionLocation.internal_static_messages_RequestCurrentVehicleLocation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation.class, messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation.Builder.class); + } + + public static final int VEHICLEIDENTIFICATION_FIELD_NUMBER = 1; + private vss.Vspec.VehicleVehicleIdentification vehicleIdentification_; + /** + * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> + * @return Whether the vehicleIdentification field is set. + */ + @java.lang.Override + public boolean hasVehicleIdentification() { + return vehicleIdentification_ != null; + } + /** + * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> + * @return The vehicleIdentification. + */ + @java.lang.Override + public vss.Vspec.VehicleVehicleIdentification getVehicleIdentification() { + return vehicleIdentification_ == null ? vss.Vspec.VehicleVehicleIdentification.getDefaultInstance() : vehicleIdentification_; + } + /** + * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> + */ + @java.lang.Override + public vss.Vspec.VehicleVehicleIdentificationOrBuilder getVehicleIdentificationOrBuilder() { + return vehicleIdentification_ == null ? vss.Vspec.VehicleVehicleIdentification.getDefaultInstance() : vehicleIdentification_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (vehicleIdentification_ != null) { + output.writeMessage(1, getVehicleIdentification()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (vehicleIdentification_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getVehicleIdentification()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation)) { + return super.equals(obj); + } + messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation other = (messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation) obj; + + if (hasVehicleIdentification() != other.hasVehicleIdentification()) return false; + if (hasVehicleIdentification()) { + if (!getVehicleIdentification() + .equals(other.getVehicleIdentification())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasVehicleIdentification()) { + hash = (37 * hash) + VEHICLEIDENTIFICATION_FIELD_NUMBER; + hash = (53 * hash) + getVehicleIdentification().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation 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 messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation 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 messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + 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 messages.RequestCurrentVehicleLocation} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:messages.RequestCurrentVehicleLocation) + messages.VehiclePrecisionLocation.RequestCurrentVehicleLocationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return messages.VehiclePrecisionLocation.internal_static_messages_RequestCurrentVehicleLocation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return messages.VehiclePrecisionLocation.internal_static_messages_RequestCurrentVehicleLocation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation.class, messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation.Builder.class); + } + + // Construct using messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + vehicleIdentification_ = null; + if (vehicleIdentificationBuilder_ != null) { + vehicleIdentificationBuilder_.dispose(); + vehicleIdentificationBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return messages.VehiclePrecisionLocation.internal_static_messages_RequestCurrentVehicleLocation_descriptor; + } + + @java.lang.Override + public messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation getDefaultInstanceForType() { + return messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation.getDefaultInstance(); + } + + @java.lang.Override + public messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation build() { + messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation buildPartial() { + messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation result = new messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.vehicleIdentification_ = vehicleIdentificationBuilder_ == null + ? vehicleIdentification_ + : vehicleIdentificationBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation) { + return mergeFrom((messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation other) { + if (other == messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation.getDefaultInstance()) return this; + if (other.hasVehicleIdentification()) { + mergeVehicleIdentification(other.getVehicleIdentification()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getVehicleIdentificationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private vss.Vspec.VehicleVehicleIdentification vehicleIdentification_; + private com.google.protobuf.SingleFieldBuilderV3< + vss.Vspec.VehicleVehicleIdentification, vss.Vspec.VehicleVehicleIdentification.Builder, vss.Vspec.VehicleVehicleIdentificationOrBuilder> vehicleIdentificationBuilder_; + /** + * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> + * @return Whether the vehicleIdentification field is set. + */ + public boolean hasVehicleIdentification() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> + * @return The vehicleIdentification. + */ + public vss.Vspec.VehicleVehicleIdentification getVehicleIdentification() { + if (vehicleIdentificationBuilder_ == null) { + return vehicleIdentification_ == null ? vss.Vspec.VehicleVehicleIdentification.getDefaultInstance() : vehicleIdentification_; + } else { + return vehicleIdentificationBuilder_.getMessage(); + } + } + /** + * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> + */ + public Builder setVehicleIdentification(vss.Vspec.VehicleVehicleIdentification value) { + if (vehicleIdentificationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + vehicleIdentification_ = value; + } else { + vehicleIdentificationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> + */ + public Builder setVehicleIdentification( + vss.Vspec.VehicleVehicleIdentification.Builder builderForValue) { + if (vehicleIdentificationBuilder_ == null) { + vehicleIdentification_ = builderForValue.build(); + } else { + vehicleIdentificationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> + */ + public Builder mergeVehicleIdentification(vss.Vspec.VehicleVehicleIdentification value) { + if (vehicleIdentificationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + vehicleIdentification_ != null && + vehicleIdentification_ != vss.Vspec.VehicleVehicleIdentification.getDefaultInstance()) { + getVehicleIdentificationBuilder().mergeFrom(value); + } else { + vehicleIdentification_ = value; + } + } else { + vehicleIdentificationBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> + */ + public Builder clearVehicleIdentification() { + bitField0_ = (bitField0_ & ~0x00000001); + vehicleIdentification_ = null; + if (vehicleIdentificationBuilder_ != null) { + vehicleIdentificationBuilder_.dispose(); + vehicleIdentificationBuilder_ = null; + } + onChanged(); + return this; + } + /** + * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> + */ + public vss.Vspec.VehicleVehicleIdentification.Builder getVehicleIdentificationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getVehicleIdentificationFieldBuilder().getBuilder(); + } + /** + * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> + */ + public vss.Vspec.VehicleVehicleIdentificationOrBuilder getVehicleIdentificationOrBuilder() { + if (vehicleIdentificationBuilder_ != null) { + return vehicleIdentificationBuilder_.getMessageOrBuilder(); + } else { + return vehicleIdentification_ == null ? + vss.Vspec.VehicleVehicleIdentification.getDefaultInstance() : vehicleIdentification_; + } + } + /** + * <code>.vss.VehicleVehicleIdentification vehicleIdentification = 1;</code> + */ + private com.google.protobuf.SingleFieldBuilderV3< + vss.Vspec.VehicleVehicleIdentification, vss.Vspec.VehicleVehicleIdentification.Builder, vss.Vspec.VehicleVehicleIdentificationOrBuilder> + getVehicleIdentificationFieldBuilder() { + if (vehicleIdentificationBuilder_ == null) { + vehicleIdentificationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + vss.Vspec.VehicleVehicleIdentification, vss.Vspec.VehicleVehicleIdentification.Builder, vss.Vspec.VehicleVehicleIdentificationOrBuilder>( + getVehicleIdentification(), + getParentForChildren(), + isClean()); + vehicleIdentification_ = null; + } + return vehicleIdentificationBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:messages.RequestCurrentVehicleLocation) + } + + // @@protoc_insertion_point(class_scope:messages.RequestCurrentVehicleLocation) + private static final messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation(); + } + + public static messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<RequestCurrentVehicleLocation> + PARSER = new com.google.protobuf.AbstractParser<RequestCurrentVehicleLocation>() { + @java.lang.Override + public RequestCurrentVehicleLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser<RequestCurrentVehicleLocation> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<RequestCurrentVehicleLocation> getParserForType() { + return PARSER; + } + + @java.lang.Override + public messages.VehiclePrecisionLocation.RequestCurrentVehicleLocation getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ResponseCurrentVehicleLocationOrBuilder extends + // @@protoc_insertion_point(interface_extends:messages.ResponseCurrentVehicleLocation) + com.google.protobuf.MessageOrBuilder { + + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + * @return Whether the vehicleCurrentLocation field is set. + */ + boolean hasVehicleCurrentLocation(); + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + * @return The vehicleCurrentLocation. + */ + vss.Vspec.VehicleCurrentLocation getVehicleCurrentLocation(); + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + */ + vss.Vspec.VehicleCurrentLocationOrBuilder getVehicleCurrentLocationOrBuilder(); + } + /** + * Protobuf type {@code messages.ResponseCurrentVehicleLocation} + */ + public static final class ResponseCurrentVehicleLocation extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:messages.ResponseCurrentVehicleLocation) + ResponseCurrentVehicleLocationOrBuilder { + private static final long serialVersionUID = 0L; + // Use ResponseCurrentVehicleLocation.newBuilder() to construct. + private ResponseCurrentVehicleLocation(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private ResponseCurrentVehicleLocation() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ResponseCurrentVehicleLocation(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return messages.VehiclePrecisionLocation.internal_static_messages_ResponseCurrentVehicleLocation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return messages.VehiclePrecisionLocation.internal_static_messages_ResponseCurrentVehicleLocation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation.class, messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation.Builder.class); + } + + public static final int VEHICLECURRENTLOCATION_FIELD_NUMBER = 1; + private vss.Vspec.VehicleCurrentLocation vehicleCurrentLocation_; + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + * @return Whether the vehicleCurrentLocation field is set. + */ + @java.lang.Override + public boolean hasVehicleCurrentLocation() { + return vehicleCurrentLocation_ != null; + } + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + * @return The vehicleCurrentLocation. + */ + @java.lang.Override + public vss.Vspec.VehicleCurrentLocation getVehicleCurrentLocation() { + return vehicleCurrentLocation_ == null ? vss.Vspec.VehicleCurrentLocation.getDefaultInstance() : vehicleCurrentLocation_; + } + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + */ + @java.lang.Override + public vss.Vspec.VehicleCurrentLocationOrBuilder getVehicleCurrentLocationOrBuilder() { + return vehicleCurrentLocation_ == null ? vss.Vspec.VehicleCurrentLocation.getDefaultInstance() : vehicleCurrentLocation_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (vehicleCurrentLocation_ != null) { + output.writeMessage(1, getVehicleCurrentLocation()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (vehicleCurrentLocation_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getVehicleCurrentLocation()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation)) { + return super.equals(obj); + } + messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation other = (messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation) obj; + + if (hasVehicleCurrentLocation() != other.hasVehicleCurrentLocation()) return false; + if (hasVehicleCurrentLocation()) { + if (!getVehicleCurrentLocation() + .equals(other.getVehicleCurrentLocation())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasVehicleCurrentLocation()) { + hash = (37 * hash) + VEHICLECURRENTLOCATION_FIELD_NUMBER; + hash = (53 * hash) + getVehicleCurrentLocation().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation 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 messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation 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 messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + 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 messages.ResponseCurrentVehicleLocation} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:messages.ResponseCurrentVehicleLocation) + messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return messages.VehiclePrecisionLocation.internal_static_messages_ResponseCurrentVehicleLocation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return messages.VehiclePrecisionLocation.internal_static_messages_ResponseCurrentVehicleLocation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation.class, messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation.Builder.class); + } + + // Construct using messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + vehicleCurrentLocation_ = null; + if (vehicleCurrentLocationBuilder_ != null) { + vehicleCurrentLocationBuilder_.dispose(); + vehicleCurrentLocationBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return messages.VehiclePrecisionLocation.internal_static_messages_ResponseCurrentVehicleLocation_descriptor; + } + + @java.lang.Override + public messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation getDefaultInstanceForType() { + return messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation.getDefaultInstance(); + } + + @java.lang.Override + public messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation build() { + messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation buildPartial() { + messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation result = new messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.vehicleCurrentLocation_ = vehicleCurrentLocationBuilder_ == null + ? vehicleCurrentLocation_ + : vehicleCurrentLocationBuilder_.build(); + } + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation) { + return mergeFrom((messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation other) { + if (other == messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation.getDefaultInstance()) return this; + if (other.hasVehicleCurrentLocation()) { + mergeVehicleCurrentLocation(other.getVehicleCurrentLocation()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + getVehicleCurrentLocationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private vss.Vspec.VehicleCurrentLocation vehicleCurrentLocation_; + private com.google.protobuf.SingleFieldBuilderV3< + vss.Vspec.VehicleCurrentLocation, vss.Vspec.VehicleCurrentLocation.Builder, vss.Vspec.VehicleCurrentLocationOrBuilder> vehicleCurrentLocationBuilder_; + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + * @return Whether the vehicleCurrentLocation field is set. + */ + public boolean hasVehicleCurrentLocation() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + * @return The vehicleCurrentLocation. + */ + public vss.Vspec.VehicleCurrentLocation getVehicleCurrentLocation() { + if (vehicleCurrentLocationBuilder_ == null) { + return vehicleCurrentLocation_ == null ? vss.Vspec.VehicleCurrentLocation.getDefaultInstance() : vehicleCurrentLocation_; + } else { + return vehicleCurrentLocationBuilder_.getMessage(); + } + } + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + */ + public Builder setVehicleCurrentLocation(vss.Vspec.VehicleCurrentLocation value) { + if (vehicleCurrentLocationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + vehicleCurrentLocation_ = value; + } else { + vehicleCurrentLocationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + */ + public Builder setVehicleCurrentLocation( + vss.Vspec.VehicleCurrentLocation.Builder builderForValue) { + if (vehicleCurrentLocationBuilder_ == null) { + vehicleCurrentLocation_ = builderForValue.build(); + } else { + vehicleCurrentLocationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + */ + public Builder mergeVehicleCurrentLocation(vss.Vspec.VehicleCurrentLocation value) { + if (vehicleCurrentLocationBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) && + vehicleCurrentLocation_ != null && + vehicleCurrentLocation_ != vss.Vspec.VehicleCurrentLocation.getDefaultInstance()) { + getVehicleCurrentLocationBuilder().mergeFrom(value); + } else { + vehicleCurrentLocation_ = value; + } + } else { + vehicleCurrentLocationBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + */ + public Builder clearVehicleCurrentLocation() { + bitField0_ = (bitField0_ & ~0x00000001); + vehicleCurrentLocation_ = null; + if (vehicleCurrentLocationBuilder_ != null) { + vehicleCurrentLocationBuilder_.dispose(); + vehicleCurrentLocationBuilder_ = null; + } + onChanged(); + return this; + } + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + */ + public vss.Vspec.VehicleCurrentLocation.Builder getVehicleCurrentLocationBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getVehicleCurrentLocationFieldBuilder().getBuilder(); + } + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + */ + public vss.Vspec.VehicleCurrentLocationOrBuilder getVehicleCurrentLocationOrBuilder() { + if (vehicleCurrentLocationBuilder_ != null) { + return vehicleCurrentLocationBuilder_.getMessageOrBuilder(); + } else { + return vehicleCurrentLocation_ == null ? + vss.Vspec.VehicleCurrentLocation.getDefaultInstance() : vehicleCurrentLocation_; + } + } + /** + * <code>.vss.VehicleCurrentLocation vehicleCurrentLocation = 1;</code> + */ + private com.google.protobuf.SingleFieldBuilderV3< + vss.Vspec.VehicleCurrentLocation, vss.Vspec.VehicleCurrentLocation.Builder, vss.Vspec.VehicleCurrentLocationOrBuilder> + getVehicleCurrentLocationFieldBuilder() { + if (vehicleCurrentLocationBuilder_ == null) { + vehicleCurrentLocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + vss.Vspec.VehicleCurrentLocation, vss.Vspec.VehicleCurrentLocation.Builder, vss.Vspec.VehicleCurrentLocationOrBuilder>( + getVehicleCurrentLocation(), + getParentForChildren(), + isClean()); + vehicleCurrentLocation_ = null; + } + return vehicleCurrentLocationBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:messages.ResponseCurrentVehicleLocation) + } + + // @@protoc_insertion_point(class_scope:messages.ResponseCurrentVehicleLocation) + private static final messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation(); + } + + public static messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<ResponseCurrentVehicleLocation> + PARSER = new com.google.protobuf.AbstractParser<ResponseCurrentVehicleLocation>() { + @java.lang.Override + public ResponseCurrentVehicleLocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser<ResponseCurrentVehicleLocation> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<ResponseCurrentVehicleLocation> getParserForType() { + return PARSER; + } + + @java.lang.Override + public messages.VehiclePrecisionLocation.ResponseCurrentVehicleLocation getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_messages_RequestCurrentVehicleLocation_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_messages_RequestCurrentVehicleLocation_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_messages_ResponseCurrentVehicleLocation_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_messages_ResponseCurrentVehicleLocation_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\'messages/VehiclePrecisionLocation.prot" + + "o\022\010messages\032\017vss/vspec.proto\"a\n\035RequestC" + + "urrentVehicleLocation\022@\n\025vehicleIdentifi" + + "cation\030\001 \001(\0132!.vss.VehicleVehicleIdentif" + + "ication\"]\n\036ResponseCurrentVehicleLocatio" + + "n\022;\n\026vehicleCurrentLocation\030\001 \001(\0132\033.vss." + + "VehicleCurrentLocationb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + vss.Vspec.getDescriptor(), + }); + internal_static_messages_RequestCurrentVehicleLocation_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_messages_RequestCurrentVehicleLocation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_messages_RequestCurrentVehicleLocation_descriptor, + new java.lang.String[] { "VehicleIdentification", }); + internal_static_messages_ResponseCurrentVehicleLocation_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_messages_ResponseCurrentVehicleLocation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_messages_ResponseCurrentVehicleLocation_descriptor, + new java.lang.String[] { "VehicleCurrentLocation", }); + vss.Vspec.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} |