| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: test_platform/result_flow/common.proto |
| |
| package result_flow |
| |
| import ( |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| math "math" |
| ) |
| |
| // 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 |
| |
| // Values should be consistent with https://aip.dev/216 |
| type State int32 |
| |
| const ( |
| // Should not be used. |
| State_STATE_UNSPECIFIED State = 0 |
| // Successfully executed the command. |
| State_SUCCEEDED State = 1 |
| // Encountered failure during the run. |
| State_FAILED State = 2 |
| // The command has hit the predefined deadline. |
| State_TIMED_OUT State = 3 |
| // The command was aborted externally. |
| State_ABORTED State = 4 |
| ) |
| |
| var State_name = map[int32]string{ |
| 0: "STATE_UNSPECIFIED", |
| 1: "SUCCEEDED", |
| 2: "FAILED", |
| 3: "TIMED_OUT", |
| 4: "ABORTED", |
| } |
| |
| var State_value = map[string]int32{ |
| "STATE_UNSPECIFIED": 0, |
| "SUCCEEDED": 1, |
| "FAILED": 2, |
| "TIMED_OUT": 3, |
| "ABORTED": 4, |
| } |
| |
| func (x State) String() string { |
| return proto.EnumName(State_name, int32(x)) |
| } |
| |
| func (State) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_8230a50564e8bbac, []int{0} |
| } |
| |
| // PubSubConfig contains the config to interact with Pub/Sub. |
| type PubSubConfig struct { |
| Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` |
| Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"` |
| Subscription string `protobuf:"bytes,3,opt,name=subscription,proto3" json:"subscription,omitempty"` |
| MaxReceivingMessages int32 `protobuf:"varint,4,opt,name=max_receiving_messages,json=maxReceivingMessages,proto3" json:"max_receiving_messages,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *PubSubConfig) Reset() { *m = PubSubConfig{} } |
| func (m *PubSubConfig) String() string { return proto.CompactTextString(m) } |
| func (*PubSubConfig) ProtoMessage() {} |
| func (*PubSubConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_8230a50564e8bbac, []int{0} |
| } |
| |
| func (m *PubSubConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_PubSubConfig.Unmarshal(m, b) |
| } |
| func (m *PubSubConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_PubSubConfig.Marshal(b, m, deterministic) |
| } |
| func (m *PubSubConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PubSubConfig.Merge(m, src) |
| } |
| func (m *PubSubConfig) XXX_Size() int { |
| return xxx_messageInfo_PubSubConfig.Size(m) |
| } |
| func (m *PubSubConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_PubSubConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PubSubConfig proto.InternalMessageInfo |
| |
| func (m *PubSubConfig) GetProject() string { |
| if m != nil { |
| return m.Project |
| } |
| return "" |
| } |
| |
| func (m *PubSubConfig) GetTopic() string { |
| if m != nil { |
| return m.Topic |
| } |
| return "" |
| } |
| |
| func (m *PubSubConfig) GetSubscription() string { |
| if m != nil { |
| return m.Subscription |
| } |
| return "" |
| } |
| |
| func (m *PubSubConfig) GetMaxReceivingMessages() int32 { |
| if m != nil { |
| return m.MaxReceivingMessages |
| } |
| return 0 |
| } |
| |
| // BuildbucketConfig contains the config to interact with Buildbucket. |
| type BuildbucketConfig struct { |
| Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` |
| Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` |
| Bucket string `protobuf:"bytes,3,opt,name=bucket,proto3" json:"bucket,omitempty"` |
| Builder string `protobuf:"bytes,4,opt,name=builder,proto3" json:"builder,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *BuildbucketConfig) Reset() { *m = BuildbucketConfig{} } |
| func (m *BuildbucketConfig) String() string { return proto.CompactTextString(m) } |
| func (*BuildbucketConfig) ProtoMessage() {} |
| func (*BuildbucketConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_8230a50564e8bbac, []int{1} |
| } |
| |
| func (m *BuildbucketConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_BuildbucketConfig.Unmarshal(m, b) |
| } |
| func (m *BuildbucketConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_BuildbucketConfig.Marshal(b, m, deterministic) |
| } |
| func (m *BuildbucketConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_BuildbucketConfig.Merge(m, src) |
| } |
| func (m *BuildbucketConfig) XXX_Size() int { |
| return xxx_messageInfo_BuildbucketConfig.Size(m) |
| } |
| func (m *BuildbucketConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_BuildbucketConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_BuildbucketConfig proto.InternalMessageInfo |
| |
| func (m *BuildbucketConfig) GetHost() string { |
| if m != nil { |
| return m.Host |
| } |
| return "" |
| } |
| |
| func (m *BuildbucketConfig) GetProject() string { |
| if m != nil { |
| return m.Project |
| } |
| return "" |
| } |
| |
| func (m *BuildbucketConfig) GetBucket() string { |
| if m != nil { |
| return m.Bucket |
| } |
| return "" |
| } |
| |
| func (m *BuildbucketConfig) GetBuilder() string { |
| if m != nil { |
| return m.Builder |
| } |
| return "" |
| } |
| |
| // BigqueryConfig contains the config to interact with Bigquery. |
| type BigqueryConfig struct { |
| Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` |
| Dataset string `protobuf:"bytes,2,opt,name=dataset,proto3" json:"dataset,omitempty"` |
| Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *BigqueryConfig) Reset() { *m = BigqueryConfig{} } |
| func (m *BigqueryConfig) String() string { return proto.CompactTextString(m) } |
| func (*BigqueryConfig) ProtoMessage() {} |
| func (*BigqueryConfig) Descriptor() ([]byte, []int) { |
| return fileDescriptor_8230a50564e8bbac, []int{2} |
| } |
| |
| func (m *BigqueryConfig) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_BigqueryConfig.Unmarshal(m, b) |
| } |
| func (m *BigqueryConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_BigqueryConfig.Marshal(b, m, deterministic) |
| } |
| func (m *BigqueryConfig) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_BigqueryConfig.Merge(m, src) |
| } |
| func (m *BigqueryConfig) XXX_Size() int { |
| return xxx_messageInfo_BigqueryConfig.Size(m) |
| } |
| func (m *BigqueryConfig) XXX_DiscardUnknown() { |
| xxx_messageInfo_BigqueryConfig.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_BigqueryConfig proto.InternalMessageInfo |
| |
| func (m *BigqueryConfig) GetProject() string { |
| if m != nil { |
| return m.Project |
| } |
| return "" |
| } |
| |
| func (m *BigqueryConfig) GetDataset() string { |
| if m != nil { |
| return m.Dataset |
| } |
| return "" |
| } |
| |
| func (m *BigqueryConfig) GetTable() string { |
| if m != nil { |
| return m.Table |
| } |
| return "" |
| } |
| |
| // Source is a wrapper for the source side configuration. |
| type Source struct { |
| Pubsub *PubSubConfig `protobuf:"bytes,1,opt,name=pubsub,proto3" json:"pubsub,omitempty"` |
| Bb *BuildbucketConfig `protobuf:"bytes,2,opt,name=bb,proto3" json:"bb,omitempty"` |
| Fields []string `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Source) Reset() { *m = Source{} } |
| func (m *Source) String() string { return proto.CompactTextString(m) } |
| func (*Source) ProtoMessage() {} |
| func (*Source) Descriptor() ([]byte, []int) { |
| return fileDescriptor_8230a50564e8bbac, []int{3} |
| } |
| |
| func (m *Source) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Source.Unmarshal(m, b) |
| } |
| func (m *Source) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Source.Marshal(b, m, deterministic) |
| } |
| func (m *Source) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Source.Merge(m, src) |
| } |
| func (m *Source) XXX_Size() int { |
| return xxx_messageInfo_Source.Size(m) |
| } |
| func (m *Source) XXX_DiscardUnknown() { |
| xxx_messageInfo_Source.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Source proto.InternalMessageInfo |
| |
| func (m *Source) GetPubsub() *PubSubConfig { |
| if m != nil { |
| return m.Pubsub |
| } |
| return nil |
| } |
| |
| func (m *Source) GetBb() *BuildbucketConfig { |
| if m != nil { |
| return m.Bb |
| } |
| return nil |
| } |
| |
| func (m *Source) GetFields() []string { |
| if m != nil { |
| return m.Fields |
| } |
| return nil |
| } |
| |
| // Target is a wrapper for the target side configuration. |
| type Target struct { |
| Bq *BigqueryConfig `protobuf:"bytes,1,opt,name=bq,proto3" json:"bq,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Target) Reset() { *m = Target{} } |
| func (m *Target) String() string { return proto.CompactTextString(m) } |
| func (*Target) ProtoMessage() {} |
| func (*Target) Descriptor() ([]byte, []int) { |
| return fileDescriptor_8230a50564e8bbac, []int{4} |
| } |
| |
| func (m *Target) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Target.Unmarshal(m, b) |
| } |
| func (m *Target) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Target.Marshal(b, m, deterministic) |
| } |
| func (m *Target) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Target.Merge(m, src) |
| } |
| func (m *Target) XXX_Size() int { |
| return xxx_messageInfo_Target.Size(m) |
| } |
| func (m *Target) XXX_DiscardUnknown() { |
| xxx_messageInfo_Target.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Target proto.InternalMessageInfo |
| |
| func (m *Target) GetBq() *BigqueryConfig { |
| if m != nil { |
| return m.Bq |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterEnum("test_platform.result_flow.State", State_name, State_value) |
| proto.RegisterType((*PubSubConfig)(nil), "test_platform.result_flow.PubSubConfig") |
| proto.RegisterType((*BuildbucketConfig)(nil), "test_platform.result_flow.BuildbucketConfig") |
| proto.RegisterType((*BigqueryConfig)(nil), "test_platform.result_flow.BigqueryConfig") |
| proto.RegisterType((*Source)(nil), "test_platform.result_flow.Source") |
| proto.RegisterType((*Target)(nil), "test_platform.result_flow.Target") |
| } |
| |
| func init() { |
| proto.RegisterFile("test_platform/result_flow/common.proto", fileDescriptor_8230a50564e8bbac) |
| } |
| |
| var fileDescriptor_8230a50564e8bbac = []byte{ |
| // 470 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0x4f, 0x6f, 0xd3, 0x40, |
| 0x10, 0xc5, 0xb1, 0xd3, 0x38, 0xca, 0xa4, 0xa0, 0x74, 0x55, 0x2a, 0x73, 0x8b, 0x7c, 0x80, 0x82, |
| 0x90, 0x2d, 0x15, 0x2e, 0x48, 0x48, 0x28, 0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