OSDN Git Service

new repo
[bytom/vapor.git] / vendor / google.golang.org / genproto / googleapis / cloud / ml / v1beta1 / operation_metadata.pb.go
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: google/cloud/ml/v1beta1/operation_metadata.proto
3
4 package ml
5
6 import proto "github.com/golang/protobuf/proto"
7 import fmt "fmt"
8 import math "math"
9 import _ "google.golang.org/genproto/googleapis/api/annotations"
10 import google_protobuf2 "github.com/golang/protobuf/ptypes/timestamp"
11
12 // Reference imports to suppress errors if they are not otherwise used.
13 var _ = proto.Marshal
14 var _ = fmt.Errorf
15 var _ = math.Inf
16
17 // The operation type.
18 type OperationMetadata_OperationType int32
19
20 const (
21         // Unspecified operation type.
22         OperationMetadata_OPERATION_TYPE_UNSPECIFIED OperationMetadata_OperationType = 0
23         // An operation to create a new version.
24         OperationMetadata_CREATE_VERSION OperationMetadata_OperationType = 1
25         // An operation to delete an existing version.
26         OperationMetadata_DELETE_VERSION OperationMetadata_OperationType = 2
27         // An operation to delete an existing model.
28         OperationMetadata_DELETE_MODEL OperationMetadata_OperationType = 3
29 )
30
31 var OperationMetadata_OperationType_name = map[int32]string{
32         0: "OPERATION_TYPE_UNSPECIFIED",
33         1: "CREATE_VERSION",
34         2: "DELETE_VERSION",
35         3: "DELETE_MODEL",
36 }
37 var OperationMetadata_OperationType_value = map[string]int32{
38         "OPERATION_TYPE_UNSPECIFIED": 0,
39         "CREATE_VERSION":             1,
40         "DELETE_VERSION":             2,
41         "DELETE_MODEL":               3,
42 }
43
44 func (x OperationMetadata_OperationType) String() string {
45         return proto.EnumName(OperationMetadata_OperationType_name, int32(x))
46 }
47 func (OperationMetadata_OperationType) EnumDescriptor() ([]byte, []int) {
48         return fileDescriptor2, []int{0, 0}
49 }
50
51 // Represents the metadata of the long-running operation.
52 type OperationMetadata struct {
53         // The time the operation was submitted.
54         CreateTime *google_protobuf2.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime" json:"create_time,omitempty"`
55         // The time operation processing started.
56         StartTime *google_protobuf2.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
57         // The time operation processing completed.
58         EndTime *google_protobuf2.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
59         // Indicates whether a request to cancel this operation has been made.
60         IsCancellationRequested bool `protobuf:"varint,4,opt,name=is_cancellation_requested,json=isCancellationRequested" json:"is_cancellation_requested,omitempty"`
61         // The operation type.
62         OperationType OperationMetadata_OperationType `protobuf:"varint,5,opt,name=operation_type,json=operationType,enum=google.cloud.ml.v1beta1.OperationMetadata_OperationType" json:"operation_type,omitempty"`
63         // Contains the name of the model associated with the operation.
64         ModelName string `protobuf:"bytes,6,opt,name=model_name,json=modelName" json:"model_name,omitempty"`
65         // Contains the version associated with the operation.
66         Version *Version `protobuf:"bytes,7,opt,name=version" json:"version,omitempty"`
67 }
68
69 func (m *OperationMetadata) Reset()                    { *m = OperationMetadata{} }
70 func (m *OperationMetadata) String() string            { return proto.CompactTextString(m) }
71 func (*OperationMetadata) ProtoMessage()               {}
72 func (*OperationMetadata) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
73
74 func (m *OperationMetadata) GetCreateTime() *google_protobuf2.Timestamp {
75         if m != nil {
76                 return m.CreateTime
77         }
78         return nil
79 }
80
81 func (m *OperationMetadata) GetStartTime() *google_protobuf2.Timestamp {
82         if m != nil {
83                 return m.StartTime
84         }
85         return nil
86 }
87
88 func (m *OperationMetadata) GetEndTime() *google_protobuf2.Timestamp {
89         if m != nil {
90                 return m.EndTime
91         }
92         return nil
93 }
94
95 func (m *OperationMetadata) GetIsCancellationRequested() bool {
96         if m != nil {
97                 return m.IsCancellationRequested
98         }
99         return false
100 }
101
102 func (m *OperationMetadata) GetOperationType() OperationMetadata_OperationType {
103         if m != nil {
104                 return m.OperationType
105         }
106         return OperationMetadata_OPERATION_TYPE_UNSPECIFIED
107 }
108
109 func (m *OperationMetadata) GetModelName() string {
110         if m != nil {
111                 return m.ModelName
112         }
113         return ""
114 }
115
116 func (m *OperationMetadata) GetVersion() *Version {
117         if m != nil {
118                 return m.Version
119         }
120         return nil
121 }
122
123 func init() {
124         proto.RegisterType((*OperationMetadata)(nil), "google.cloud.ml.v1beta1.OperationMetadata")
125         proto.RegisterEnum("google.cloud.ml.v1beta1.OperationMetadata_OperationType", OperationMetadata_OperationType_name, OperationMetadata_OperationType_value)
126 }
127
128 func init() { proto.RegisterFile("google/cloud/ml/v1beta1/operation_metadata.proto", fileDescriptor2) }
129
130 var fileDescriptor2 = []byte{
131         // 457 bytes of a gzipped FileDescriptorProto
132         0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x5f, 0x6b, 0xdb, 0x30,
133         0x14, 0xc5, 0xe7, 0xb6, 0x6b, 0x1b, 0x75, 0x0d, 0x99, 0x1f, 0x56, 0x2f, 0x6c, 0xab, 0xe9, 0x53,
134         0x60, 0x60, 0xaf, 0x1d, 0x83, 0x75, 0x7d, 0x6a, 0x13, 0x0d, 0x02, 0x6d, 0x6c, 0x54, 0xaf, 0xb0,
135         0xbd, 0x18, 0xc5, 0xbe, 0x33, 0x02, 0xfd, 0xf1, 0x2c, 0x25, 0xd0, 0x0f, 0xb4, 0xef, 0x39, 0x22,
136         0xd9, 0x34, 0x23, 0x84, 0x3e, 0xea, 0xdc, 0xf3, 0xbb, 0xf7, 0xf8, 0x5e, 0xa3, 0x4f, 0x95, 0x52,
137         0x15, 0x87, 0xb8, 0xe0, 0x6a, 0x51, 0xc6, 0x82, 0xc7, 0xcb, 0xf3, 0x39, 0x18, 0x7a, 0x1e, 0xab,
138         0x1a, 0x1a, 0x6a, 0x98, 0x92, 0xb9, 0x00, 0x43, 0x4b, 0x6a, 0x68, 0x54, 0x37, 0xca, 0x28, 0xff,
139         0xc4, 0x11, 0x91, 0x25, 0x22, 0xc1, 0xa3, 0x96, 0x18, 0xbe, 0x6b, 0x5b, 0xd1, 0x9a, 0xc5, 0x54,
140         0x4a, 0x65, 0x2c, 0xae, 0x1d, 0x36, 0xfc, 0xb8, 0x6d, 0x90, 0x50, 0x25, 0xf0, 0x5c, 0x43, 0xb3,
141         0x64, 0x05, 0xb4, 0xe6, 0xd3, 0xd6, 0x6c, 0x5f, 0xf3, 0xc5, 0xef, 0xd8, 0x30, 0x01, 0xda, 0x50,
142         0x51, 0x3b, 0xc3, 0xd9, 0xdf, 0x3d, 0xf4, 0x3a, 0xe9, 0x12, 0xde, 0xb5, 0x01, 0xfd, 0x2b, 0x74,
143         0x54, 0x34, 0x40, 0x0d, 0xe4, 0x2b, 0x7f, 0xe0, 0x85, 0xde, 0xe8, 0xe8, 0x62, 0x18, 0xb5, 0x81,
144         0xbb, 0x66, 0x51, 0xd6, 0x35, 0x23, 0xc8, 0xd9, 0x57, 0x82, 0x7f, 0x89, 0x90, 0x36, 0xb4, 0x31,
145         0x8e, 0xdd, 0x79, 0x96, 0xed, 0x59, 0xb7, 0x45, 0xbf, 0xa0, 0x43, 0x90, 0xa5, 0x03, 0x77, 0x9f,
146         0x05, 0x0f, 0x40, 0x96, 0x16, 0xfb, 0x86, 0xde, 0x32, 0x9d, 0x17, 0x54, 0x16, 0xc0, 0xb9, 0xdb,
147         0x75, 0x03, 0x7f, 0x16, 0xa0, 0x0d, 0x94, 0xc1, 0x5e, 0xe8, 0x8d, 0x0e, 0xc9, 0x09, 0xd3, 0xe3,
148         0xb5, 0x3a, 0xe9, 0xca, 0x7e, 0x8e, 0xfa, 0x4f, 0x17, 0x32, 0x8f, 0x35, 0x04, 0x2f, 0x43, 0x6f,
149         0xd4, 0xbf, 0xf8, 0x1a, 0x6d, 0x39, 0x4f, 0xb4, 0xb1, 0xae, 0x27, 0x25, 0x7b, 0xac, 0x81, 0x1c,
150         0xab, 0xf5, 0xa7, 0xff, 0x1e, 0x21, 0x77, 0x19, 0x49, 0x05, 0x04, 0xfb, 0xa1, 0x37, 0xea, 0x91,
151         0x9e, 0x55, 0x66, 0xd4, 0x66, 0x3f, 0x58, 0x42, 0xa3, 0x99, 0x92, 0xc1, 0x81, 0xfd, 0xe2, 0x70,
152         0xeb, 0xe0, 0x07, 0xe7, 0x23, 0x1d, 0x70, 0xc6, 0xd0, 0xf1, 0x7f, 0xa3, 0xfd, 0x0f, 0x68, 0x98,
153         0xa4, 0x98, 0x5c, 0x67, 0xd3, 0x64, 0x96, 0x67, 0x3f, 0x53, 0x9c, 0xff, 0x98, 0xdd, 0xa7, 0x78,
154         0x3c, 0xfd, 0x3e, 0xc5, 0x93, 0xc1, 0x0b, 0xdf, 0x47, 0xfd, 0x31, 0xc1, 0xd7, 0x19, 0xce, 0x1f,
155         0x30, 0xb9, 0x9f, 0x26, 0xb3, 0x81, 0xb7, 0xd2, 0x26, 0xf8, 0x16, 0xaf, 0x69, 0x3b, 0xfe, 0x00,
156         0xbd, 0x6a, 0xb5, 0xbb, 0x64, 0x82, 0x6f, 0x07, 0xbb, 0x37, 0x4b, 0x74, 0x5a, 0x28, 0xb1, 0x11,
157         0x8d, 0xd6, 0xac, 0x8b, 0x77, 0xf3, 0x66, 0x63, 0x31, 0xe9, 0xea, 0x66, 0xa9, 0xf7, 0xeb, 0xb2,
158         0xc5, 0x2a, 0xc5, 0xa9, 0xac, 0x22, 0xd5, 0x54, 0x71, 0x05, 0xd2, 0x5e, 0x34, 0x76, 0x25, 0x5a,
159         0x33, 0xbd, 0xf1, 0x47, 0x5f, 0x09, 0x3e, 0xdf, 0xb7, 0xae, 0xcf, 0xff, 0x02, 0x00, 0x00, 0xff,
160         0xff, 0x89, 0xf8, 0x21, 0xa7, 0x5f, 0x03, 0x00, 0x00,
161 }