Commit cbb279e6 authored by James Hughes's avatar James Hughes
Browse files

Added local message with protocolVerion.

parent 420c7647
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -23,10 +23,17 @@ package com.seagate.kinetic.proto;

option java_outer_classname = "Kinetic";

// this is a local message to allow the program to read
// the protocol version number by building this message
// and then reading the value.
message Local {
	optional string protocolVersion = 1 [default = "3.0.0"];
}

// THe message is an authorization and command bytes.
message Message {

// 1-3 are reserved, do not use
// 1-3 are reserved, do not u

// Every message must be one of the following types.
	optional AuthType authType = 4;
@@ -130,7 +137,7 @@ message Message {
		//message header
		message Header {

		// "cluster" is the version number of the cluster definition. If this is incompatible,
		// "cluster" is the  number of the cluster definition. If this is incompatible,
		// the request is rejected. If it is missing, it is assumed to be 0. (0 allows systems not
		// using cluster versioning to ignore this field in the header and in the setup.)
			optional int64 clusterVersion = 1;
@@ -630,8 +637,6 @@ message Message {

			// The range on the request and results on the response
			optional Range range = 2;


			enum BackOpType {
				INVALID_BACKOP = 0;