// Code generated by protoc-gen-go.
// source: snapshot_recovery_request.proto
// DO NOT EDIT!

package protobuf

import proto "code.google.com/p/goprotobuf/proto"
import json "encoding/json"
import math "math"

// Reference proto, json, and math imports to suppress error if they are not otherwise used.
var _ = proto.Marshal
var _ = &json.SyntaxError{}
var _ = math.Inf

type ProtoSnapshotRecoveryRequest struct {
	LeaderName       *string                                   `protobuf:"bytes,1,req" json:"LeaderName,omitempty"`
	LastIndex        *uint64                                   `protobuf:"varint,2,req" json:"LastIndex,omitempty"`
	LastTerm         *uint64                                   `protobuf:"varint,3,req" json:"LastTerm,omitempty"`
	Peers            []*ProtoSnapshotRecoveryRequest_ProtoPeer `protobuf:"bytes,4,rep" json:"Peers,omitempty"`
	State            []byte                                    `protobuf:"bytes,5,req" json:"State,omitempty"`
	XXX_unrecognized []byte                                    `json:"-"`
}

func (m *ProtoSnapshotRecoveryRequest) Reset()         { *m = ProtoSnapshotRecoveryRequest{} }
func (m *ProtoSnapshotRecoveryRequest) String() string { return proto.CompactTextString(m) }
func (*ProtoSnapshotRecoveryRequest) ProtoMessage()    {}

func (m *ProtoSnapshotRecoveryRequest) GetLeaderName() string {
	if m != nil && m.LeaderName != nil {
		return *m.LeaderName
	}
	return ""
}

func (m *ProtoSnapshotRecoveryRequest) GetLastIndex() uint64 {
	if m != nil && m.LastIndex != nil {
		return *m.LastIndex
	}
	return 0
}

func (m *ProtoSnapshotRecoveryRequest) GetLastTerm() uint64 {
	if m != nil && m.LastTerm != nil {
		return *m.LastTerm
	}
	return 0
}

func (m *ProtoSnapshotRecoveryRequest) GetPeers() []*ProtoSnapshotRecoveryRequest_ProtoPeer {
	if m != nil {
		return m.Peers
	}
	return nil
}

func (m *ProtoSnapshotRecoveryRequest) GetState() []byte {
	if m != nil {
		return m.State
	}
	return nil
}

type ProtoSnapshotRecoveryRequest_ProtoPeer struct {
	Name             *string `protobuf:"bytes,1,req" json:"Name,omitempty"`
	ConnectionString *string `protobuf:"bytes,2,req" json:"ConnectionString,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (m *ProtoSnapshotRecoveryRequest_ProtoPeer) Reset() {
	*m = ProtoSnapshotRecoveryRequest_ProtoPeer{}
}
func (m *ProtoSnapshotRecoveryRequest_ProtoPeer) String() string { return proto.CompactTextString(m) }
func (*ProtoSnapshotRecoveryRequest_ProtoPeer) ProtoMessage()    {}

func (m *ProtoSnapshotRecoveryRequest_ProtoPeer) GetName() string {
	if m != nil && m.Name != nil {
		return *m.Name
	}
	return ""
}

func (m *ProtoSnapshotRecoveryRequest_ProtoPeer) GetConnectionString() string {
	if m != nil && m.ConnectionString != nil {
		return *m.ConnectionString
	}
	return ""
}

func init() {
}
