blob: b301fd788d11901d33c5363aa1ed96dea1d8ea0c [file] [log] [blame]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/bigtable/admin/v2/common.proto
package admin
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
timestamp "github.com/golang/protobuf/ptypes/timestamp"
)
// 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
// Storage media types for persisting Bigtable data.
type StorageType int32
const (
// The user did not specify a storage type.
StorageType_STORAGE_TYPE_UNSPECIFIED StorageType = 0
// Flash (SSD) storage should be used.
StorageType_SSD StorageType = 1
// Magnetic drive (HDD) storage should be used.
StorageType_HDD StorageType = 2
)
var StorageType_name = map[int32]string{
0: "STORAGE_TYPE_UNSPECIFIED",
1: "SSD",
2: "HDD",
}
var StorageType_value = map[string]int32{
"STORAGE_TYPE_UNSPECIFIED": 0,
"SSD": 1,
"HDD": 2,
}
func (x StorageType) String() string {
return proto.EnumName(StorageType_name, int32(x))
}
func (StorageType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_79ab584e3c858108, []int{0}
}
// Encapsulates progress related information for a Cloud Bigtable 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_79ab584e3c858108, []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.RegisterEnum("google.bigtable.admin.v2.StorageType", StorageType_name, StorageType_value)
proto.RegisterType((*OperationProgress)(nil), "google.bigtable.admin.v2.OperationProgress")
}
func init() {
proto.RegisterFile("google/bigtable/admin/v2/common.proto", fileDescriptor_79ab584e3c858108)
}
var fileDescriptor_79ab584e3c858108 = []byte{
// 345 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x91, 0x41, 0x4b, 0xfb, 0x30,
0x18, 0xc6, 0xff, 0xdd, 0xf8, 0x3b, 0xcd, 0x0e, 0xd6, 0x9e, 0xca, 0x18, 0x3a, 0x04, 0x61, 0x7a,
0x48, 0xa1, 0xe2, 0x41, 0x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