mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-19 16:51:01 -04:00
278 lines
12 KiB
Go
278 lines
12 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// source: google/cloud/dataproc/v1/operations.proto
|
||
|
|
||
|
package dataproc // import "google.golang.org/genproto/googleapis/cloud/dataproc/v1"
|
||
|
|
||
|
import proto "github.com/golang/protobuf/proto"
|
||
|
import fmt "fmt"
|
||
|
import math "math"
|
||
|
import _ "github.com/golang/protobuf/ptypes/empty"
|
||
|
import timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
||
|
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||
|
import _ "google.golang.org/genproto/googleapis/longrunning"
|
||
|
|
||
|
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
|
||
|
|
||
|
// The operation state.
|
||
|
type ClusterOperationStatus_State int32
|
||
|
|
||
|
const (
|
||
|
// Unused.
|
||
|
ClusterOperationStatus_UNKNOWN ClusterOperationStatus_State = 0
|
||
|
// The operation has been created.
|
||
|
ClusterOperationStatus_PENDING ClusterOperationStatus_State = 1
|
||
|
// The operation is running.
|
||
|
ClusterOperationStatus_RUNNING ClusterOperationStatus_State = 2
|
||
|
// The operation is done; either cancelled or completed.
|
||
|
ClusterOperationStatus_DONE ClusterOperationStatus_State = 3
|
||
|
)
|
||
|
|
||
|
var ClusterOperationStatus_State_name = map[int32]string{
|
||
|
0: "UNKNOWN",
|
||
|
1: "PENDING",
|
||
|
2: "RUNNING",
|
||
|
3: "DONE",
|
||
|
}
|
||
|
var ClusterOperationStatus_State_value = map[string]int32{
|
||
|
"UNKNOWN": 0,
|
||
|
"PENDING": 1,
|
||
|
"RUNNING": 2,
|
||
|
"DONE": 3,
|
||
|
}
|
||
|
|
||
|
func (x ClusterOperationStatus_State) String() string {
|
||
|
return proto.EnumName(ClusterOperationStatus_State_name, int32(x))
|
||
|
}
|
||
|
func (ClusterOperationStatus_State) EnumDescriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_operations_1e77fee15a492d08, []int{0, 0}
|
||
|
}
|
||
|
|
||
|
// The status of the operation.
|
||
|
type ClusterOperationStatus struct {
|
||
|
// Output-only. A message containing the operation state.
|
||
|
State ClusterOperationStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.dataproc.v1.ClusterOperationStatus_State" json:"state,omitempty"`
|
||
|
// Output-only. A message containing the detailed operation state.
|
||
|
InnerState string `protobuf:"bytes,2,opt,name=inner_state,json=innerState,proto3" json:"inner_state,omitempty"`
|
||
|
// Output-only.A message containing any operation metadata details.
|
||
|
Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"`
|
||
|
// Output-only. The time this state was entered.
|
||
|
StateStartTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=state_start_time,json=stateStartTime,proto3" json:"state_start_time,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *ClusterOperationStatus) Reset() { *m = ClusterOperationStatus{} }
|
||
|
func (m *ClusterOperationStatus) String() string { return proto.CompactTextString(m) }
|
||
|
func (*ClusterOperationStatus) ProtoMessage() {}
|
||
|
func (*ClusterOperationStatus) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_operations_1e77fee15a492d08, []int{0}
|
||
|
}
|
||
|
func (m *ClusterOperationStatus) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_ClusterOperationStatus.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *ClusterOperationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_ClusterOperationStatus.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (dst *ClusterOperationStatus) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_ClusterOperationStatus.Merge(dst, src)
|
||
|
}
|
||
|
func (m *ClusterOperationStatus) XXX_Size() int {
|
||
|
return xxx_messageInfo_ClusterOperationStatus.Size(m)
|
||
|
}
|
||
|
func (m *ClusterOperationStatus) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_ClusterOperationStatus.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_ClusterOperationStatus proto.InternalMessageInfo
|
||
|
|
||
|
func (m *ClusterOperationStatus) GetState() ClusterOperationStatus_State {
|
||
|
if m != nil {
|
||
|
return m.State
|
||
|
}
|
||
|
return ClusterOperationStatus_UNKNOWN
|
||
|
}
|
||
|
|
||
|
func (m *ClusterOperationStatus) GetInnerState() string {
|
||
|
if m != nil {
|
||
|
return m.InnerState
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *ClusterOperationStatus) GetDetails() string {
|
||
|
if m != nil {
|
||
|
return m.Details
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *ClusterOperationStatus) GetStateStartTime() *timestamp.Timestamp {
|
||
|
if m != nil {
|
||
|
return m.StateStartTime
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// Metadata describing the operation.
|
||
|
type ClusterOperationMetadata struct {
|
||
|
// Output-only. Name of the cluster for the operation.
|
||
|
ClusterName string `protobuf:"bytes,7,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
|
||
|
// Output-only. Cluster UUID for the operation.
|
||
|
ClusterUuid string `protobuf:"bytes,8,opt,name=cluster_uuid,json=clusterUuid,proto3" json:"cluster_uuid,omitempty"`
|
||
|
// Output-only. Current operation status.
|
||
|
Status *ClusterOperationStatus `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"`
|
||
|
// Output-only. The previous operation status.
|
||
|
StatusHistory []*ClusterOperationStatus `protobuf:"bytes,10,rep,name=status_history,json=statusHistory,proto3" json:"status_history,omitempty"`
|
||
|
// Output-only. The operation type.
|
||
|
OperationType string `protobuf:"bytes,11,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
|
||
|
// Output-only. Short description of operation.
|
||
|
Description string `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"`
|
||
|
// Output-only. Labels associated with the operation
|
||
|
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"`
|
||
|
// Output-only. Errors encountered during operation execution.
|
||
|
Warnings []string `protobuf:"bytes,14,rep,name=warnings,proto3" json:"warnings,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *ClusterOperationMetadata) Reset() { *m = ClusterOperationMetadata{} }
|
||
|
func (m *ClusterOperationMetadata) String() string { return proto.CompactTextString(m) }
|
||
|
func (*ClusterOperationMetadata) ProtoMessage() {}
|
||
|
func (*ClusterOperationMetadata) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_operations_1e77fee15a492d08, []int{1}
|
||
|
}
|
||
|
func (m *ClusterOperationMetadata) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_ClusterOperationMetadata.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *ClusterOperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_ClusterOperationMetadata.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (dst *ClusterOperationMetadata) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_ClusterOperationMetadata.Merge(dst, src)
|
||
|
}
|
||
|
func (m *ClusterOperationMetadata) XXX_Size() int {
|
||
|
return xxx_messageInfo_ClusterOperationMetadata.Size(m)
|
||
|
}
|
||
|
func (m *ClusterOperationMetadata) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_ClusterOperationMetadata.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_ClusterOperationMetadata proto.InternalMessageInfo
|
||
|
|
||
|
func (m *ClusterOperationMetadata) GetClusterName() string {
|
||
|
if m != nil {
|
||
|
return m.ClusterName
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *ClusterOperationMetadata) GetClusterUuid() string {
|
||
|
if m != nil {
|
||
|
return m.ClusterUuid
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *ClusterOperationMetadata) GetStatus() *ClusterOperationStatus {
|
||
|
if m != nil {
|
||
|
return m.Status
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *ClusterOperationMetadata) GetStatusHistory() []*ClusterOperationStatus {
|
||
|
if m != nil {
|
||
|
return m.StatusHistory
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *ClusterOperationMetadata) GetOperationType() string {
|
||
|
if m != nil {
|
||
|
return m.OperationType
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *ClusterOperationMetadata) GetDescription() string {
|
||
|
if m != nil {
|
||
|
return m.Description
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *ClusterOperationMetadata) GetLabels() map[string]string {
|
||
|
if m != nil {
|
||
|
return m.Labels
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *ClusterOperationMetadata) GetWarnings() []string {
|
||
|
if m != nil {
|
||
|
return m.Warnings
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterType((*ClusterOperationStatus)(nil), "google.cloud.dataproc.v1.ClusterOperationStatus")
|
||
|
proto.RegisterType((*ClusterOperationMetadata)(nil), "google.cloud.dataproc.v1.ClusterOperationMetadata")
|
||
|
proto.RegisterMapType((map[string]string)(nil), "google.cloud.dataproc.v1.ClusterOperationMetadata.LabelsEntry")
|
||
|
proto.RegisterEnum("google.cloud.dataproc.v1.ClusterOperationStatus_State", ClusterOperationStatus_State_name, ClusterOperationStatus_State_value)
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterFile("google/cloud/dataproc/v1/operations.proto", fileDescriptor_operations_1e77fee15a492d08)
|
||
|
}
|
||
|
|
||
|
var fileDescriptor_operations_1e77fee15a492d08 = []byte{
|
||
|
// 553 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x61, 0x6b, 0xd3, 0x40,
|
||
|
0x18, 0x36, 0xcd, 0xb6, 0xb6, 0x97, 0xb5, 0x96, 0x43, 0xe4, 0x88, 0x83, 0xc5, 0x8a, 0x50, 0xbf,
|
||
|
0x24, 0x6e, 0x82, 0x4c, 0x05, 0x91, 0xd9, 0xe2, 0xc4, 0x99, 0x96, 0x6c, 0x75, 0xe0, 0x97, 0x72,
|
||
|
0x6d, 0xce, 0x18, 0x4c, 0xee, 0xc2, 0xdd, 0xa5, 0x92, 0x9f, 0xe3, 0xef, 0xf4, 0x8b, 0xdc, 0x5d,
|
||
|
0x52, 0xea, 0xe6, 0x40, 0xfd, 0xd4, 0x7b, 0xde, 0xf7, 0x79, 0x9e, 0xbe, 0xcf, 0xcb, 0xdb, 0x82,
|
||
|
0x27, 0x09, 0x63, 0x49, 0x46, 0x82, 0x55, 0xc6, 0xca, 0x38, 0x88, 0xb1, 0xc4, 0x05, 0x67, 0xab,
|
||
|
0x60, 0x7d, 0x14, 0xb0, 0x82, 0x70, 0x2c, 0x53, 0x46, 0x85,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