glide up
This commit is contained in:
873
vendor/google.golang.org/genproto/googleapis/devtools/build/v1/build_events.pb.go
generated
vendored
Normal file
873
vendor/google.golang.org/genproto/googleapis/devtools/build/v1/build_events.pb.go
generated
vendored
Normal file
@@ -0,0 +1,873 @@
|
||||
// Code generated by protoc-gen-go.
|
||||
// source: google/devtools/build/v1/build_events.proto
|
||||
// DO NOT EDIT!
|
||||
|
||||
/*
|
||||
Package build is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/devtools/build/v1/build_events.proto
|
||||
google/devtools/build/v1/build_status.proto
|
||||
google/devtools/build/v1/publish_build_event.proto
|
||||
|
||||
It has these top-level messages:
|
||||
BuildEvent
|
||||
StreamId
|
||||
BuildStatus
|
||||
PublishLifecycleEventRequest
|
||||
PublishBuildToolEventStreamResponse
|
||||
OrderedBuildEvent
|
||||
*/
|
||||
package build
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/any"
|
||||
import google_protobuf2 "github.com/golang/protobuf/ptypes/timestamp"
|
||||
import google_protobuf3 "github.com/golang/protobuf/ptypes/wrappers"
|
||||
import google_rpc "google.golang.org/genproto/googleapis/rpc/status"
|
||||
|
||||
// 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 type of console output stream.
|
||||
type ConsoleOutputStream int32
|
||||
|
||||
const (
|
||||
// Unspecified or unknown.
|
||||
ConsoleOutputStream_UNKNOWN ConsoleOutputStream = 0
|
||||
// Normal output stream.
|
||||
ConsoleOutputStream_STDOUT ConsoleOutputStream = 1
|
||||
// Error output stream.
|
||||
ConsoleOutputStream_STDERR ConsoleOutputStream = 2
|
||||
)
|
||||
|
||||
var ConsoleOutputStream_name = map[int32]string{
|
||||
0: "UNKNOWN",
|
||||
1: "STDOUT",
|
||||
2: "STDERR",
|
||||
}
|
||||
var ConsoleOutputStream_value = map[string]int32{
|
||||
"UNKNOWN": 0,
|
||||
"STDOUT": 1,
|
||||
"STDERR": 2,
|
||||
}
|
||||
|
||||
func (x ConsoleOutputStream) String() string {
|
||||
return proto.EnumName(ConsoleOutputStream_name, int32(x))
|
||||
}
|
||||
func (ConsoleOutputStream) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
|
||||
// How did the event stream finish.
|
||||
type BuildEvent_BuildComponentStreamFinished_FinishType int32
|
||||
|
||||
const (
|
||||
// Unknown or unspecified; callers should never set this value.
|
||||
BuildEvent_BuildComponentStreamFinished_FINISH_TYPE_UNSPECIFIED BuildEvent_BuildComponentStreamFinished_FinishType = 0
|
||||
// Set by the event publisher to indicate a build event stream is
|
||||
// finished.
|
||||
BuildEvent_BuildComponentStreamFinished_FINISHED BuildEvent_BuildComponentStreamFinished_FinishType = 1
|
||||
// Set by the WatchBuild RPC server when the publisher of a build event
|
||||
// stream stops publishing events without publishing a
|
||||
// BuildComponentStreamFinished event whose type equals FINISHED.
|
||||
BuildEvent_BuildComponentStreamFinished_EXPIRED BuildEvent_BuildComponentStreamFinished_FinishType = 2
|
||||
)
|
||||
|
||||
var BuildEvent_BuildComponentStreamFinished_FinishType_name = map[int32]string{
|
||||
0: "FINISH_TYPE_UNSPECIFIED",
|
||||
1: "FINISHED",
|
||||
2: "EXPIRED",
|
||||
}
|
||||
var BuildEvent_BuildComponentStreamFinished_FinishType_value = map[string]int32{
|
||||
"FINISH_TYPE_UNSPECIFIED": 0,
|
||||
"FINISHED": 1,
|
||||
"EXPIRED": 2,
|
||||
}
|
||||
|
||||
func (x BuildEvent_BuildComponentStreamFinished_FinishType) String() string {
|
||||
return proto.EnumName(BuildEvent_BuildComponentStreamFinished_FinishType_name, int32(x))
|
||||
}
|
||||
func (BuildEvent_BuildComponentStreamFinished_FinishType) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{0, 5, 0}
|
||||
}
|
||||
|
||||
// Which build component generates this event stream. Each build component
|
||||
// may generate one event stream.
|
||||
type StreamId_BuildComponent int32
|
||||
|
||||
const (
|
||||
// Unknown or unspecified; callers should never set this value.
|
||||
StreamId_UNKNOWN_COMPONENT StreamId_BuildComponent = 0
|
||||
// A component that coordinates builds.
|
||||
StreamId_CONTROLLER StreamId_BuildComponent = 1
|
||||
// A component that runs executables needed to complete a build.
|
||||
StreamId_WORKER StreamId_BuildComponent = 2
|
||||
// A component that builds something.
|
||||
StreamId_TOOL StreamId_BuildComponent = 3
|
||||
StreamId_DEPRECATED StreamId_BuildComponent = 4
|
||||
)
|
||||
|
||||
var StreamId_BuildComponent_name = map[int32]string{
|
||||
0: "UNKNOWN_COMPONENT",
|
||||
1: "CONTROLLER",
|
||||
2: "WORKER",
|
||||
3: "TOOL",
|
||||
4: "DEPRECATED",
|
||||
}
|
||||
var StreamId_BuildComponent_value = map[string]int32{
|
||||
"UNKNOWN_COMPONENT": 0,
|
||||
"CONTROLLER": 1,
|
||||
"WORKER": 2,
|
||||
"TOOL": 3,
|
||||
"DEPRECATED": 4,
|
||||
}
|
||||
|
||||
func (x StreamId_BuildComponent) String() string {
|
||||
return proto.EnumName(StreamId_BuildComponent_name, int32(x))
|
||||
}
|
||||
func (StreamId_BuildComponent) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
|
||||
|
||||
// An event representing some state change that occured in the build. This
|
||||
// message does not include field for uniquely identifying an event.
|
||||
type BuildEvent struct {
|
||||
// The timestamp of this event.
|
||||
EventTime *google_protobuf2.Timestamp `protobuf:"bytes,1,opt,name=event_time,json=eventTime" json:"event_time,omitempty"`
|
||||
// //////////////////////////////////////////////////////////////////////////
|
||||
// Events that indicate a state change of a build request in the build
|
||||
// queue.
|
||||
//
|
||||
// Types that are valid to be assigned to Event:
|
||||
// *BuildEvent_InvocationAttemptStarted_
|
||||
// *BuildEvent_InvocationAttemptFinished_
|
||||
// *BuildEvent_BuildEnqueued_
|
||||
// *BuildEvent_BuildFinished_
|
||||
// *BuildEvent_ConsoleOutput_
|
||||
// *BuildEvent_ComponentStreamFinished
|
||||
// *BuildEvent_BazelEvent
|
||||
// *BuildEvent_BuildExecutionEvent
|
||||
// *BuildEvent_SourceFetchEvent
|
||||
Event isBuildEvent_Event `protobuf_oneof:"event"`
|
||||
}
|
||||
|
||||
func (m *BuildEvent) Reset() { *m = BuildEvent{} }
|
||||
func (m *BuildEvent) String() string { return proto.CompactTextString(m) }
|
||||
func (*BuildEvent) ProtoMessage() {}
|
||||
func (*BuildEvent) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
|
||||
type isBuildEvent_Event interface {
|
||||
isBuildEvent_Event()
|
||||
}
|
||||
|
||||
type BuildEvent_InvocationAttemptStarted_ struct {
|
||||
InvocationAttemptStarted *BuildEvent_InvocationAttemptStarted `protobuf:"bytes,51,opt,name=invocation_attempt_started,json=invocationAttemptStarted,oneof"`
|
||||
}
|
||||
type BuildEvent_InvocationAttemptFinished_ struct {
|
||||
InvocationAttemptFinished *BuildEvent_InvocationAttemptFinished `protobuf:"bytes,52,opt,name=invocation_attempt_finished,json=invocationAttemptFinished,oneof"`
|
||||
}
|
||||
type BuildEvent_BuildEnqueued_ struct {
|
||||
BuildEnqueued *BuildEvent_BuildEnqueued `protobuf:"bytes,53,opt,name=build_enqueued,json=buildEnqueued,oneof"`
|
||||
}
|
||||
type BuildEvent_BuildFinished_ struct {
|
||||
BuildFinished *BuildEvent_BuildFinished `protobuf:"bytes,55,opt,name=build_finished,json=buildFinished,oneof"`
|
||||
}
|
||||
type BuildEvent_ConsoleOutput_ struct {
|
||||
ConsoleOutput *BuildEvent_ConsoleOutput `protobuf:"bytes,56,opt,name=console_output,json=consoleOutput,oneof"`
|
||||
}
|
||||
type BuildEvent_ComponentStreamFinished struct {
|
||||
ComponentStreamFinished *BuildEvent_BuildComponentStreamFinished `protobuf:"bytes,59,opt,name=component_stream_finished,json=componentStreamFinished,oneof"`
|
||||
}
|
||||
type BuildEvent_BazelEvent struct {
|
||||
BazelEvent *google_protobuf1.Any `protobuf:"bytes,60,opt,name=bazel_event,json=bazelEvent,oneof"`
|
||||
}
|
||||
type BuildEvent_BuildExecutionEvent struct {
|
||||
BuildExecutionEvent *google_protobuf1.Any `protobuf:"bytes,61,opt,name=build_execution_event,json=buildExecutionEvent,oneof"`
|
||||
}
|
||||
type BuildEvent_SourceFetchEvent struct {
|
||||
SourceFetchEvent *google_protobuf1.Any `protobuf:"bytes,62,opt,name=source_fetch_event,json=sourceFetchEvent,oneof"`
|
||||
}
|
||||
|
||||
func (*BuildEvent_InvocationAttemptStarted_) isBuildEvent_Event() {}
|
||||
func (*BuildEvent_InvocationAttemptFinished_) isBuildEvent_Event() {}
|
||||
func (*BuildEvent_BuildEnqueued_) isBuildEvent_Event() {}
|
||||
func (*BuildEvent_BuildFinished_) isBuildEvent_Event() {}
|
||||
func (*BuildEvent_ConsoleOutput_) isBuildEvent_Event() {}
|
||||
func (*BuildEvent_ComponentStreamFinished) isBuildEvent_Event() {}
|
||||
func (*BuildEvent_BazelEvent) isBuildEvent_Event() {}
|
||||
func (*BuildEvent_BuildExecutionEvent) isBuildEvent_Event() {}
|
||||
func (*BuildEvent_SourceFetchEvent) isBuildEvent_Event() {}
|
||||
|
||||
func (m *BuildEvent) GetEvent() isBuildEvent_Event {
|
||||
if m != nil {
|
||||
return m.Event
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *BuildEvent) GetEventTime() *google_protobuf2.Timestamp {
|
||||
if m != nil {
|
||||
return m.EventTime
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *BuildEvent) GetInvocationAttemptStarted() *BuildEvent_InvocationAttemptStarted {
|
||||
if x, ok := m.GetEvent().(*BuildEvent_InvocationAttemptStarted_); ok {
|
||||
return x.InvocationAttemptStarted
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *BuildEvent) GetInvocationAttemptFinished() *BuildEvent_InvocationAttemptFinished {
|
||||
if x, ok := m.GetEvent().(*BuildEvent_InvocationAttemptFinished_); ok {
|
||||
return x.InvocationAttemptFinished
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *BuildEvent) GetBuildEnqueued() *BuildEvent_BuildEnqueued {
|
||||
if x, ok := m.GetEvent().(*BuildEvent_BuildEnqueued_); ok {
|
||||
return x.BuildEnqueued
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *BuildEvent) GetBuildFinished() *BuildEvent_BuildFinished {
|
||||
if x, ok := m.GetEvent().(*BuildEvent_BuildFinished_); ok {
|
||||
return x.BuildFinished
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *BuildEvent) GetConsoleOutput() *BuildEvent_ConsoleOutput {
|
||||
if x, ok := m.GetEvent().(*BuildEvent_ConsoleOutput_); ok {
|
||||
return x.ConsoleOutput
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *BuildEvent) GetComponentStreamFinished() *BuildEvent_BuildComponentStreamFinished {
|
||||
if x, ok := m.GetEvent().(*BuildEvent_ComponentStreamFinished); ok {
|
||||
return x.ComponentStreamFinished
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *BuildEvent) GetBazelEvent() *google_protobuf1.Any {
|
||||
if x, ok := m.GetEvent().(*BuildEvent_BazelEvent); ok {
|
||||
return x.BazelEvent
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *BuildEvent) GetBuildExecutionEvent() *google_protobuf1.Any {
|
||||
if x, ok := m.GetEvent().(*BuildEvent_BuildExecutionEvent); ok {
|
||||
return x.BuildExecutionEvent
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *BuildEvent) GetSourceFetchEvent() *google_protobuf1.Any {
|
||||
if x, ok := m.GetEvent().(*BuildEvent_SourceFetchEvent); ok {
|
||||
return x.SourceFetchEvent
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*BuildEvent) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _BuildEvent_OneofMarshaler, _BuildEvent_OneofUnmarshaler, _BuildEvent_OneofSizer, []interface{}{
|
||||
(*BuildEvent_InvocationAttemptStarted_)(nil),
|
||||
(*BuildEvent_InvocationAttemptFinished_)(nil),
|
||||
(*BuildEvent_BuildEnqueued_)(nil),
|
||||
(*BuildEvent_BuildFinished_)(nil),
|
||||
(*BuildEvent_ConsoleOutput_)(nil),
|
||||
(*BuildEvent_ComponentStreamFinished)(nil),
|
||||
(*BuildEvent_BazelEvent)(nil),
|
||||
(*BuildEvent_BuildExecutionEvent)(nil),
|
||||
(*BuildEvent_SourceFetchEvent)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _BuildEvent_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*BuildEvent)
|
||||
// event
|
||||
switch x := m.Event.(type) {
|
||||
case *BuildEvent_InvocationAttemptStarted_:
|
||||
b.EncodeVarint(51<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.InvocationAttemptStarted); err != nil {
|
||||
return err
|
||||
}
|
||||
case *BuildEvent_InvocationAttemptFinished_:
|
||||
b.EncodeVarint(52<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.InvocationAttemptFinished); err != nil {
|
||||
return err
|
||||
}
|
||||
case *BuildEvent_BuildEnqueued_:
|
||||
b.EncodeVarint(53<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.BuildEnqueued); err != nil {
|
||||
return err
|
||||
}
|
||||
case *BuildEvent_BuildFinished_:
|
||||
b.EncodeVarint(55<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.BuildFinished); err != nil {
|
||||
return err
|
||||
}
|
||||
case *BuildEvent_ConsoleOutput_:
|
||||
b.EncodeVarint(56<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.ConsoleOutput); err != nil {
|
||||
return err
|
||||
}
|
||||
case *BuildEvent_ComponentStreamFinished:
|
||||
b.EncodeVarint(59<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.ComponentStreamFinished); err != nil {
|
||||
return err
|
||||
}
|
||||
case *BuildEvent_BazelEvent:
|
||||
b.EncodeVarint(60<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.BazelEvent); err != nil {
|
||||
return err
|
||||
}
|
||||
case *BuildEvent_BuildExecutionEvent:
|
||||
b.EncodeVarint(61<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.BuildExecutionEvent); err != nil {
|
||||
return err
|
||||
}
|
||||
case *BuildEvent_SourceFetchEvent:
|
||||
b.EncodeVarint(62<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.SourceFetchEvent); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("BuildEvent.Event has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _BuildEvent_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*BuildEvent)
|
||||
switch tag {
|
||||
case 51: // event.invocation_attempt_started
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(BuildEvent_InvocationAttemptStarted)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Event = &BuildEvent_InvocationAttemptStarted_{msg}
|
||||
return true, err
|
||||
case 52: // event.invocation_attempt_finished
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(BuildEvent_InvocationAttemptFinished)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Event = &BuildEvent_InvocationAttemptFinished_{msg}
|
||||
return true, err
|
||||
case 53: // event.build_enqueued
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(BuildEvent_BuildEnqueued)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Event = &BuildEvent_BuildEnqueued_{msg}
|
||||
return true, err
|
||||
case 55: // event.build_finished
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(BuildEvent_BuildFinished)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Event = &BuildEvent_BuildFinished_{msg}
|
||||
return true, err
|
||||
case 56: // event.console_output
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(BuildEvent_ConsoleOutput)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Event = &BuildEvent_ConsoleOutput_{msg}
|
||||
return true, err
|
||||
case 59: // event.component_stream_finished
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(BuildEvent_BuildComponentStreamFinished)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Event = &BuildEvent_ComponentStreamFinished{msg}
|
||||
return true, err
|
||||
case 60: // event.bazel_event
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(google_protobuf1.Any)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Event = &BuildEvent_BazelEvent{msg}
|
||||
return true, err
|
||||
case 61: // event.build_execution_event
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(google_protobuf1.Any)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Event = &BuildEvent_BuildExecutionEvent{msg}
|
||||
return true, err
|
||||
case 62: // event.source_fetch_event
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(google_protobuf1.Any)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Event = &BuildEvent_SourceFetchEvent{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _BuildEvent_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*BuildEvent)
|
||||
// event
|
||||
switch x := m.Event.(type) {
|
||||
case *BuildEvent_InvocationAttemptStarted_:
|
||||
s := proto.Size(x.InvocationAttemptStarted)
|
||||
n += proto.SizeVarint(51<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *BuildEvent_InvocationAttemptFinished_:
|
||||
s := proto.Size(x.InvocationAttemptFinished)
|
||||
n += proto.SizeVarint(52<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *BuildEvent_BuildEnqueued_:
|
||||
s := proto.Size(x.BuildEnqueued)
|
||||
n += proto.SizeVarint(53<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *BuildEvent_BuildFinished_:
|
||||
s := proto.Size(x.BuildFinished)
|
||||
n += proto.SizeVarint(55<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *BuildEvent_ConsoleOutput_:
|
||||
s := proto.Size(x.ConsoleOutput)
|
||||
n += proto.SizeVarint(56<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *BuildEvent_ComponentStreamFinished:
|
||||
s := proto.Size(x.ComponentStreamFinished)
|
||||
n += proto.SizeVarint(59<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *BuildEvent_BazelEvent:
|
||||
s := proto.Size(x.BazelEvent)
|
||||
n += proto.SizeVarint(60<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *BuildEvent_BuildExecutionEvent:
|
||||
s := proto.Size(x.BuildExecutionEvent)
|
||||
n += proto.SizeVarint(61<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *BuildEvent_SourceFetchEvent:
|
||||
s := proto.Size(x.SourceFetchEvent)
|
||||
n += proto.SizeVarint(62<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// Notification that the build system has attempted to run the build tool.
|
||||
type BuildEvent_InvocationAttemptStarted struct {
|
||||
// The number of the invocation attempt, starting at 1 and increasing by 1
|
||||
// for each new attempt. Can be used to determine if there is a later
|
||||
// invocation attempt replacing the current one a client is processing.
|
||||
AttemptNumber int64 `protobuf:"varint,1,opt,name=attempt_number,json=attemptNumber" json:"attempt_number,omitempty"`
|
||||
}
|
||||
|
||||
func (m *BuildEvent_InvocationAttemptStarted) Reset() { *m = BuildEvent_InvocationAttemptStarted{} }
|
||||
func (m *BuildEvent_InvocationAttemptStarted) String() string { return proto.CompactTextString(m) }
|
||||
func (*BuildEvent_InvocationAttemptStarted) ProtoMessage() {}
|
||||
func (*BuildEvent_InvocationAttemptStarted) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{0, 0}
|
||||
}
|
||||
|
||||
func (m *BuildEvent_InvocationAttemptStarted) GetAttemptNumber() int64 {
|
||||
if m != nil {
|
||||
return m.AttemptNumber
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// Notification that an invocation attempt has finished.
|
||||
type BuildEvent_InvocationAttemptFinished struct {
|
||||
// The status of the build request.
|
||||
// If OK, the build request was run, though this does not mean the
|
||||
// requested build tool succeeded. "exit_code" will be set to the
|
||||
// exit code of the build tool.
|
||||
// If not OK, the build request was not successfully executed.
|
||||
// "exit_code" will not be set.
|
||||
Status *google_rpc.Status `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
|
||||
// The exit code of the build tool.
|
||||
ExitCode *google_protobuf3.Int32Value `protobuf:"bytes,2,opt,name=exit_code,json=exitCode" json:"exit_code,omitempty"`
|
||||
// Final status of the invocation.
|
||||
InvocationStatus *BuildStatus `protobuf:"bytes,3,opt,name=invocation_status,json=invocationStatus" json:"invocation_status,omitempty"`
|
||||
}
|
||||
|
||||
func (m *BuildEvent_InvocationAttemptFinished) Reset() { *m = BuildEvent_InvocationAttemptFinished{} }
|
||||
func (m *BuildEvent_InvocationAttemptFinished) String() string { return proto.CompactTextString(m) }
|
||||
func (*BuildEvent_InvocationAttemptFinished) ProtoMessage() {}
|
||||
func (*BuildEvent_InvocationAttemptFinished) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{0, 1}
|
||||
}
|
||||
|
||||
func (m *BuildEvent_InvocationAttemptFinished) GetStatus() *google_rpc.Status {
|
||||
if m != nil {
|
||||
return m.Status
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *BuildEvent_InvocationAttemptFinished) GetExitCode() *google_protobuf3.Int32Value {
|
||||
if m != nil {
|
||||
return m.ExitCode
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *BuildEvent_InvocationAttemptFinished) GetInvocationStatus() *BuildStatus {
|
||||
if m != nil {
|
||||
return m.InvocationStatus
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Notification that the build request is enqueued. It could happen when
|
||||
// a new build request is inserted into the build queue, or when a
|
||||
// build request is put back into the build queue due to a previous build
|
||||
// failure.
|
||||
type BuildEvent_BuildEnqueued struct {
|
||||
}
|
||||
|
||||
func (m *BuildEvent_BuildEnqueued) Reset() { *m = BuildEvent_BuildEnqueued{} }
|
||||
func (m *BuildEvent_BuildEnqueued) String() string { return proto.CompactTextString(m) }
|
||||
func (*BuildEvent_BuildEnqueued) ProtoMessage() {}
|
||||
func (*BuildEvent_BuildEnqueued) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 2} }
|
||||
|
||||
// Notification that the build request has finished, and no further
|
||||
// invocations will occur. Note that this applies to the entire Build.
|
||||
// Individual invocations trigger InvocationFinished when they finish.
|
||||
type BuildEvent_BuildFinished struct {
|
||||
// Final status of the build.
|
||||
Status *BuildStatus `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
|
||||
}
|
||||
|
||||
func (m *BuildEvent_BuildFinished) Reset() { *m = BuildEvent_BuildFinished{} }
|
||||
func (m *BuildEvent_BuildFinished) String() string { return proto.CompactTextString(m) }
|
||||
func (*BuildEvent_BuildFinished) ProtoMessage() {}
|
||||
func (*BuildEvent_BuildFinished) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 3} }
|
||||
|
||||
func (m *BuildEvent_BuildFinished) GetStatus() *BuildStatus {
|
||||
if m != nil {
|
||||
return m.Status
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Textual output written to standard output or standard error.
|
||||
type BuildEvent_ConsoleOutput struct {
|
||||
// The output stream type.
|
||||
Type ConsoleOutputStream `protobuf:"varint,1,opt,name=type,enum=google.devtools.build.v1.ConsoleOutputStream" json:"type,omitempty"`
|
||||
// The output stream content.
|
||||
//
|
||||
// Types that are valid to be assigned to Output:
|
||||
// *BuildEvent_ConsoleOutput_TextOutput
|
||||
// *BuildEvent_ConsoleOutput_BinaryOutput
|
||||
Output isBuildEvent_ConsoleOutput_Output `protobuf_oneof:"output"`
|
||||
}
|
||||
|
||||
func (m *BuildEvent_ConsoleOutput) Reset() { *m = BuildEvent_ConsoleOutput{} }
|
||||
func (m *BuildEvent_ConsoleOutput) String() string { return proto.CompactTextString(m) }
|
||||
func (*BuildEvent_ConsoleOutput) ProtoMessage() {}
|
||||
func (*BuildEvent_ConsoleOutput) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0, 4} }
|
||||
|
||||
type isBuildEvent_ConsoleOutput_Output interface {
|
||||
isBuildEvent_ConsoleOutput_Output()
|
||||
}
|
||||
|
||||
type BuildEvent_ConsoleOutput_TextOutput struct {
|
||||
TextOutput string `protobuf:"bytes,2,opt,name=text_output,json=textOutput,oneof"`
|
||||
}
|
||||
type BuildEvent_ConsoleOutput_BinaryOutput struct {
|
||||
BinaryOutput []byte `protobuf:"bytes,3,opt,name=binary_output,json=binaryOutput,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*BuildEvent_ConsoleOutput_TextOutput) isBuildEvent_ConsoleOutput_Output() {}
|
||||
func (*BuildEvent_ConsoleOutput_BinaryOutput) isBuildEvent_ConsoleOutput_Output() {}
|
||||
|
||||
func (m *BuildEvent_ConsoleOutput) GetOutput() isBuildEvent_ConsoleOutput_Output {
|
||||
if m != nil {
|
||||
return m.Output
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *BuildEvent_ConsoleOutput) GetType() ConsoleOutputStream {
|
||||
if m != nil {
|
||||
return m.Type
|
||||
}
|
||||
return ConsoleOutputStream_UNKNOWN
|
||||
}
|
||||
|
||||
func (m *BuildEvent_ConsoleOutput) GetTextOutput() string {
|
||||
if x, ok := m.GetOutput().(*BuildEvent_ConsoleOutput_TextOutput); ok {
|
||||
return x.TextOutput
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *BuildEvent_ConsoleOutput) GetBinaryOutput() []byte {
|
||||
if x, ok := m.GetOutput().(*BuildEvent_ConsoleOutput_BinaryOutput); ok {
|
||||
return x.BinaryOutput
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*BuildEvent_ConsoleOutput) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _BuildEvent_ConsoleOutput_OneofMarshaler, _BuildEvent_ConsoleOutput_OneofUnmarshaler, _BuildEvent_ConsoleOutput_OneofSizer, []interface{}{
|
||||
(*BuildEvent_ConsoleOutput_TextOutput)(nil),
|
||||
(*BuildEvent_ConsoleOutput_BinaryOutput)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _BuildEvent_ConsoleOutput_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*BuildEvent_ConsoleOutput)
|
||||
// output
|
||||
switch x := m.Output.(type) {
|
||||
case *BuildEvent_ConsoleOutput_TextOutput:
|
||||
b.EncodeVarint(2<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.TextOutput)
|
||||
case *BuildEvent_ConsoleOutput_BinaryOutput:
|
||||
b.EncodeVarint(3<<3 | proto.WireBytes)
|
||||
b.EncodeRawBytes(x.BinaryOutput)
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("BuildEvent_ConsoleOutput.Output has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _BuildEvent_ConsoleOutput_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*BuildEvent_ConsoleOutput)
|
||||
switch tag {
|
||||
case 2: // output.text_output
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Output = &BuildEvent_ConsoleOutput_TextOutput{x}
|
||||
return true, err
|
||||
case 3: // output.binary_output
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeRawBytes(true)
|
||||
m.Output = &BuildEvent_ConsoleOutput_BinaryOutput{x}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _BuildEvent_ConsoleOutput_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*BuildEvent_ConsoleOutput)
|
||||
// output
|
||||
switch x := m.Output.(type) {
|
||||
case *BuildEvent_ConsoleOutput_TextOutput:
|
||||
n += proto.SizeVarint(2<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(len(x.TextOutput)))
|
||||
n += len(x.TextOutput)
|
||||
case *BuildEvent_ConsoleOutput_BinaryOutput:
|
||||
n += proto.SizeVarint(3<<3 | proto.WireBytes)
|
||||
n += proto.SizeVarint(uint64(len(x.BinaryOutput)))
|
||||
n += len(x.BinaryOutput)
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// Notification of the end of a build event stream published by a build
|
||||
// component other than CONTROLLER (See StreamId.BuildComponents).
|
||||
type BuildEvent_BuildComponentStreamFinished struct {
|
||||
// How the event stream finished.
|
||||
Type BuildEvent_BuildComponentStreamFinished_FinishType `protobuf:"varint,1,opt,name=type,enum=google.devtools.build.v1.BuildEvent_BuildComponentStreamFinished_FinishType" json:"type,omitempty"`
|
||||
}
|
||||
|
||||
func (m *BuildEvent_BuildComponentStreamFinished) Reset() {
|
||||
*m = BuildEvent_BuildComponentStreamFinished{}
|
||||
}
|
||||
func (m *BuildEvent_BuildComponentStreamFinished) String() string { return proto.CompactTextString(m) }
|
||||
func (*BuildEvent_BuildComponentStreamFinished) ProtoMessage() {}
|
||||
func (*BuildEvent_BuildComponentStreamFinished) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor0, []int{0, 5}
|
||||
}
|
||||
|
||||
func (m *BuildEvent_BuildComponentStreamFinished) GetType() BuildEvent_BuildComponentStreamFinished_FinishType {
|
||||
if m != nil {
|
||||
return m.Type
|
||||
}
|
||||
return BuildEvent_BuildComponentStreamFinished_FINISH_TYPE_UNSPECIFIED
|
||||
}
|
||||
|
||||
// Unique identifier for a build event stream.
|
||||
type StreamId struct {
|
||||
ProjectNumber int64 `protobuf:"varint,5,opt,name=project_number,json=projectNumber" json:"project_number,omitempty"`
|
||||
// The id of a Build message.
|
||||
BuildId string `protobuf:"bytes,1,opt,name=build_id,json=buildId" json:"build_id,omitempty"`
|
||||
// The unique invocation ID within this build.
|
||||
// It should be the same as {invocation} (below) during the migration.
|
||||
InvocationId string `protobuf:"bytes,6,opt,name=invocation_id,json=invocationId" json:"invocation_id,omitempty"`
|
||||
// The component that emitted this event.
|
||||
Component StreamId_BuildComponent `protobuf:"varint,3,opt,name=component,enum=google.devtools.build.v1.StreamId_BuildComponent" json:"component,omitempty"`
|
||||
// The unique invocation ID within this build.
|
||||
// It should be the same as {invocation_id} below during the migration.
|
||||
Invocation string `protobuf:"bytes,4,opt,name=invocation" json:"invocation,omitempty"`
|
||||
}
|
||||
|
||||
func (m *StreamId) Reset() { *m = StreamId{} }
|
||||
func (m *StreamId) String() string { return proto.CompactTextString(m) }
|
||||
func (*StreamId) ProtoMessage() {}
|
||||
func (*StreamId) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
|
||||
func (m *StreamId) GetProjectNumber() int64 {
|
||||
if m != nil {
|
||||
return m.ProjectNumber
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *StreamId) GetBuildId() string {
|
||||
if m != nil {
|
||||
return m.BuildId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *StreamId) GetInvocationId() string {
|
||||
if m != nil {
|
||||
return m.InvocationId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *StreamId) GetComponent() StreamId_BuildComponent {
|
||||
if m != nil {
|
||||
return m.Component
|
||||
}
|
||||
return StreamId_UNKNOWN_COMPONENT
|
||||
}
|
||||
|
||||
func (m *StreamId) GetInvocation() string {
|
||||
if m != nil {
|
||||
return m.Invocation
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*BuildEvent)(nil), "google.devtools.build.v1.BuildEvent")
|
||||
proto.RegisterType((*BuildEvent_InvocationAttemptStarted)(nil), "google.devtools.build.v1.BuildEvent.InvocationAttemptStarted")
|
||||
proto.RegisterType((*BuildEvent_InvocationAttemptFinished)(nil), "google.devtools.build.v1.BuildEvent.InvocationAttemptFinished")
|
||||
proto.RegisterType((*BuildEvent_BuildEnqueued)(nil), "google.devtools.build.v1.BuildEvent.BuildEnqueued")
|
||||
proto.RegisterType((*BuildEvent_BuildFinished)(nil), "google.devtools.build.v1.BuildEvent.BuildFinished")
|
||||
proto.RegisterType((*BuildEvent_ConsoleOutput)(nil), "google.devtools.build.v1.BuildEvent.ConsoleOutput")
|
||||
proto.RegisterType((*BuildEvent_BuildComponentStreamFinished)(nil), "google.devtools.build.v1.BuildEvent.BuildComponentStreamFinished")
|
||||
proto.RegisterType((*StreamId)(nil), "google.devtools.build.v1.StreamId")
|
||||
proto.RegisterEnum("google.devtools.build.v1.ConsoleOutputStream", ConsoleOutputStream_name, ConsoleOutputStream_value)
|
||||
proto.RegisterEnum("google.devtools.build.v1.BuildEvent_BuildComponentStreamFinished_FinishType", BuildEvent_BuildComponentStreamFinished_FinishType_name, BuildEvent_BuildComponentStreamFinished_FinishType_value)
|
||||
proto.RegisterEnum("google.devtools.build.v1.StreamId_BuildComponent", StreamId_BuildComponent_name, StreamId_BuildComponent_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/devtools/build/v1/build_events.proto", fileDescriptor0) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 979 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x6d, 0x6f, 0xdb, 0x54,
|
||||
0x14, 0x8e, 0xbb, 0xae, 0x4d, 0x4f, 0x9b, 0xcc, 0xbb, 0x63, 0xaa, 0xeb, 0x56, 0x03, 0x8a, 0x2a,
|
||||
0xa1, 0x21, 0x1c, 0xb5, 0x05, 0x6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0x01, 0xe0, 0x83, 0x77, 0x73, 0x01, 0x4d, 0x79, 0x47, 0x79, 0x7f, 0xfd, 0x40,
|
||||
0x37, 0xe4, 0xf4, 0x05, 0xb9, 0xe1, 0x16, 0xea, 0x78, 0x8d, 0xa3, 0xf3, 0x77, 0xf4, 0x0b, 0xe8,
|
||||
0x61, 0x34, 0xa2, 0x3e, 0x5f, 0x40, 0xd7, 0x63, 0x8c, 0x0c, 0x63, 0x96, 0x4f, 0x98, 0x30, 0x12,
|
||||
0x68, 0x87, 0x9c, 0xea, 0xc8, 0x58, 0xb4, 0x48, 0x63, 0xda, 0x84, 0x61, 0x4d, 0x68, 0xea, 0x82,
|
||||
0xa5, 0x23, 0x48, 0x5a, 0x25, 0xac, 0x85, 0x0b, 0x72, 0xe8, 0x37, 0x05, 0xb6, 0xaf, 0xd1, 0x3f,
|
||||
0x0f, 0xa3, 0x30, 0x7d, 0x45, 0x02, 0xed, 0x23, 0xde, 0xc0, 0xf3, 0xff, 0xd6, 0xc0, 0x89, 0x64,
|
||||
0x69, 0x95, 0xf0, 0x56, 0xb8, 0x28, 0x89, 0xbe, 0x85, 0xaa, 0xf4, 0x4e, 0xf4, 0x63, 0x46, 0x32,
|
||||
0x12, 0x68, 0x1f, 0x73, 0xd1, 0x83, 0x5b, 0x89, 0x8a, 0x47, 0x59, 0xd9, 0x2a, 0xe1, 0x4a, 0x6f,
|
||||
0x36, 0x30, 0x25, 0x9f, 0x4c, 0xf4, 0xe4, 0x4d, 0xc9, 0x67, 0xa6, 0x10, 0xe4, 0xb3, 0x9d, 0xfb,
|
||||
0x34, 0x4a, 0xe9, 0x80, 0x74, 0x69, 0xc6, 0xe2, 0x8c, 0x69, 0x4f, 0xdf, 0x80, 0xbc, 0x21, 0x4a,
|
||||
0x1d, 0x5e, 0x99, 0x93, 0xfb, 0xb3, 0x01, 0xf4, 0x2b, 0x6c, 0xf9, 0x74, 0x18, 0xd3, 0x28, 0xf7,
|
||||
0x55, 0xca, 0x12, 0xe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, 0xb8, 0x4d, 0x13, 0x63, 0x75,
|
||||
0xe9, 0x38, 0x85, 0x1d, 0x9f, 0x0e, 0x17, 0x4e, 0x7f, 0x7c, 0x6f, 0x6a, 0x94, 0x76, 0x7e, 0xf8,
|
||||
0x6d, 0xe5, 0x9b, 0x23, 0x09, 0xee, 0xd3, 0x81, 0x17, 0xf5, 0x0d, 0x9a, 0xf4, 0x6b, 0x7d, 0x12,
|
||||
0xf1, 0xcf, 0x42, 0x4d, 0xa4, 0xbc, 0x38, 0x4c, 0xaf, 0xfe, 0x33, 0x7a, 0xc6, 0x1f, 0xfe, 0x51,
|
||||
0x94, 0xde, 0x0a, 0x07, 0x1f, 0xfe, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x78, 0xf8, 0x09, 0x8d, 0xaa,
|
||||
0x09, 0x00, 0x00,
|
||||
}
|
||||
121
vendor/google.golang.org/genproto/googleapis/devtools/build/v1/build_status.pb.go
generated
vendored
Normal file
121
vendor/google.golang.org/genproto/googleapis/devtools/build/v1/build_status.pb.go
generated
vendored
Normal file
@@ -0,0 +1,121 @@
|
||||
// Code generated by protoc-gen-go.
|
||||
// source: google/devtools/build/v1/build_status.proto
|
||||
// DO NOT EDIT!
|
||||
|
||||
package build
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import _ "github.com/golang/protobuf/ptypes/any"
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// The end result of the Build.
|
||||
type BuildStatus_Result int32
|
||||
|
||||
const (
|
||||
// Unspecified or unknown.
|
||||
BuildStatus_UNKNOWN_STATUS BuildStatus_Result = 0
|
||||
// Build was successful and tests (if requested) all pass.
|
||||
BuildStatus_COMMAND_SUCCEEDED BuildStatus_Result = 1
|
||||
// Build error and/or test failure.
|
||||
BuildStatus_COMMAND_FAILED BuildStatus_Result = 2
|
||||
// Unable to obtain a result due to input provided by the user.
|
||||
BuildStatus_USER_ERROR BuildStatus_Result = 3
|
||||
// Unable to obtain a result due to a failure within the build system.
|
||||
BuildStatus_SYSTEM_ERROR BuildStatus_Result = 4
|
||||
// Build required too many resources, such as build tool RAM.
|
||||
BuildStatus_RESOURCE_EXHAUSTED BuildStatus_Result = 5
|
||||
// An invocation attempt time exceeded its deadline.
|
||||
BuildStatus_INVOCATION_DEADLINE_EXCEEDED BuildStatus_Result = 6
|
||||
// Build request time exceeded the request_deadline
|
||||
BuildStatus_REQUEST_DEADLINE_EXCEEDED BuildStatus_Result = 8
|
||||
// The build was cancelled by a call to CancelBuild.
|
||||
BuildStatus_CANCELLED BuildStatus_Result = 7
|
||||
)
|
||||
|
||||
var BuildStatus_Result_name = map[int32]string{
|
||||
0: "UNKNOWN_STATUS",
|
||||
1: "COMMAND_SUCCEEDED",
|
||||
2: "COMMAND_FAILED",
|
||||
3: "USER_ERROR",
|
||||
4: "SYSTEM_ERROR",
|
||||
5: "RESOURCE_EXHAUSTED",
|
||||
6: "INVOCATION_DEADLINE_EXCEEDED",
|
||||
8: "REQUEST_DEADLINE_EXCEEDED",
|
||||
7: "CANCELLED",
|
||||
}
|
||||
var BuildStatus_Result_value = map[string]int32{
|
||||
"UNKNOWN_STATUS": 0,
|
||||
"COMMAND_SUCCEEDED": 1,
|
||||
"COMMAND_FAILED": 2,
|
||||
"USER_ERROR": 3,
|
||||
"SYSTEM_ERROR": 4,
|
||||
"RESOURCE_EXHAUSTED": 5,
|
||||
"INVOCATION_DEADLINE_EXCEEDED": 6,
|
||||
"REQUEST_DEADLINE_EXCEEDED": 8,
|
||||
"CANCELLED": 7,
|
||||
}
|
||||
|
||||
func (x BuildStatus_Result) String() string {
|
||||
return proto.EnumName(BuildStatus_Result_name, int32(x))
|
||||
}
|
||||
func (BuildStatus_Result) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{0, 0} }
|
||||
|
||||
// Status used for both invocation attempt and overall build completion.
|
||||
type BuildStatus struct {
|
||||
// The end result.
|
||||
Result BuildStatus_Result `protobuf:"varint,1,opt,name=result,enum=google.devtools.build.v1.BuildStatus_Result" json:"result,omitempty"`
|
||||
}
|
||||
|
||||
func (m *BuildStatus) Reset() { *m = BuildStatus{} }
|
||||
func (m *BuildStatus) String() string { return proto.CompactTextString(m) }
|
||||
func (*BuildStatus) ProtoMessage() {}
|
||||
func (*BuildStatus) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
|
||||
|
||||
func (m *BuildStatus) GetResult() BuildStatus_Result {
|
||||
if m != nil {
|
||||
return m.Result
|
||||
}
|
||||
return BuildStatus_UNKNOWN_STATUS
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*BuildStatus)(nil), "google.devtools.build.v1.BuildStatus")
|
||||
proto.RegisterEnum("google.devtools.build.v1.BuildStatus_Result", BuildStatus_Result_name, BuildStatus_Result_value)
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/devtools/build/v1/build_status.proto", fileDescriptor1) }
|
||||
|
||||
var fileDescriptor1 = []byte{
|
||||
// 370 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0x5f, 0x4b, 0xe3, 0x40,
|
||||
0x14, 0xc5, 0x37, 0xdd, 0xdd, 0xec, 0xee, 0xec, 0x6e, 0xc9, 0x0e, 0xac, 0xb4, 0xa5, 0x42, 0xe9,
|
||||
0x93, 0xa0, 0x4c, 0xa8, 0x3e, 0x8a, 0x0f, 0x69, 0xe6, 0x8a, 0xc1, 0x76, 0x52, 0x67, 0x12, 0xff,
|
||||
0xbd, 0x84, 0xd4, 0xc6, 0x10, 0x88, 0x99, 0xd2, 0x4c, 0x0a, 0x7e, 0x22, 0x3f, 0x8f, 0xdf, 0xc6,
|
||||
0x47, 0xc9, 0x9f, 0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3b, 0xe1, 0xc1, 0xb4, 0xd9, 0x7c, 0xc3, 0x7b, 0x08, 0x73, 0x10, 0xae, 0xcf, 0x6d, 0x08,
|
||||
0xe0, 0xf6, 0xc2, 0xf2, 0x85, 0x07, 0xd4, 0xf8, 0x8e, 0x07, 0xa8, 0xef, 0xb0, 0x6b, 0xd7, 0xb6,
|
||||
0x3c, 0xc7, 0x65, 0x01, 0x05, 0x8b, 0x4e, 0x1c, 0x56, 0x22, 0x4d, 0x9e, 0x8e, 0xf7, 0x51, 0x97,
|
||||
0xc3, 0x95, 0x0f, 0xc2, 0xfb, 0x44, 0xfe, 0x89, 0xff, 0xa2, 0x5f, 0xb6, 0xc5, 0x6c, 0x98, 0x94,
|
||||
0x7f, 0xf2, 0x63, 0xac, 0x50, 0xff, 0x41, 0x3e, 0xed, 0xac, 0x63, 0x6c, 0x6c, 0xf5, 0x31, 0x2b,
|
||||
0xbb, 0x9d, 0x69, 0xf7, 0x67, 0x0d, 0x1d, 0xcb, 0x34, 0xcc, 0x62, 0x22, 0x57, 0xb1, 0x19, 0x47,
|
||||
0x59, 0xd5, 0xbc, 0x59, 0x4b, 0xe1, 0x32, 0xc9, 0x3f, 0x3e, 0xfe, 0x69, 0x35, 0xbc, 0x69, 0xda,
|
||||
0x5c, 0xaf, 0xe0, 0x93, 0xf7, 0x00, 0x00, 0x00, 0xff, 0xff, 0xde, 0x3c, 0xd5, 0xd5, 0x28, 0x02,
|
||||
0x00, 0x00,
|
||||
}
|
||||
403
vendor/google.golang.org/genproto/googleapis/devtools/build/v1/publish_build_event.pb.go
generated
vendored
Normal file
403
vendor/google.golang.org/genproto/googleapis/devtools/build/v1/publish_build_event.pb.go
generated
vendored
Normal file
@@ -0,0 +1,403 @@
|
||||
// Code generated by protoc-gen-go.
|
||||
// source: google/devtools/build/v1/publish_build_event.proto
|
||||
// DO NOT EDIT!
|
||||
|
||||
package build
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import _ "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
import _ "github.com/golang/protobuf/ptypes/any"
|
||||
import google_protobuf4 "github.com/golang/protobuf/ptypes/duration"
|
||||
import google_protobuf5 "github.com/golang/protobuf/ptypes/empty"
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
grpc "google.golang.org/grpc"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// The service level of the build request. Backends only uses this value when
|
||||
// the BuildEnqueued event is published to determine what level of service
|
||||
// this build should receive.
|
||||
type PublishLifecycleEventRequest_ServiceLevel int32
|
||||
|
||||
const (
|
||||
// Non-interactive builds can tolerate longer event latencies. This is the
|
||||
// default ServiceLevel if callers do not specify one.
|
||||
PublishLifecycleEventRequest_NONINTERACTIVE PublishLifecycleEventRequest_ServiceLevel = 0
|
||||
// The events of an interactive build should be delivered with low latency.
|
||||
PublishLifecycleEventRequest_INTERACTIVE PublishLifecycleEventRequest_ServiceLevel = 1
|
||||
)
|
||||
|
||||
var PublishLifecycleEventRequest_ServiceLevel_name = map[int32]string{
|
||||
0: "NONINTERACTIVE",
|
||||
1: "INTERACTIVE",
|
||||
}
|
||||
var PublishLifecycleEventRequest_ServiceLevel_value = map[string]int32{
|
||||
"NONINTERACTIVE": 0,
|
||||
"INTERACTIVE": 1,
|
||||
}
|
||||
|
||||
func (x PublishLifecycleEventRequest_ServiceLevel) String() string {
|
||||
return proto.EnumName(PublishLifecycleEventRequest_ServiceLevel_name, int32(x))
|
||||
}
|
||||
func (PublishLifecycleEventRequest_ServiceLevel) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor2, []int{0, 0}
|
||||
}
|
||||
|
||||
// Publishes 'lifecycle events' that update the high-level state of a build:
|
||||
// - BuildEnqueued: When a build is scheduled.
|
||||
// - InvocationAttemptStarted: When work for a build starts; there can be
|
||||
// multiple invocations for a build (e.g. retries).
|
||||
// - InvocationAttemptCompleted: When work for a build finishes.
|
||||
// - BuildFinished: When a build is finished.
|
||||
type PublishLifecycleEventRequest struct {
|
||||
// The interactivity of this build.
|
||||
ServiceLevel PublishLifecycleEventRequest_ServiceLevel `protobuf:"varint,1,opt,name=service_level,json=serviceLevel,enum=google.devtools.build.v1.PublishLifecycleEventRequest_ServiceLevel" json:"service_level,omitempty"`
|
||||
// The lifecycle build event. If this is a build tool event, the RPC will fail
|
||||
// with INVALID_REQUEST.
|
||||
BuildEvent *OrderedBuildEvent `protobuf:"bytes,2,opt,name=build_event,json=buildEvent" json:"build_event,omitempty"`
|
||||
// If the next event for this build or invocation (depending on the event
|
||||
// type) hasn't been published after this duration from when {build_event}
|
||||
// is written to BES, consider this stream expired. If this field is not set,
|
||||
// BES backend will use its own default value.
|
||||
StreamTimeout *google_protobuf4.Duration `protobuf:"bytes,3,opt,name=stream_timeout,json=streamTimeout" json:"stream_timeout,omitempty"`
|
||||
// Additional information about a build request. These are define by the event
|
||||
// publishers, and the Build Event Service does not validate or interpret
|
||||
// them. They are used while notifying internal systems of new builds and
|
||||
// invocations if the OrderedBuildEvent.event type is
|
||||
// BuildEnqueued/InvocationAttemptStarted.
|
||||
NotificationKeywords []string `protobuf:"bytes,4,rep,name=notification_keywords,json=notificationKeywords" json:"notification_keywords,omitempty"`
|
||||
// This field identifies which project (if any) the build is associated with.
|
||||
ProjectId string `protobuf:"bytes,6,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
|
||||
}
|
||||
|
||||
func (m *PublishLifecycleEventRequest) Reset() { *m = PublishLifecycleEventRequest{} }
|
||||
func (m *PublishLifecycleEventRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*PublishLifecycleEventRequest) ProtoMessage() {}
|
||||
func (*PublishLifecycleEventRequest) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
|
||||
|
||||
func (m *PublishLifecycleEventRequest) GetServiceLevel() PublishLifecycleEventRequest_ServiceLevel {
|
||||
if m != nil {
|
||||
return m.ServiceLevel
|
||||
}
|
||||
return PublishLifecycleEventRequest_NONINTERACTIVE
|
||||
}
|
||||
|
||||
func (m *PublishLifecycleEventRequest) GetBuildEvent() *OrderedBuildEvent {
|
||||
if m != nil {
|
||||
return m.BuildEvent
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *PublishLifecycleEventRequest) GetStreamTimeout() *google_protobuf4.Duration {
|
||||
if m != nil {
|
||||
return m.StreamTimeout
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *PublishLifecycleEventRequest) GetNotificationKeywords() []string {
|
||||
if m != nil {
|
||||
return m.NotificationKeywords
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *PublishLifecycleEventRequest) GetProjectId() string {
|
||||
if m != nil {
|
||||
return m.ProjectId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// States which event has been committed. Any failure to commit will cause
|
||||
// RPC errors, hence not recorded by this proto.
|
||||
type PublishBuildToolEventStreamResponse struct {
|
||||
// The stream that contains this event.
|
||||
StreamId *StreamId `protobuf:"bytes,1,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"`
|
||||
// The sequence number of this event that has been committed.
|
||||
SequenceNumber int64 `protobuf:"varint,2,opt,name=sequence_number,json=sequenceNumber" json:"sequence_number,omitempty"`
|
||||
}
|
||||
|
||||
func (m *PublishBuildToolEventStreamResponse) Reset() { *m = PublishBuildToolEventStreamResponse{} }
|
||||
func (m *PublishBuildToolEventStreamResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*PublishBuildToolEventStreamResponse) ProtoMessage() {}
|
||||
func (*PublishBuildToolEventStreamResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor2, []int{1}
|
||||
}
|
||||
|
||||
func (m *PublishBuildToolEventStreamResponse) GetStreamId() *StreamId {
|
||||
if m != nil {
|
||||
return m.StreamId
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *PublishBuildToolEventStreamResponse) GetSequenceNumber() int64 {
|
||||
if m != nil {
|
||||
return m.SequenceNumber
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// Build event with contextual information about the stream it belongs to and
|
||||
// its position in that stream.
|
||||
type OrderedBuildEvent struct {
|
||||
// Which build event stream this event belongs to.
|
||||
StreamId *StreamId `protobuf:"bytes,1,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"`
|
||||
// The position of this event in the stream. The sequence numbers for a build
|
||||
// event stream should be a sequence of consecutive natural numbers starting
|
||||
// from one. (1, 2, 3, ...)
|
||||
SequenceNumber int64 `protobuf:"varint,2,opt,name=sequence_number,json=sequenceNumber" json:"sequence_number,omitempty"`
|
||||
// The actual event.
|
||||
Event *BuildEvent `protobuf:"bytes,3,opt,name=event" json:"event,omitempty"`
|
||||
}
|
||||
|
||||
func (m *OrderedBuildEvent) Reset() { *m = OrderedBuildEvent{} }
|
||||
func (m *OrderedBuildEvent) String() string { return proto.CompactTextString(m) }
|
||||
func (*OrderedBuildEvent) ProtoMessage() {}
|
||||
func (*OrderedBuildEvent) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{2} }
|
||||
|
||||
func (m *OrderedBuildEvent) GetStreamId() *StreamId {
|
||||
if m != nil {
|
||||
return m.StreamId
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *OrderedBuildEvent) GetSequenceNumber() int64 {
|
||||
if m != nil {
|
||||
return m.SequenceNumber
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *OrderedBuildEvent) GetEvent() *BuildEvent {
|
||||
if m != nil {
|
||||
return m.Event
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*PublishLifecycleEventRequest)(nil), "google.devtools.build.v1.PublishLifecycleEventRequest")
|
||||
proto.RegisterType((*PublishBuildToolEventStreamResponse)(nil), "google.devtools.build.v1.PublishBuildToolEventStreamResponse")
|
||||
proto.RegisterType((*OrderedBuildEvent)(nil), "google.devtools.build.v1.OrderedBuildEvent")
|
||||
proto.RegisterEnum("google.devtools.build.v1.PublishLifecycleEventRequest_ServiceLevel", PublishLifecycleEventRequest_ServiceLevel_name, PublishLifecycleEventRequest_ServiceLevel_value)
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context
|
||||
var _ grpc.ClientConn
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// Client API for PublishBuildEvent service
|
||||
|
||||
type PublishBuildEventClient interface {
|
||||
// Publish a build event stating the new state of a build (typically from the
|
||||
// build queue). If the event is a BuildEnqueued event, also register the new
|
||||
// build request ID and its build type to BES.
|
||||
//
|
||||
// The backend will persist the event and deliver it to registered frontend
|
||||
// jobs immediately without batching.
|
||||
//
|
||||
// The commit status of the request is reported by the RPC's util_status()
|
||||
// function. The error code is the canoncial error code defined in
|
||||
// //util/task/codes.proto.
|
||||
PublishLifecycleEvent(ctx context.Context, in *PublishLifecycleEventRequest, opts ...grpc.CallOption) (*google_protobuf5.Empty, error)
|
||||
// Publish build tool events belonging to the same stream to a backend job
|
||||
// using bidirectional streaming.
|
||||
PublishBuildToolEventStream(ctx context.Context, opts ...grpc.CallOption) (PublishBuildEvent_PublishBuildToolEventStreamClient, error)
|
||||
}
|
||||
|
||||
type publishBuildEventClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewPublishBuildEventClient(cc *grpc.ClientConn) PublishBuildEventClient {
|
||||
return &publishBuildEventClient{cc}
|
||||
}
|
||||
|
||||
func (c *publishBuildEventClient) PublishLifecycleEvent(ctx context.Context, in *PublishLifecycleEventRequest, opts ...grpc.CallOption) (*google_protobuf5.Empty, error) {
|
||||
out := new(google_protobuf5.Empty)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.build.v1.PublishBuildEvent/PublishLifecycleEvent", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *publishBuildEventClient) PublishBuildToolEventStream(ctx context.Context, opts ...grpc.CallOption) (PublishBuildEvent_PublishBuildToolEventStreamClient, error) {
|
||||
stream, err := grpc.NewClientStream(ctx, &_PublishBuildEvent_serviceDesc.Streams[0], c.cc, "/google.devtools.build.v1.PublishBuildEvent/PublishBuildToolEventStream", opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
x := &publishBuildEventPublishBuildToolEventStreamClient{stream}
|
||||
return x, nil
|
||||
}
|
||||
|
||||
type PublishBuildEvent_PublishBuildToolEventStreamClient interface {
|
||||
Send(*OrderedBuildEvent) error
|
||||
Recv() (*PublishBuildToolEventStreamResponse, error)
|
||||
grpc.ClientStream
|
||||
}
|
||||
|
||||
type publishBuildEventPublishBuildToolEventStreamClient struct {
|
||||
grpc.ClientStream
|
||||
}
|
||||
|
||||
func (x *publishBuildEventPublishBuildToolEventStreamClient) Send(m *OrderedBuildEvent) error {
|
||||
return x.ClientStream.SendMsg(m)
|
||||
}
|
||||
|
||||
func (x *publishBuildEventPublishBuildToolEventStreamClient) Recv() (*PublishBuildToolEventStreamResponse, error) {
|
||||
m := new(PublishBuildToolEventStreamResponse)
|
||||
if err := x.ClientStream.RecvMsg(m); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return m, nil
|
||||
}
|
||||
|
||||
// Server API for PublishBuildEvent service
|
||||
|
||||
type PublishBuildEventServer interface {
|
||||
// Publish a build event stating the new state of a build (typically from the
|
||||
// build queue). If the event is a BuildEnqueued event, also register the new
|
||||
// build request ID and its build type to BES.
|
||||
//
|
||||
// The backend will persist the event and deliver it to registered frontend
|
||||
// jobs immediately without batching.
|
||||
//
|
||||
// The commit status of the request is reported by the RPC's util_status()
|
||||
// function. The error code is the canoncial error code defined in
|
||||
// //util/task/codes.proto.
|
||||
PublishLifecycleEvent(context.Context, *PublishLifecycleEventRequest) (*google_protobuf5.Empty, error)
|
||||
// Publish build tool events belonging to the same stream to a backend job
|
||||
// using bidirectional streaming.
|
||||
PublishBuildToolEventStream(PublishBuildEvent_PublishBuildToolEventStreamServer) error
|
||||
}
|
||||
|
||||
func RegisterPublishBuildEventServer(s *grpc.Server, srv PublishBuildEventServer) {
|
||||
s.RegisterService(&_PublishBuildEvent_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _PublishBuildEvent_PublishLifecycleEvent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(PublishLifecycleEventRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(PublishBuildEventServer).PublishLifecycleEvent(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.devtools.build.v1.PublishBuildEvent/PublishLifecycleEvent",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(PublishBuildEventServer).PublishLifecycleEvent(ctx, req.(*PublishLifecycleEventRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _PublishBuildEvent_PublishBuildToolEventStream_Handler(srv interface{}, stream grpc.ServerStream) error {
|
||||
return srv.(PublishBuildEventServer).PublishBuildToolEventStream(&publishBuildEventPublishBuildToolEventStreamServer{stream})
|
||||
}
|
||||
|
||||
type PublishBuildEvent_PublishBuildToolEventStreamServer interface {
|
||||
Send(*PublishBuildToolEventStreamResponse) error
|
||||
Recv() (*OrderedBuildEvent, error)
|
||||
grpc.ServerStream
|
||||
}
|
||||
|
||||
type publishBuildEventPublishBuildToolEventStreamServer struct {
|
||||
grpc.ServerStream
|
||||
}
|
||||
|
||||
func (x *publishBuildEventPublishBuildToolEventStreamServer) Send(m *PublishBuildToolEventStreamResponse) error {
|
||||
return x.ServerStream.SendMsg(m)
|
||||
}
|
||||
|
||||
func (x *publishBuildEventPublishBuildToolEventStreamServer) Recv() (*OrderedBuildEvent, error) {
|
||||
m := new(OrderedBuildEvent)
|
||||
if err := x.ServerStream.RecvMsg(m); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return m, nil
|
||||
}
|
||||
|
||||
var _PublishBuildEvent_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.devtools.build.v1.PublishBuildEvent",
|
||||
HandlerType: (*PublishBuildEventServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "PublishLifecycleEvent",
|
||||
Handler: _PublishBuildEvent_PublishLifecycleEvent_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{
|
||||
{
|
||||
StreamName: "PublishBuildToolEventStream",
|
||||
Handler: _PublishBuildEvent_PublishBuildToolEventStream_Handler,
|
||||
ServerStreams: true,
|
||||
ClientStreams: true,
|
||||
},
|
||||
},
|
||||
Metadata: "google/devtools/build/v1/publish_build_event.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/devtools/build/v1/publish_build_event.proto", fileDescriptor2) }
|
||||
|
||||
var fileDescriptor2 = []byte{
|
||||
// 619 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x54, 0xc1, 0x6e, 0xd3, 0x40,
|
||||
0x10, 0x65, 0x1b, 0xa8, 0xc8, 0xa6, 0x4d, 0xe9, 0x8a, 0x42, 0x9a, 0xb6, 0x28, 0x32, 0x08, 0x22,
|
||||
0x2a, 0xd9, 0x34, 0x95, 0x38, 0x14, 0x55, 0x40, 0x4a, 0x0e, 0x11, 0x55, 0x5a, 0xb9, 0x11, 0x07,
|
||||
0x2e, 0x96, 0x63, 0x4f, 0xd3, 0xa5, 0xce, 0xae, 0xf1, 0xae, 0x8d, 0x7a, 0xe5, 0x07, 0x7a, 0xe0,
|
||||
0x0b, 0xb8, 0xf3, 0x03, 0x7c, 0x07, 0x7c, 0x02, 0x1f, 0xc1, 0x11, 0x79, 0x77, 0x83, 0x4c, 0x8b,
|
||||
0x83, 0xe0, 0xc0, 0x6d, 0x77, 0xde, 0xcc, 0xbc, 0x99, 0x37, 0xb3, 0x8b, 0x3b, 0x63, 0xce, 0xc7,
|
||||
0x11, 0x38, 0x21, 0x64, 0x92, 0xf3, 0x48, 0x38, 0xa3, 0x94, 0x46, 0xa1, 0x93, 0x6d, 0x39, 0x71,
|
||||
0x3a, 0x8a, 0xa8, 0x38, 0xf1, 0x94, 0xc1, 0x83, 0x0c, 0x98, 0xb4, 0xe3, 0x84, 0x4b, 0x4e, 0x1a,
|
||||
0x3a, 0xc6, 0x9e, 0xc6, 0xd8, 0xca, 0xc5, 0xce, 0xb6, 0x9a, 0xeb, 0x26, 0x9b, 0x1f, 0x53, 0xc7,
|
||||
0x67, 0x8c, 0x4b, 0x5f, 0x52, 0xce, 0x84, 0x8e, 0x6b, 0xae, 0x14, 0xd1, 0x54, 0x9e, 0x18, 0xf3,
|
||||
0x66, 0x69, 0x09, 0x05, 0xea, 0x69, 0x8e, 0x55, 0xe3, 0xac, 0x6e, 0xa3, 0xf4, 0xd8, 0xf1, 0xd9,
|
||||
0x99, 0x81, 0xee, 0x5c, 0x84, 0xc2, 0x34, 0x51, 0xfc, 0x06, 0x5f, 0xbb, 0x88, 0xc3, 0x24, 0x96,
|
||||
0x26, 0xd8, 0xfa, 0x58, 0xc1, 0xeb, 0x87, 0xba, 0xe3, 0x7d, 0x7a, 0x0c, 0xc1, 0x59, 0x10, 0x41,
|
||||
0x2f, 0x27, 0x76, 0xe1, 0x6d, 0x0a, 0x42, 0x92, 0x13, 0xbc, 0x28, 0x20, 0xc9, 0x68, 0x00, 0x5e,
|
||||
0x04, 0x19, 0x44, 0x0d, 0xd4, 0x42, 0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, 0x23, 0x9f, 0x8d, 0x6d, 0x9e, 0x8c, 0x9d, 0x31, 0x30, 0xa5, 0x95, 0xa3, 0x21, 0x3f, 0xa6,
|
||||
0xe2, 0xf2, 0xe7, 0xf8, 0x44, 0x1d, 0xbe, 0x23, 0x34, 0x9a, 0x57, 0xce, 0xdb, 0x3f, 0x02, 0x00,
|
||||
0x00, 0xff, 0xff, 0xb1, 0xfc, 0x73, 0x01, 0xcb, 0x05, 0x00, 0x00,
|
||||
}
|
||||
97
vendor/google.golang.org/genproto/googleapis/devtools/source/v1/source_context.pb.go
generated
vendored
97
vendor/google.golang.org/genproto/googleapis/devtools/source/v1/source_context.pb.go
generated
vendored
@@ -893,53 +893,54 @@ func init() {
|
||||
func init() { proto.RegisterFile("google/devtools/source/v1/source_context.proto", fileDescriptor0) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 758 bytes of a gzipped FileDescriptorProto
|
||||
// 780 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xcb, 0x4e, 0xdb, 0x4c,
|
||||
0x14, 0x8e, 0xe3, 0x90, 0xe0, 0x13, 0x02, 0xd1, 0xfc, 0x17, 0x05, 0x28, 0x02, 0x2c, 0x55, 0x45,
|
||||
0xa2, 0x72, 0x44, 0x2a, 0x55, 0x2d, 0xad, 0x44, 0x09, 0x4d, 0x9b, 0x08, 0x1a, 0xd0, 0x94, 0x5e,
|
||||
0x37, 0x91, 0xb1, 0x47, 0xc6, 0xc5, 0x78, 0xac, 0xb1, 0x13, 0xe0, 0x25, 0xba, 0xee, 0xc3, 0xf5,
|
||||
0x11, 0xba, 0xac, 0xd4, 0x6d, 0x35, 0x17, 0x43, 0x12, 0x82, 0x41, 0x6a, 0x57, 0x9e, 0x39, 0xfe,
|
||||
0xbe, 0xef, 0x9c, 0x39, 0x97, 0x19, 0xb0, 0x3c, 0x4a, 0xbd, 0x80, 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d, 0x73, 0xf3, 0x12, 0xa4, 0x72, 0xbc, 0x96,
|
||||
0xe1, 0x69, 0x84, 0x8a, 0x53, 0x22, 0x3a, 0x84, 0x62, 0x60, 0x1f, 0x91, 0x20, 0xae, 0xe5, 0x57,
|
||||
0xf4, 0xb5, 0x72, 0xe3, 0x79, 0x86, 0xc4, 0xc4, 0x28, 0xac, 0x3d, 0x41, 0x6f, 0x85, 0x09, 0xbb,
|
||||
0xc0, 0x4a, 0x6b, 0xe1, 0x29, 0x94, 0x87, 0xcc, 0xa8, 0x0a, 0xfa, 0x09, 0xb9, 0x10, 0x41, 0x1a,
|
||||
0x98, 0x2f, 0xd1, 0xbf, 0x30, 0x35, 0xb0, 0x83, 0xbe, 0xac, 0xa1, 0x81, 0xe5, 0x66, 0x33, 0xff,
|
||||
0x44, 0x33, 0xbf, 0x69, 0x30, 0xb3, 0x1d, 0xf8, 0x76, 0x9c, 0x9e, 0xf2, 0x05, 0x14, 0x4e, 0xfc,
|
||||
0xd0, 0x15, 0xec, 0xd9, 0xc6, 0xc3, 0x8c, 0xf8, 0x86, 0x69, 0xd6, 0xae, 0x1f, 0xba, 0x58, 0x30,
|
||||
0x11, 0x82, 0x42, 0x68, 0x9f, 0xa6, 0xbe, 0xc4, 0xda, 0x6c, 0x40, 0x81, 0x23, 0x50, 0x09, 0xf4,
|
||||
0xed, 0xee, 0xa7, 0x6a, 0x0e, 0x19, 0x30, 0xf5, 0xaa, 0xf3, 0xb1, 0xf5, 0xb2, 0xaa, 0xa1, 0x32,
|
||||
0x94, 0xde, 0xec, 0xbf, 0xdf, 0x6e, 0xee, 0xb5, 0xaa, 0x79, 0x6e, 0xdf, 0x3f, 0x6c, 0xb7, 0x70,
|
||||
0xb5, 0x60, 0xfe, 0xd4, 0xe0, 0xff, 0xc9, 0xad, 0x8a, 0x36, 0xa1, 0xc4, 0x7b, 0xbd, 0xe7, 0xbb,
|
||||
0xaa, 0x14, 0xab, 0x19, 0x71, 0x72, 0x7a, 0xc7,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0xaf, 0x35, 0xd4, 0xf0, 0x19, 0xcc, 0x01, 0x14, 0x65, 0x0f, 0x22,
|
||||
0x0c, 0x73, 0x2a, 0x21, 0xbd, 0xd1, 0xfe, 0xcd, 0xba, 0x4a, 0x54, 0xb6, 0xa4, 0x44, 0x3b, 0x87,
|
||||
0x2b, 0xd1, 0xb0, 0x01, 0x21, 0xd0, 0xfb, 0x43, 0x7d, 0xcc, 0x37, 0xcd, 0x02, 0xe4, 0x7d, 0xd7,
|
||||
0xdc, 0x85, 0xca, 0x08, 0x17, 0x2d, 0x01, 0xa4, 0xee, 0x95, 0x67, 0x03, 0x1b, 0xca, 0xd2, 0x71,
|
||||
0xd1, 0x22, 0x18, 0x22, 0xaa, 0xa1, 0xe9, 0x9d, 0xe6, 0x06, 0x9e, 0x67, 0xf3, 0x08, 0xaa, 0xe3,
|
||||
0x7d, 0xf4, 0x47, 0x63, 0x38, 0xe1, 0x96, 0x68, 0x0e, 0x60, 0xc9, 0xa1, 0xa7, 0x37, 0x6b, 0x34,
|
||||
0xd1, 0x48, 0x2d, 0x0e, 0xf8, 0x7b, 0x78, 0xa0, 0x7d, 0xde, 0x52, 0x04, 0x8f, 0x06, 0x76, 0xe8,
|
||||
0x59, 0x94, 0x79, 0x75, 0x8f, 0x84, 0xe2, 0xb5, 0xac, 0xcb, 0x5f, 0x76, 0xe4, 0xc7, 0x13, 0x5e,
|
||||
0xe6, 0x67, 0x72, 0x75, 0x54, 0x14, 0xd8, 0x47, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xd7, 0xee,
|
||||
0x6b, 0xa8, 0xc4, 0x07, 0x00, 0x00,
|
||||
0x14, 0x8e, 0xe3, 0x90, 0xe0, 0x13, 0x02, 0xd1, 0xfc, 0x7f, 0xab, 0x00, 0x45, 0x80, 0xa5, 0xaa,
|
||||
0x48, 0x54, 0x8e, 0x92, 0x4a, 0x55, 0x4b, 0x2b, 0x51, 0x02, 0x29, 0x89, 0xa0, 0x01, 0x4d, 0x29,
|
||||
0xbd, 0x6c, 0x22, 0x63, 0x8f, 0x8c, 0x8b, 0xf1, 0x58, 0xb6, 0x13, 0xe0, 0x25, 0xba, 0xe6, 0x19,
|
||||
0xfa, 0x4c, 0x7d, 0x84, 0x2e, 0x2b, 0x75, 0x5b, 0xcd, 0xc5, 0x90, 0x84, 0x60, 0x90, 0xda, 0x95,
|
||||
0x67, 0x8e, 0xbf, 0xef, 0x3b, 0x67, 0xce, 0x65, 0x06, 0x0c, 0x87, 0x52, 0xc7, 0x23, 0x55, 0x9b,
|
||||
0xf4, 0x63, 0x4a, 0xbd, 0xa8, 0x1a, 0xd1, 0x5e, 0x68, 0x91, 0x6a, 0xbf, 0x26, 0x57, 0x5d, 0x8b,
|
||||
0xfa, 0x31, 0x39, 0x8f, 0x8d, 0x20, 0xa4, 0x31, 0x45, 0xb3, 0x02, 0x6f, 0x24, 0x78, 0x43, 0xa0,
|
||||
0x8c, 0x7e, 0x6d, 0xee, 0x91, 0x94, 0x32, 0x03, 0xb7, 0x6a, 0xfa, 0x3e, 0x8d, 0xcd, 0xd8, 0xa5,
|
||||
0x7e, 0x24, 0x88, 0xfa, 0x8f, 0x2c, 0x94, 0xde, 0x73, 0xec, 0xa6, 0x10, 0x44, 0x18, 0xc0, 0xf2,
|
||||
0x68, 0xcf, 0xee, 0x86, 0x24, 0xa0, 0x15, 0x65, 0x49, 0x59, 0x29, 0xd6, 0x6b, 0xc6, 0xad, 0xfa,
|
||||
0xc6, 0x26, 0x03, 0x63, 0x12, 0xd0, 0x21, 0x99, 0x56, 0x06, 0x6b, 0x56, 0xf2, 0x07, 0x99, 0x30,
|
||||
0x23, 0x34, 0xcf, 0x68, 0x78, 0x12, 0x05, 0xa6, 0x45, 0x2a, 0x59, 0x2e, 0xfc, 0xfc, 0x2e, 0xe1,
|
||||
0x8f, 0x09, 0x61, 0x54, 0x7d, 0xda, 0x1a, 0xfa, 0x8d, 0x5a, 0x90, 0x77, 0x48, 0x18, 0xba, 0x71,
|
||||
0x45, 0xe5, 0xca, 0x46, 0x8a, 0xf2, 0x36, 0x07, 0x8e, 0x2a, 0x4a, 0x3e, 0x5a, 0x07, 0xd5, 0x71,
|
||||
0xe3, 0x4a, 0x9e, 0xcb, 0xac, 0xa6, 0xc9, 0xdc, 0xd4, 0x60, 0xcc, 0x86, 0x06, 0x05, 0x59, 0x1d,
|
||||
0xfd, 0xa7, 0x02, 0x0f, 0x9a, 0xe7, 0x31, 0xf1, 0x6d, 0x62, 0x0f, 0xa7, 0xb9, 0x71, 0x05, 0x92,
|
||||
0x39, 0x5e, 0x49, 0xf1, 0x34, 0x44, 0xc5, 0x09, 0x11, 0x1d, 0x40, 0xde, 0x33, 0x8f, 0x88, 0x17,
|
||||
0x55, 0xb2, 0x4b, 0xea, 0x4a, 0xb1, 0xfe, 0x3a, 0x45, 0x62, 0x6c, 0x14, 0xc6, 0x2e, 0xa7, 0x37,
|
||||
0xfd, 0x38, 0xbc, 0xc0, 0x52, 0x6b, 0xee, 0x25, 0x14, 0x07, 0xcc, 0xa8, 0x0c, 0xea, 0x09, 0xb9,
|
||||
0xe0, 0x41, 0x6a, 0x98, 0x2d, 0xd1, 0xff, 0x30, 0xd1, 0x37, 0xbd, 0x9e, 0xa8, 0xa1, 0x86, 0xc5,
|
||||
0x66, 0x2d, 0xfb, 0x42, 0xd1, 0x2f, 0x15, 0x98, 0xda, 0xf0, 0x5c, 0x33, 0x4a, 0x4e, 0xf9, 0x06,
|
||||
0x72, 0x27, 0xae, 0x6f, 0x73, 0xf6, 0x74, 0xfd, 0x69, 0x4a, 0x7c, 0x83, 0x34, 0x63, 0xc7, 0xf5,
|
||||
0x6d, 0xcc, 0x99, 0x08, 0x41, 0xce, 0x37, 0x4f, 0x13, 0x5f, 0x7c, 0xad, 0xd7, 0x21, 0xc7, 0x10,
|
||||
0xa8, 0x00, 0xea, 0x46, 0xe7, 0x73, 0x39, 0x83, 0x34, 0x98, 0x78, 0xdb, 0xfe, 0xd4, 0xdc, 0x2a,
|
||||
0x2b, 0xa8, 0x08, 0x85, 0x77, 0x7b, 0x87, 0x1b, 0x8d, 0xdd, 0x66, 0x39, 0xcb, 0xec, 0x7b, 0x07,
|
||||
0xad, 0x26, 0x2e, 0xe7, 0xf4, 0x5f, 0x0a, 0x3c, 0x1c, 0xdf, 0xaa, 0x68, 0x0d, 0x0a, 0xac, 0xd7,
|
||||
0xbb, 0xae, 0x2d, 0x4b, 0xb1, 0x9c, 0x12, 0x27, 0xa3, 0xb7, 0x6d, 0x9c, 0x0f, 0xf9, 0x17, 0x2d,
|
||||
0x43, 0x31, 0x24, 0x7d, 0x37, 0x72, 0xa9, 0xcf, 0xf8, 0x3c, 0xca, 0x56, 0x06, 0x43, 0x62, 0x6c,
|
||||
0xdb, 0x68, 0x11, 0xc0, 0x64, 0x87, 0xeb, 0xf2, 0x73, 0xa8, 0x12, 0xa1, 0x71, 0x5b, 0xc7, 0x3c,
|
||||
0x25, 0xa8, 0x03, 0x25, 0x01, 0x48, 0x1a, 0x22, 0xc7, 0xa3, 0x78, 0x72, 0xcf, 0x6c, 0xb5, 0x32,
|
||||
0x78, 0xca, 0x1c, 0xd8, 0x37, 0x00, 0x26, 0x13, 0xf7, 0xfa, 0x37, 0x05, 0xe6, 0x53, 0x06, 0x09,
|
||||
0x75, 0x60, 0xea, 0x6a, 0x26, 0xaf, 0x13, 0xb0, 0x7a, 0xef, 0xb1, 0x6c, 0xdb, 0xb8, 0x78, 0x76,
|
||||
0xbd, 0x41, 0x8b, 0x50, 0x8c, 0x7c, 0x33, 0x88, 0x8e, 0x69, 0x7c, 0x95, 0x0f, 0x0c, 0x89, 0xa9,
|
||||
0x6d, 0xeb, 0xbf, 0x15, 0xf8, 0x6f, 0xcc, 0xfc, 0xa1, 0x59, 0x98, 0x3c, 0xa6, 0x51, 0xdc, 0xed,
|
||||
0x85, 0xae, 0xec, 0xb5, 0x02, 0xdb, 0x7f, 0x08, 0x5d, 0xf4, 0x18, 0xa6, 0xc5, 0x68, 0x76, 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 0x8f, 0x68,
|
||||
0x6c, 0x91, 0xfe, 0x01, 0x77, 0x2c, 0xbc, 0x19, 0x87, 0xb5, 0xa3, 0x3c, 0x57, 0x7b, 0xf6, 0x27,
|
||||
0x00, 0x00, 0xff, 0xff, 0x9e, 0xd0, 0x5c, 0x10, 0xe7, 0x07, 0x00, 0x00,
|
||||
}
|
||||
|
||||
635
vendor/google.golang.org/genproto/googleapis/devtools/sourcerepo/v1/sourcerepo.pb.go
generated
vendored
Normal file
635
vendor/google.golang.org/genproto/googleapis/devtools/sourcerepo/v1/sourcerepo.pb.go
generated
vendored
Normal file
@@ -0,0 +1,635 @@
|
||||
// Code generated by protoc-gen-go.
|
||||
// source: google/devtools/sourcerepo/v1/sourcerepo.proto
|
||||
// DO NOT EDIT!
|
||||
|
||||
/*
|
||||
Package sourcerepo is a generated protocol buffer package.
|
||||
|
||||
It is generated from these files:
|
||||
google/devtools/sourcerepo/v1/sourcerepo.proto
|
||||
|
||||
It has these top-level messages:
|
||||
Repo
|
||||
MirrorConfig
|
||||
GetRepoRequest
|
||||
ListReposRequest
|
||||
ListReposResponse
|
||||
CreateRepoRequest
|
||||
DeleteRepoRequest
|
||||
*/
|
||||
package sourcerepo
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
import math "math"
|
||||
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
import _ "google.golang.org/genproto/googleapis/api/serviceconfig"
|
||||
import google_iam_v11 "google.golang.org/genproto/googleapis/iam/v1"
|
||||
import google_iam_v1 "google.golang.org/genproto/googleapis/iam/v1"
|
||||
import google_protobuf1 "github.com/golang/protobuf/ptypes/empty"
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
grpc "google.golang.org/grpc"
|
||||
)
|
||||
|
||||
// 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
|
||||
|
||||
// A repository (or repo) is a Git repository storing versioned source content.
|
||||
type Repo struct {
|
||||
// Resource name of the repository, of the form
|
||||
// `projects/<project>/repos/<repo>`.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// The disk usage of the repo, in bytes.
|
||||
// Only returned by GetRepo.
|
||||
Size int64 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"`
|
||||
// URL to clone the repository from Google Cloud Source Repositories.
|
||||
Url string `protobuf:"bytes,3,opt,name=url" json:"url,omitempty"`
|
||||
// How this repository mirrors a repository managed by another service.
|
||||
MirrorConfig *MirrorConfig `protobuf:"bytes,4,opt,name=mirror_config,json=mirrorConfig" json:"mirror_config,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Repo) Reset() { *m = Repo{} }
|
||||
func (m *Repo) String() string { return proto.CompactTextString(m) }
|
||||
func (*Repo) ProtoMessage() {}
|
||||
func (*Repo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
|
||||
|
||||
func (m *Repo) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Repo) GetSize() int64 {
|
||||
if m != nil {
|
||||
return m.Size
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Repo) GetUrl() string {
|
||||
if m != nil {
|
||||
return m.Url
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Repo) GetMirrorConfig() *MirrorConfig {
|
||||
if m != nil {
|
||||
return m.MirrorConfig
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Configuration to automatically mirror a repository from another
|
||||
// hosting service, for example GitHub or BitBucket.
|
||||
type MirrorConfig struct {
|
||||
// URL of the main repository at the other hosting service.
|
||||
Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
|
||||
// ID of the webhook listening to updates to trigger mirroring.
|
||||
// Removing this webook from the other hosting service will stop
|
||||
// Google Cloud Source Repositories from receiving notifications,
|
||||
// and thereby disabling mirroring.
|
||||
WebhookId string `protobuf:"bytes,2,opt,name=webhook_id,json=webhookId" json:"webhook_id,omitempty"`
|
||||
// ID of the SSH deploy key at the other hosting service.
|
||||
// Removing this key from the other service would deauthorize
|
||||
// Google Cloud Source Repositories from mirroring.
|
||||
DeployKeyId string `protobuf:"bytes,3,opt,name=deploy_key_id,json=deployKeyId" json:"deploy_key_id,omitempty"`
|
||||
}
|
||||
|
||||
func (m *MirrorConfig) Reset() { *m = MirrorConfig{} }
|
||||
func (m *MirrorConfig) String() string { return proto.CompactTextString(m) }
|
||||
func (*MirrorConfig) ProtoMessage() {}
|
||||
func (*MirrorConfig) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
|
||||
|
||||
func (m *MirrorConfig) GetUrl() string {
|
||||
if m != nil {
|
||||
return m.Url
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *MirrorConfig) GetWebhookId() string {
|
||||
if m != nil {
|
||||
return m.WebhookId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *MirrorConfig) GetDeployKeyId() string {
|
||||
if m != nil {
|
||||
return m.DeployKeyId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Request for GetRepo.
|
||||
type GetRepoRequest struct {
|
||||
// The name of the requested repository. Values are of the form
|
||||
// `projects/<project>/repos/<repo>`.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *GetRepoRequest) Reset() { *m = GetRepoRequest{} }
|
||||
func (m *GetRepoRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*GetRepoRequest) ProtoMessage() {}
|
||||
func (*GetRepoRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
|
||||
|
||||
func (m *GetRepoRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Request for ListRepos.
|
||||
type ListReposRequest struct {
|
||||
// The project ID whose repos should be listed. Values are of the form
|
||||
// `projects/<project>`.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
// Maximum number of repositories to return; between 1 and 500.
|
||||
// If not set or zero, defaults to 100 at the server.
|
||||
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
|
||||
// Resume listing repositories where a prior ListReposResponse
|
||||
// left off. This is an opaque token that must be obtained from
|
||||
// a recent, prior ListReposResponse's next_page_token field.
|
||||
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListReposRequest) Reset() { *m = ListReposRequest{} }
|
||||
func (m *ListReposRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListReposRequest) ProtoMessage() {}
|
||||
func (*ListReposRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
|
||||
|
||||
func (m *ListReposRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ListReposRequest) GetPageSize() int32 {
|
||||
if m != nil {
|
||||
return m.PageSize
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *ListReposRequest) GetPageToken() string {
|
||||
if m != nil {
|
||||
return m.PageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Response for ListRepos. The size is not set in the returned repositories.
|
||||
type ListReposResponse struct {
|
||||
// The listed repos.
|
||||
Repos []*Repo `protobuf:"bytes,1,rep,name=repos" json:"repos,omitempty"`
|
||||
// If non-empty, additional repositories exist within the project. These
|
||||
// can be retrieved by including this value in the next ListReposRequest's
|
||||
// page_token field.
|
||||
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ListReposResponse) Reset() { *m = ListReposResponse{} }
|
||||
func (m *ListReposResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListReposResponse) ProtoMessage() {}
|
||||
func (*ListReposResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
|
||||
|
||||
func (m *ListReposResponse) GetRepos() []*Repo {
|
||||
if m != nil {
|
||||
return m.Repos
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ListReposResponse) GetNextPageToken() string {
|
||||
if m != nil {
|
||||
return m.NextPageToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// Request for CreateRepo
|
||||
type CreateRepoRequest struct {
|
||||
// The project in which to create the repo. Values are of the form
|
||||
// `projects/<project>`.
|
||||
Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
|
||||
// The repo to create. Only name should be set; setting other fields
|
||||
// is an error. The project in the name should match the parent field.
|
||||
Repo *Repo `protobuf:"bytes,2,opt,name=repo" json:"repo,omitempty"`
|
||||
}
|
||||
|
||||
func (m *CreateRepoRequest) Reset() { *m = CreateRepoRequest{} }
|
||||
func (m *CreateRepoRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CreateRepoRequest) ProtoMessage() {}
|
||||
func (*CreateRepoRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
|
||||
|
||||
func (m *CreateRepoRequest) GetParent() string {
|
||||
if m != nil {
|
||||
return m.Parent
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *CreateRepoRequest) GetRepo() *Repo {
|
||||
if m != nil {
|
||||
return m.Repo
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Request for DeleteRepo.
|
||||
type DeleteRepoRequest struct {
|
||||
// The name of the repo to delete. Values are of the form
|
||||
// `projects/<project>/repos/<repo>`.
|
||||
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
|
||||
}
|
||||
|
||||
func (m *DeleteRepoRequest) Reset() { *m = DeleteRepoRequest{} }
|
||||
func (m *DeleteRepoRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeleteRepoRequest) ProtoMessage() {}
|
||||
func (*DeleteRepoRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
|
||||
|
||||
func (m *DeleteRepoRequest) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Repo)(nil), "google.devtools.sourcerepo.v1.Repo")
|
||||
proto.RegisterType((*MirrorConfig)(nil), "google.devtools.sourcerepo.v1.MirrorConfig")
|
||||
proto.RegisterType((*GetRepoRequest)(nil), "google.devtools.sourcerepo.v1.GetRepoRequest")
|
||||
proto.RegisterType((*ListReposRequest)(nil), "google.devtools.sourcerepo.v1.ListReposRequest")
|
||||
proto.RegisterType((*ListReposResponse)(nil), "google.devtools.sourcerepo.v1.ListReposResponse")
|
||||
proto.RegisterType((*CreateRepoRequest)(nil), "google.devtools.sourcerepo.v1.CreateRepoRequest")
|
||||
proto.RegisterType((*DeleteRepoRequest)(nil), "google.devtools.sourcerepo.v1.DeleteRepoRequest")
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context
|
||||
var _ grpc.ClientConn
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// Client API for SourceRepo service
|
||||
|
||||
type SourceRepoClient interface {
|
||||
// Returns all repos belonging to a project. The sizes of the repos are
|
||||
// not set by ListRepos. To get the size of a repo, use GetRepo.
|
||||
ListRepos(ctx context.Context, in *ListReposRequest, opts ...grpc.CallOption) (*ListReposResponse, error)
|
||||
// Returns information about a repo.
|
||||
GetRepo(ctx context.Context, in *GetRepoRequest, opts ...grpc.CallOption) (*Repo, error)
|
||||
// Creates a repo in the given project with the given name.
|
||||
//
|
||||
// If the named repository already exists, `CreateRepo` returns
|
||||
// `ALREADY_EXISTS`.
|
||||
CreateRepo(ctx context.Context, in *CreateRepoRequest, opts ...grpc.CallOption) (*Repo, error)
|
||||
// Deletes a repo.
|
||||
DeleteRepo(ctx context.Context, in *DeleteRepoRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error)
|
||||
// Sets the access control policy on the specified resource. Replaces any
|
||||
// existing policy.
|
||||
SetIamPolicy(ctx context.Context, in *google_iam_v11.SetIamPolicyRequest, opts ...grpc.CallOption) (*google_iam_v1.Policy, error)
|
||||
// Gets the access control policy for a resource.
|
||||
// Returns an empty policy if the resource exists and does not have a policy
|
||||
// set.
|
||||
GetIamPolicy(ctx context.Context, in *google_iam_v11.GetIamPolicyRequest, opts ...grpc.CallOption) (*google_iam_v1.Policy, error)
|
||||
// Returns permissions that a caller has on the specified resource.
|
||||
// If the resource does not exist, this will return an empty set of
|
||||
// permissions, not a NOT_FOUND error.
|
||||
TestIamPermissions(ctx context.Context, in *google_iam_v11.TestIamPermissionsRequest, opts ...grpc.CallOption) (*google_iam_v11.TestIamPermissionsResponse, error)
|
||||
}
|
||||
|
||||
type sourceRepoClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewSourceRepoClient(cc *grpc.ClientConn) SourceRepoClient {
|
||||
return &sourceRepoClient{cc}
|
||||
}
|
||||
|
||||
func (c *sourceRepoClient) ListRepos(ctx context.Context, in *ListReposRequest, opts ...grpc.CallOption) (*ListReposResponse, error) {
|
||||
out := new(ListReposResponse)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/ListRepos", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *sourceRepoClient) GetRepo(ctx context.Context, in *GetRepoRequest, opts ...grpc.CallOption) (*Repo, error) {
|
||||
out := new(Repo)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/GetRepo", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *sourceRepoClient) CreateRepo(ctx context.Context, in *CreateRepoRequest, opts ...grpc.CallOption) (*Repo, error) {
|
||||
out := new(Repo)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/CreateRepo", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *sourceRepoClient) DeleteRepo(ctx context.Context, in *DeleteRepoRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) {
|
||||
out := new(google_protobuf1.Empty)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/DeleteRepo", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *sourceRepoClient) SetIamPolicy(ctx context.Context, in *google_iam_v11.SetIamPolicyRequest, opts ...grpc.CallOption) (*google_iam_v1.Policy, error) {
|
||||
out := new(google_iam_v1.Policy)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/SetIamPolicy", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *sourceRepoClient) GetIamPolicy(ctx context.Context, in *google_iam_v11.GetIamPolicyRequest, opts ...grpc.CallOption) (*google_iam_v1.Policy, error) {
|
||||
out := new(google_iam_v1.Policy)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/GetIamPolicy", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *sourceRepoClient) TestIamPermissions(ctx context.Context, in *google_iam_v11.TestIamPermissionsRequest, opts ...grpc.CallOption) (*google_iam_v11.TestIamPermissionsResponse, error) {
|
||||
out := new(google_iam_v11.TestIamPermissionsResponse)
|
||||
err := grpc.Invoke(ctx, "/google.devtools.sourcerepo.v1.SourceRepo/TestIamPermissions", in, out, c.cc, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// Server API for SourceRepo service
|
||||
|
||||
type SourceRepoServer interface {
|
||||
// Returns all repos belonging to a project. The sizes of the repos are
|
||||
// not set by ListRepos. To get the size of a repo, use GetRepo.
|
||||
ListRepos(context.Context, *ListReposRequest) (*ListReposResponse, error)
|
||||
// Returns information about a repo.
|
||||
GetRepo(context.Context, *GetRepoRequest) (*Repo, error)
|
||||
// Creates a repo in the given project with the given name.
|
||||
//
|
||||
// If the named repository already exists, `CreateRepo` returns
|
||||
// `ALREADY_EXISTS`.
|
||||
CreateRepo(context.Context, *CreateRepoRequest) (*Repo, error)
|
||||
// Deletes a repo.
|
||||
DeleteRepo(context.Context, *DeleteRepoRequest) (*google_protobuf1.Empty, error)
|
||||
// Sets the access control policy on the specified resource. Replaces any
|
||||
// existing policy.
|
||||
SetIamPolicy(context.Context, *google_iam_v11.SetIamPolicyRequest) (*google_iam_v1.Policy, error)
|
||||
// Gets the access control policy for a resource.
|
||||
// Returns an empty policy if the resource exists and does not have a policy
|
||||
// set.
|
||||
GetIamPolicy(context.Context, *google_iam_v11.GetIamPolicyRequest) (*google_iam_v1.Policy, error)
|
||||
// Returns permissions that a caller has on the specified resource.
|
||||
// If the resource does not exist, this will return an empty set of
|
||||
// permissions, not a NOT_FOUND error.
|
||||
TestIamPermissions(context.Context, *google_iam_v11.TestIamPermissionsRequest) (*google_iam_v11.TestIamPermissionsResponse, error)
|
||||
}
|
||||
|
||||
func RegisterSourceRepoServer(s *grpc.Server, srv SourceRepoServer) {
|
||||
s.RegisterService(&_SourceRepo_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _SourceRepo_ListRepos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ListReposRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(SourceRepoServer).ListRepos(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/ListRepos",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(SourceRepoServer).ListRepos(ctx, req.(*ListReposRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _SourceRepo_GetRepo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(GetRepoRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(SourceRepoServer).GetRepo(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/GetRepo",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(SourceRepoServer).GetRepo(ctx, req.(*GetRepoRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _SourceRepo_CreateRepo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(CreateRepoRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(SourceRepoServer).CreateRepo(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/CreateRepo",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(SourceRepoServer).CreateRepo(ctx, req.(*CreateRepoRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _SourceRepo_DeleteRepo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(DeleteRepoRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(SourceRepoServer).DeleteRepo(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/DeleteRepo",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(SourceRepoServer).DeleteRepo(ctx, req.(*DeleteRepoRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _SourceRepo_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(google_iam_v11.SetIamPolicyRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(SourceRepoServer).SetIamPolicy(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/SetIamPolicy",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(SourceRepoServer).SetIamPolicy(ctx, req.(*google_iam_v11.SetIamPolicyRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _SourceRepo_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(google_iam_v11.GetIamPolicyRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(SourceRepoServer).GetIamPolicy(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/GetIamPolicy",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(SourceRepoServer).GetIamPolicy(ctx, req.(*google_iam_v11.GetIamPolicyRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _SourceRepo_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(google_iam_v11.TestIamPermissionsRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(SourceRepoServer).TestIamPermissions(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.devtools.sourcerepo.v1.SourceRepo/TestIamPermissions",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(SourceRepoServer).TestIamPermissions(ctx, req.(*google_iam_v11.TestIamPermissionsRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _SourceRepo_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.devtools.sourcerepo.v1.SourceRepo",
|
||||
HandlerType: (*SourceRepoServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "ListRepos",
|
||||
Handler: _SourceRepo_ListRepos_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GetRepo",
|
||||
Handler: _SourceRepo_GetRepo_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "CreateRepo",
|
||||
Handler: _SourceRepo_CreateRepo_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "DeleteRepo",
|
||||
Handler: _SourceRepo_DeleteRepo_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "SetIamPolicy",
|
||||
Handler: _SourceRepo_SetIamPolicy_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "GetIamPolicy",
|
||||
Handler: _SourceRepo_GetIamPolicy_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "TestIamPermissions",
|
||||
Handler: _SourceRepo_TestIamPermissions_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/devtools/sourcerepo/v1/sourcerepo.proto",
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/devtools/sourcerepo/v1/sourcerepo.proto", fileDescriptor0) }
|
||||
|
||||
var fileDescriptor0 = []byte{
|
||||
// 748 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0xd1, 0x4e, 0x13, 0x4d,
|
||||
0x14, 0xce, 0xd0, 0x02, 0x7f, 0x0f, 0xe5, 0x07, 0x26, 0x81, 0x34, 0xc5, 0x92, 0xba, 0x28, 0xd6,
|
||||
0x12, 0x77, 0x05, 0x35, 0xc4, 0x1a, 0x13, 0x03, 0x9a, 0x86, 0xa8, 0x49, 0x53, 0xb8, 0xf2, 0xa6,
|
||||
0xd9, 0xb6, 0x87, 0x65, 0xa5, 0xbb, 0xb3, 0xee, 0x4c, 0xab, 0xd5, 0xa0, 0x09, 0x09, 0xf7, 0x46,
|
||||
0x1e, 0xc3, 0xc7, 0xf1, 0x15, 0x7c, 0x08, 0x2f, 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 0xd4, 0xd0, 0x36, 0x1d, 0x49, 0x19, 0x4f, 0x46, 0xa4, 0xab, 0x37, 0x30, 0x41, 0x56,
|
||||
0xab, 0x28, 0xce, 0xc7, 0x9a, 0xa1, 0x38, 0x7d, 0x0c, 0xb4, 0x8f, 0xe5, 0xad, 0xf0, 0x58, 0xdb,
|
||||
0x0a, 0x29, 0xd3, 0x0b, 0x02, 0xd9, 0xea, 0x24, 0x1d, 0xd5, 0xe4, 0x3a, 0xf6, 0x94, 0x8e, 0x1d,
|
||||
0x9a, 0x44, 0x87, 0x15, 0xe7, 0xfc, 0x49, 0x80, 0x1e, 0x23, 0x57, 0x11, 0xf4, 0x1d, 0x9b, 0x73,
|
||||
0xf9, 0x93, 0xa1, 0xa5, 0x1b, 0x34, 0xa3, 0x90, 0x48, 0xd0, 0xfd, 0x04, 0xc8, 0xf0, 0xc3, 0x79,
|
||||
0xa1, 0x44, 0x56, 0xb4, 0x27, 0x09, 0x44, 0x8a, 0x91, 0x36, 0x15, 0x52, 0xde, 0xff, 0x06, 0xb7,
|
||||
0x5b, 0xcc, 0x99, 0x3c, 0x31, 0xfb, 0x4b, 0x83, 0xc7, 0xa1, 0x26, 0x27, 0xa4, 0x46, 0xde, 0x55,
|
||||
0xc3, 0x0a, 0x8b, 0x75, 0x4c, 0xd7, 0xd2, 0x99, 0x6f, 0x19, 0x16, 0xba, 0x6a, 0x7e, 0x8c, 0x20,
|
||||
0x65, 0x7a, 0x36, 0xff, 0xc7, 0x9f, 0xfb, 0xd9, 0x60, 0xd7, 0x9c, 0x53, 0x35, 0x8f, 0xfe, 0x06,
|
||||
0x00, 0x00, 0xff, 0xff, 0x30, 0x80, 0x85, 0x9e, 0xec, 0x07, 0x00, 0x00,
|
||||
}
|
||||
Reference in New Issue
Block a user