// Code generated by protoc-gen-go. DO NOT EDIT.
// source: code.justin.tv/amzn/PDMSLambdaTwirp/get_promises_by_service.proto

package PDMSLambdaTwirp

import (
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	timestamp "github.com/golang/protobuf/ptypes/timestamp"
	math "math"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

type GetPromisesByServiceRequest struct {
	ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// time is indexed via due date
	DueAfter             *timestamp.Timestamp `protobuf:"bytes,2,opt,name=due_after,json=dueAfter,proto3" json:"due_after,omitempty"`
	DueBefore            *timestamp.Timestamp `protobuf:"bytes,3,opt,name=due_before,json=dueBefore,proto3" json:"due_before,omitempty"`
	Cursor               string               `protobuf:"bytes,4,opt,name=cursor,proto3" json:"cursor,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (m *GetPromisesByServiceRequest) Reset()         { *m = GetPromisesByServiceRequest{} }
func (m *GetPromisesByServiceRequest) String() string { return proto.CompactTextString(m) }
func (*GetPromisesByServiceRequest) ProtoMessage()    {}
func (*GetPromisesByServiceRequest) Descriptor() ([]byte, []int) {
	return fileDescriptor_67d732708341a209, []int{0}
}

func (m *GetPromisesByServiceRequest) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetPromisesByServiceRequest.Unmarshal(m, b)
}
func (m *GetPromisesByServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetPromisesByServiceRequest.Marshal(b, m, deterministic)
}
func (m *GetPromisesByServiceRequest) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetPromisesByServiceRequest.Merge(m, src)
}
func (m *GetPromisesByServiceRequest) XXX_Size() int {
	return xxx_messageInfo_GetPromisesByServiceRequest.Size(m)
}
func (m *GetPromisesByServiceRequest) XXX_DiscardUnknown() {
	xxx_messageInfo_GetPromisesByServiceRequest.DiscardUnknown(m)
}

var xxx_messageInfo_GetPromisesByServiceRequest proto.InternalMessageInfo

func (m *GetPromisesByServiceRequest) GetServiceId() string {
	if m != nil {
		return m.ServiceId
	}
	return ""
}

func (m *GetPromisesByServiceRequest) GetDueAfter() *timestamp.Timestamp {
	if m != nil {
		return m.DueAfter
	}
	return nil
}

func (m *GetPromisesByServiceRequest) GetDueBefore() *timestamp.Timestamp {
	if m != nil {
		return m.DueBefore
	}
	return nil
}

func (m *GetPromisesByServiceRequest) GetCursor() string {
	if m != nil {
		return m.Cursor
	}
	return ""
}

// Returns up to 1000 promises at a time. Or as many as will fit in 1MB.
type GetPromisesByServicePayload struct {
	Promises []*DeletionState `protobuf:"bytes,1,rep,name=promises,proto3" json:"promises,omitempty"`
	// This is a cursor. if this is nil, it means there's nothing more in your query. If it isn't nil, it'll be the latest due time returned in your result set.
	DueCursor            *timestamp.Timestamp `protobuf:"bytes,2,opt,name=due_cursor,json=dueCursor,proto3" json:"due_cursor,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (m *GetPromisesByServicePayload) Reset()         { *m = GetPromisesByServicePayload{} }
func (m *GetPromisesByServicePayload) String() string { return proto.CompactTextString(m) }
func (*GetPromisesByServicePayload) ProtoMessage()    {}
func (*GetPromisesByServicePayload) Descriptor() ([]byte, []int) {
	return fileDescriptor_67d732708341a209, []int{1}
}

func (m *GetPromisesByServicePayload) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_GetPromisesByServicePayload.Unmarshal(m, b)
}
func (m *GetPromisesByServicePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_GetPromisesByServicePayload.Marshal(b, m, deterministic)
}
func (m *GetPromisesByServicePayload) XXX_Merge(src proto.Message) {
	xxx_messageInfo_GetPromisesByServicePayload.Merge(m, src)
}
func (m *GetPromisesByServicePayload) XXX_Size() int {
	return xxx_messageInfo_GetPromisesByServicePayload.Size(m)
}
func (m *GetPromisesByServicePayload) XXX_DiscardUnknown() {
	xxx_messageInfo_GetPromisesByServicePayload.DiscardUnknown(m)
}

var xxx_messageInfo_GetPromisesByServicePayload proto.InternalMessageInfo

func (m *GetPromisesByServicePayload) GetPromises() []*DeletionState {
	if m != nil {
		return m.Promises
	}
	return nil
}

func (m *GetPromisesByServicePayload) GetDueCursor() *timestamp.Timestamp {
	if m != nil {
		return m.DueCursor
	}
	return nil
}

func init() {
	proto.RegisterType((*GetPromisesByServiceRequest)(nil), "twitch.fulton.privacy.pdmsservice.GetPromisesByServiceRequest")
	proto.RegisterType((*GetPromisesByServicePayload)(nil), "twitch.fulton.privacy.pdmsservice.GetPromisesByServicePayload")
}

func init() {
	proto.RegisterFile("code.justin.tv/amzn/PDMSLambdaTwirp/get_promises_by_service.proto", fileDescriptor_67d732708341a209)
}

var fileDescriptor_67d732708341a209 = []byte{
	// 330 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0xcf, 0x6a, 0xf2, 0x40,
	0x14, 0xc5, 0x89, 0x7e, 0x88, 0x8e, 0xbb, 0x2c, 0x3e, 0x82, 0xa5, 0xd4, 0x5a, 0x0a, 0xae, 0x26,
	0x62, 0x17, 0xa5, 0x4b, 0xad, 0x50, 0x0a, 0x16, 0x24, 0xba, 0xea, 0x26, 0x4c, 0x32, 0x37, 0x76,
	0x4a, 0x26, 0x93, 0xce, 0xdc, 0x51, 0xd2, 0x07, 0xea, 0xb3, 0xf4, 0xb1, 0x8a, 0xf9, 0xd3, 0x5d,
	0x31, 0x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