Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

275 rader
12 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/cloud/dataproc/v1beta2/operations.proto
  3. package dataproc // import "google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import timestamp "github.com/golang/protobuf/ptypes/timestamp"
  8. import _ "google.golang.org/genproto/googleapis/api/annotations"
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  18. // The operation state.
  19. type ClusterOperationStatus_State int32
  20. const (
  21. // Unused.
  22. ClusterOperationStatus_UNKNOWN ClusterOperationStatus_State = 0
  23. // The operation has been created.
  24. ClusterOperationStatus_PENDING ClusterOperationStatus_State = 1
  25. // The operation is running.
  26. ClusterOperationStatus_RUNNING ClusterOperationStatus_State = 2
  27. // The operation is done; either cancelled or completed.
  28. ClusterOperationStatus_DONE ClusterOperationStatus_State = 3
  29. )
  30. var ClusterOperationStatus_State_name = map[int32]string{
  31. 0: "UNKNOWN",
  32. 1: "PENDING",
  33. 2: "RUNNING",
  34. 3: "DONE",
  35. }
  36. var ClusterOperationStatus_State_value = map[string]int32{
  37. "UNKNOWN": 0,
  38. "PENDING": 1,
  39. "RUNNING": 2,
  40. "DONE": 3,
  41. }
  42. func (x ClusterOperationStatus_State) String() string {
  43. return proto.EnumName(ClusterOperationStatus_State_name, int32(x))
  44. }
  45. func (ClusterOperationStatus_State) EnumDescriptor() ([]byte, []int) {
  46. return fileDescriptor_operations_b5f0912bfbd4b982, []int{0, 0}
  47. }
  48. // The status of the operation.
  49. type ClusterOperationStatus struct {
  50. // Output only. A message containing the operation state.
  51. State ClusterOperationStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.dataproc.v1beta2.ClusterOperationStatus_State" json:"state,omitempty"`
  52. // Output only. A message containing the detailed operation state.
  53. InnerState string `protobuf:"bytes,2,opt,name=inner_state,json=innerState,proto3" json:"inner_state,omitempty"`
  54. // Output only. A message containing any operation metadata details.
  55. Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"`
  56. // Output only. The time this state was entered.
  57. StateStartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=state_start_time,json=stateStartTime,proto3" json:"state_start_time,omitempty"`
  58. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  59. XXX_unrecognized []byte `json:"-"`
  60. XXX_sizecache int32 `json:"-"`
  61. }
  62. func (m *ClusterOperationStatus) Reset() { *m = ClusterOperationStatus{} }
  63. func (m *ClusterOperationStatus) String() string { return proto.CompactTextString(m) }
  64. func (*ClusterOperationStatus) ProtoMessage() {}
  65. func (*ClusterOperationStatus) Descriptor() ([]byte, []int) {
  66. return fileDescriptor_operations_b5f0912bfbd4b982, []int{0}
  67. }
  68. func (m *ClusterOperationStatus) XXX_Unmarshal(b []byte) error {
  69. return xxx_messageInfo_ClusterOperationStatus.Unmarshal(m, b)
  70. }
  71. func (m *ClusterOperationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  72. return xxx_messageInfo_ClusterOperationStatus.Marshal(b, m, deterministic)
  73. }
  74. func (dst *ClusterOperationStatus) XXX_Merge(src proto.Message) {
  75. xxx_messageInfo_ClusterOperationStatus.Merge(dst, src)
  76. }
  77. func (m *ClusterOperationStatus) XXX_Size() int {
  78. return xxx_messageInfo_ClusterOperationStatus.Size(m)
  79. }
  80. func (m *ClusterOperationStatus) XXX_DiscardUnknown() {
  81. xxx_messageInfo_ClusterOperationStatus.DiscardUnknown(m)
  82. }
  83. var xxx_messageInfo_ClusterOperationStatus proto.InternalMessageInfo
  84. func (m *ClusterOperationStatus) GetState() ClusterOperationStatus_State {
  85. if m != nil {
  86. return m.State
  87. }
  88. return ClusterOperationStatus_UNKNOWN
  89. }
  90. func (m *ClusterOperationStatus) GetInnerState() string {
  91. if m != nil {
  92. return m.InnerState
  93. }
  94. return ""
  95. }
  96. func (m *ClusterOperationStatus) GetDetails() string {
  97. if m != nil {
  98. return m.Details
  99. }
  100. return ""
  101. }
  102. func (m *ClusterOperationStatus) GetStateStartTime() *timestamp.Timestamp {
  103. if m != nil {
  104. return m.StateStartTime
  105. }
  106. return nil
  107. }
  108. // Metadata describing the operation.
  109. type ClusterOperationMetadata struct {
  110. // Output only. Name of the cluster for the operation.
  111. ClusterName string `protobuf:"bytes,7,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
  112. // Output only. Cluster UUID for the operation.
  113. ClusterUuid string `protobuf:"bytes,8,opt,name=cluster_uuid,json=clusterUuid,proto3" json:"cluster_uuid,omitempty"`
  114. // Output only. Current operation status.
  115. Status *ClusterOperationStatus `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"`
  116. // Output only. The previous operation status.
  117. StatusHistory []*ClusterOperationStatus `protobuf:"bytes,10,rep,name=status_history,json=statusHistory,proto3" json:"status_history,omitempty"`
  118. // Output only. The operation type.
  119. OperationType string `protobuf:"bytes,11,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
  120. // Output only. Short description of operation.
  121. Description string `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"`
  122. // Output only. Labels associated with the operation
  123. Labels map[string]string `protobuf:"bytes,13,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  124. // Output only. Errors encountered during operation execution.
  125. Warnings []string `protobuf:"bytes,14,rep,name=warnings,proto3" json:"warnings,omitempty"`
  126. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  127. XXX_unrecognized []byte `json:"-"`
  128. XXX_sizecache int32 `json:"-"`
  129. }
  130. func (m *ClusterOperationMetadata) Reset() { *m = ClusterOperationMetadata{} }
  131. func (m *ClusterOperationMetadata) String() string { return proto.CompactTextString(m) }
  132. func (*ClusterOperationMetadata) ProtoMessage() {}
  133. func (*ClusterOperationMetadata) Descriptor() ([]byte, []int) {
  134. return fileDescriptor_operations_b5f0912bfbd4b982, []int{1}
  135. }
  136. func (m *ClusterOperationMetadata) XXX_Unmarshal(b []byte) error {
  137. return xxx_messageInfo_ClusterOperationMetadata.Unmarshal(m, b)
  138. }
  139. func (m *ClusterOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  140. return xxx_messageInfo_ClusterOperationMetadata.Marshal(b, m, deterministic)
  141. }
  142. func (dst *ClusterOperationMetadata) XXX_Merge(src proto.Message) {
  143. xxx_messageInfo_ClusterOperationMetadata.Merge(dst, src)
  144. }
  145. func (m *ClusterOperationMetadata) XXX_Size() int {
  146. return xxx_messageInfo_ClusterOperationMetadata.Size(m)
  147. }
  148. func (m *ClusterOperationMetadata) XXX_DiscardUnknown() {
  149. xxx_messageInfo_ClusterOperationMetadata.DiscardUnknown(m)
  150. }
  151. var xxx_messageInfo_ClusterOperationMetadata proto.InternalMessageInfo
  152. func (m *ClusterOperationMetadata) GetClusterName() string {
  153. if m != nil {
  154. return m.ClusterName
  155. }
  156. return ""
  157. }
  158. func (m *ClusterOperationMetadata) GetClusterUuid() string {
  159. if m != nil {
  160. return m.ClusterUuid
  161. }
  162. return ""
  163. }
  164. func (m *ClusterOperationMetadata) GetStatus() *ClusterOperationStatus {
  165. if m != nil {
  166. return m.Status
  167. }
  168. return nil
  169. }
  170. func (m *ClusterOperationMetadata) GetStatusHistory() []*ClusterOperationStatus {
  171. if m != nil {
  172. return m.StatusHistory
  173. }
  174. return nil
  175. }
  176. func (m *ClusterOperationMetadata) GetOperationType() string {
  177. if m != nil {
  178. return m.OperationType
  179. }
  180. return ""
  181. }
  182. func (m *ClusterOperationMetadata) GetDescription() string {
  183. if m != nil {
  184. return m.Description
  185. }
  186. return ""
  187. }
  188. func (m *ClusterOperationMetadata) GetLabels() map[string]string {
  189. if m != nil {
  190. return m.Labels
  191. }
  192. return nil
  193. }
  194. func (m *ClusterOperationMetadata) GetWarnings() []string {
  195. if m != nil {
  196. return m.Warnings
  197. }
  198. return nil
  199. }
  200. func init() {
  201. proto.RegisterType((*ClusterOperationStatus)(nil), "google.cloud.dataproc.v1beta2.ClusterOperationStatus")
  202. proto.RegisterType((*ClusterOperationMetadata)(nil), "google.cloud.dataproc.v1beta2.ClusterOperationMetadata")
  203. proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1beta2.ClusterOperationMetadata.LabelsEntry")
  204. proto.RegisterEnum("google.cloud.dataproc.v1beta2.ClusterOperationStatus_State", ClusterOperationStatus_State_name, ClusterOperationStatus_State_value)
  205. }
  206. func init() {
  207. proto.RegisterFile("google/cloud/dataproc/v1beta2/operations.proto", fileDescriptor_operations_b5f0912bfbd4b982)
  208. }
  209. var fileDescriptor_operations_b5f0912bfbd4b982 = []byte{
  210. // 537 bytes of a gzipped FileDescriptorProto
  211. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x5f, 0x8b, 0xd3, 0x4e,
  212. 0x14, 0xfd, 0xa5, 0xff, 0x7b, 0xb3, 0xed, 0xaf, 0x0c, 0x22, 0x43, 0x51, 0x36, 0x5b, 0x10, 0xfa,
  213. 0x94, 0x60, 0x45, 0x58, 0xdd, 0xb7, 0xdd, 0x16, 0x15, 0xdd, 0xb4, 0x66, 0xb7, 0x08, 0x2a, 0x94,
  214. 0x69, 0x33, 0xc6, 0x60, 0x3a, 0x13, 0x66, 0x26, 0x2b, 0x7d, 0xf0, 0x0b, 0xf8, 0x41, 0xfc, 0x9c,
  215. 0x32, 0x33, 0x49, 0xa9, 0xa2, 0x0b, 0xee, 0x53, 0xe7, 0xde, 0x7b, 0xce, 0x99, 0x73, 0xa6, 0x97,
  216. 0x80, 0x9f, 0x70, 0x9e, 0x64, 0x34, 0xd8, 0x64, 0xbc, 0x88, 0x83, 0x98, 0x28, 0x92, 0x0b, 0xbe,
  217. 0x09, 0x6e, 0x1e, 0xaf, 0xa9, 0x22, 0x93, 0x80, 0xe7, 0x54, 0x10, 0x95, 0x72, 0x26, 0xfd, 0x5c,
  218. 0x70, 0xc5, 0xd1, 0x43, 0x8b, 0xf7, 0x0d, 0xde, 0xaf, 0xf0, 0x7e, 0x89, 0x1f, 0x3e, 0x28, 0xe5,
  219. 0x48, 0x9e, 0x06, 0x84, 0x31, 0xae, 0x0e, 0xc9, 0xc3, 0xe3, 0x72, 0x6a, 0xaa, 0x75, 0xf1, 0x29,
  220. 0x50, 0xe9, 0x96, 0x4a, 0x45, 0xb6, 0xb9, 0x05, 0x8c, 0x7e, 0xd4, 0xe0, 0xfe, 0x45, 0x56, 0x48,
  221. 0x45, 0xc5, 0xbc, 0xba, 0xf9, 0x4a, 0x11, 0x55, 0x48, 0xf4, 0x16, 0x9a, 0x52, 0x11, 0x45, 0xb1,
  222. 0xe3, 0x39, 0xe3, 0xfe, 0xe4, 0xcc, 0xbf, 0xd5, 0x88, 0xff, 0x67, 0x15, 0x5f, 0xff, 0xd0, 0xc8,
  223. 0x2a, 0xa1, 0x63, 0x70, 0x53, 0xc6, 0xa8, 0x58, 0x59, 0xe1, 0x9a, 0xe7, 0x8c, 0xbb, 0x11, 0x98,
  224. 0x96, 0xc1, 0x21, 0x0c, 0xed, 0x98, 0x2a, 0x92, 0x66, 0x12, 0xd7, 0xcd, 0xb0, 0x2a, 0xd1, 0x14,
  225. 0x06, 0x86, 0xa4, 0xa9, 0x42, 0xad, 0x74, 0x0e, 0xdc, 0xf0, 0x9c, 0xb1, 0x3b, 0x19, 0x56, 0xc6,
  226. 0xaa, 0x90, 0xfe, 0x75, 0x15, 0x32, 0xea, 0x1b, 0xce, 0x95, 0xa6, 0xe8, 0xe6, 0xe8, 0x14, 0x9a,
  227. 0xf6, 0x22, 0x17, 0xda, 0xcb, 0xf0, 0x75, 0x38, 0x7f, 0x17, 0x0e, 0xfe, 0xd3, 0xc5, 0x62, 0x16,
  228. 0x4e, 0x5f, 0x85, 0x2f, 0x06, 0x8e, 0x2e, 0xa2, 0x65, 0x18, 0xea, 0xa2, 0x86, 0x3a, 0xd0, 0x98,
  229. 0xce, 0xc3, 0xd9, 0xa0, 0x3e, 0xfa, 0xde, 0x00, 0xfc, 0x7b, 0xc4, 0x4b, 0xaa, 0x88, 0x7e, 0x07,
  230. 0x74, 0x02, 0x47, 0x1b, 0x3b, 0x5b, 0x31, 0xb2, 0xa5, 0xb8, 0x6d, 0xbc, 0xbb, 0x65, 0x2f, 0x24,
  231. 0x5b, 0x7a, 0x08, 0x29, 0x8a, 0x34, 0xc6, 0x9d, 0x5f, 0x20, 0xcb, 0x22, 0x8d, 0xd1, 0x25, 0xb4,
  232. 0xa4, 0x79, 0x34, 0xdc, 0x35, 0xc1, 0x9e, 0xde, 0xe9, 0xc5, 0xa3, 0x52, 0x04, 0x7d, 0x84, 0xbe,
  233. 0x3d, 0xad, 0x3e, 0xa7, 0x52, 0x71, 0xb1, 0xc3, 0xe0, 0xd5, 0xef, 0x2e, 0xdb, 0xb3, 0x62, 0x2f,
  234. 0xad, 0x16, 0x7a, 0x04, 0xfd, 0xfd, 0xaa, 0xae, 0xd4, 0x2e, 0xa7, 0xd8, 0x35, 0x89, 0x7a, 0xfb,
  235. 0xee, 0xf5, 0x2e, 0xa7, 0xc8, 0x03, 0x37, 0xa6, 0x72, 0x23, 0xd2, 0x5c, 0xb7, 0xf0, 0x91, 0x4d,
  236. 0x7d, 0xd0, 0x42, 0x1f, 0xa0, 0x95, 0x91, 0x35, 0xcd, 0x24, 0xee, 0x19, 0x7b, 0x17, 0xff, 0x68,
  237. 0xaf, 0xfa, 0x13, 0xfc, 0x37, 0x46, 0x65, 0xc6, 0x94, 0xd8, 0x45, 0xa5, 0x24, 0x1a, 0x42, 0xe7,
  238. 0x2b, 0x11, 0x2c, 0x65, 0x89, 0xc4, 0x7d, 0xaf, 0x3e, 0xee, 0x46, 0xfb, 0x7a, 0xf8, 0x0c, 0xdc,
  239. 0x03, 0x0a, 0x1a, 0x40, 0xfd, 0x0b, 0xdd, 0x99, 0x65, 0xef, 0x46, 0xfa, 0x88, 0xee, 0x41, 0xf3,
  240. 0x86, 0x64, 0x45, 0xb5, 0xa7, 0xb6, 0x78, 0x5e, 0x3b, 0x75, 0xce, 0xbf, 0xc1, 0xc9, 0x86, 0x6f,
  241. 0x6f, 0x37, 0x7a, 0xfe, 0xff, 0xde, 0xa2, 0x5c, 0xe8, 0xcd, 0x5c, 0x38, 0xef, 0x67, 0x25, 0x23,
  242. 0xe1, 0x19, 0x61, 0x89, 0xcf, 0x45, 0x12, 0x24, 0x94, 0x99, 0xbd, 0x0d, 0xec, 0x88, 0xe4, 0xa9,
  243. 0xfc, 0xcb, 0xa7, 0xe1, 0xac, 0x6a, 0xac, 0x5b, 0x86, 0xf1, 0xe4, 0x67, 0x00, 0x00, 0x00, 0xff,
  244. 0xff, 0x83, 0x10, 0x95, 0x5e, 0x4b, 0x04, 0x00, 0x00,
  245. }