// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/spanner/admin/database/v1/common.proto

package database

import (
	fmt "fmt"
	math "math"

	proto "github.com/golang/protobuf/proto"
	timestamp "github.com/golang/protobuf/ptypes/timestamp"
	_ "google.golang.org/genproto/googleapis/api/annotations"
)

// 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

// Encapsulates progress related information for a Cloud Spanner long
// running operation.
type OperationProgress struct {
	// Percent completion of the operation.
	// Values are between 0 and 100 inclusive.
	ProgressPercent int32 `protobuf:"varint,1,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"`
	// Time the request was received.
	StartTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// If set, the time at which this operation failed or was completed
	// successfully.
	EndTime              *timestamp.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

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

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

var xxx_messageInfo_OperationProgress proto.InternalMessageInfo

func (m *OperationProgress) GetProgressPercent() int32 {
	if m != nil {
		return m.ProgressPercent
	}
	return 0
}

func (m *OperationProgress) GetStartTime() *timestamp.Timestamp {
	if m != nil {
		return m.StartTime
	}
	return nil
}

func (m *OperationProgress) GetEndTime() *timestamp.Timestamp {
	if m != nil {
		return m.EndTime
	}
	return nil
}

func init() {
	proto.RegisterType((*OperationProgress)(nil), "google.spanner.admin.database.v1.OperationProgress")
}

func init() {
	proto.RegisterFile("google/spanner/admin/database/v1/common.proto", fileDescriptor_f3b2254069cfa6df)
}

var fileDescriptor_f3b2254069cfa6df = []byte{
	// 328 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0xcb, 0x4a, 0x03, 0x31,
	0x14, 0x86, 0x99, 0x8a, 0xb7, 0x74, 0xa1, 0xce, 0xaa, 0x14, 0xc1, 0x22, 0x22, 0x75, 0x61, 0xc2,
	0x28, 0x2e, 0xc4, 0x95, 0xad, 0xa0, 0x3b, 0x87, 0x2a, 0x5d, 0xc8, 0x40, 0xc9, 0x74, 0xd2, 0x18,
	0x98, 0xc9, 0x09, 0x49, 0x3a, 0x0f, 0xe5, 0xca, 0xe7, 0x70, 0xe7, 0x1b, 0xc9, 0xe4, 0x22, 0x6e,
	0xa4, 0xbb, 0x73, 0xf9, 0xce, 0x7f, 0xfe, 0x9c, 0xa0, 0x4b, 0x0e, 0xc0, 0x6b, 0x46, 0x8c, 0xa2,
	0x52, 0x32, 0x4d, 0x68, 0xd5, 0x08, 0x49, 0x2a, 0x6a, 0x69, 0x49, 0x0d, 0x23, 0x6d, 0x46, 0x96,
	0xd0, 0x34, 0x20, 0xb1, 0xd2, 0x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