| // Copyright 2020 The Swarming Authors. All rights reserved. |
| // Use of this source code is governed by the Apache v2.0 license that can be |
| // found in the LICENSE file. |
| |
| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // versions: |
| // protoc-gen-go v1.36.9 |
| // protoc v6.32.0 |
| // source: go.chromium.org/luci/buildbucket/proto/builds_service.proto |
| |
| package buildbucketpb |
| |
| import ( |
| structmask "go.chromium.org/luci/common/proto/structmask" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| status "google.golang.org/genproto/googleapis/rpc/status" |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| durationpb "google.golang.org/protobuf/types/known/durationpb" |
| fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" |
| structpb "google.golang.org/protobuf/types/known/structpb" |
| reflect "reflect" |
| sync "sync" |
| unsafe "unsafe" |
| ) |
| |
| const ( |
| // Verify that this generated code is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| // Verify that runtime/protoimpl is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| ) |
| |
| // A request message for GetBuild RPC. |
| type GetBuildRequest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Build ID. |
| // Mutually exclusive with builder and number. |
| Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` |
| // Builder of the build. |
| // Requires number. Mutually exclusive with id. |
| Builder *BuilderID `protobuf:"bytes,2,opt,name=builder,proto3" json:"builder,omitempty"` |
| // Build number. |
| // Requires builder. Mutually exclusive with id. |
| BuildNumber int32 `protobuf:"varint,3,opt,name=build_number,json=buildNumber,proto3" json:"build_number,omitempty"` |
| // Fields to include in the response. |
| // |
| // DEPRECATED: Use mask instead. |
| // |
| // If not set, the default mask is used, see Build message comments for the |
| // list of fields returned by default. |
| // |
| // Supports advanced semantics, see |
| // https://chromium.googlesource.com/infra/luci/luci-py/+/f9ae69a37c4bdd0e08a8b0f7e123f6e403e774eb/appengine/components/components/protoutil/field_masks.py#7 |
| // In particular, if the client needs only some output properties, they |
| // can be requested with paths "output.properties.fields.foo". |
| // |
| // Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/builds_service.proto. |
| Fields *fieldmaskpb.FieldMask `protobuf:"bytes,100,opt,name=fields,proto3" json:"fields,omitempty"` |
| // What portion of the Build message to return. |
| // |
| // If not set, the default mask is used, see Build message comments for the |
| // list of fields returned by default. |
| Mask *BuildMask `protobuf:"bytes,101,opt,name=mask,proto3" json:"mask,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *GetBuildRequest) Reset() { |
| *x = GetBuildRequest{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *GetBuildRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*GetBuildRequest) ProtoMessage() {} |
| |
| func (x *GetBuildRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[0] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use GetBuildRequest.ProtoReflect.Descriptor instead. |
| func (*GetBuildRequest) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *GetBuildRequest) GetId() int64 { |
| if x != nil { |
| return x.Id |
| } |
| return 0 |
| } |
| |
| func (x *GetBuildRequest) GetBuilder() *BuilderID { |
| if x != nil { |
| return x.Builder |
| } |
| return nil |
| } |
| |
| func (x *GetBuildRequest) GetBuildNumber() int32 { |
| if x != nil { |
| return x.BuildNumber |
| } |
| return 0 |
| } |
| |
| // Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/builds_service.proto. |
| func (x *GetBuildRequest) GetFields() *fieldmaskpb.FieldMask { |
| if x != nil { |
| return x.Fields |
| } |
| return nil |
| } |
| |
| func (x *GetBuildRequest) GetMask() *BuildMask { |
| if x != nil { |
| return x.Mask |
| } |
| return nil |
| } |
| |
| // A request message for SearchBuilds RPC. |
| type SearchBuildsRequest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Returned builds must satisfy this predicate. Required. |
| Predicate *BuildPredicate `protobuf:"bytes,1,opt,name=predicate,proto3" json:"predicate,omitempty"` |
| // Fields to include in the response, see GetBuildRequest.fields. |
| // |
| // DEPRECATED: Use mask instead. |
| // |
| // Note that this applies to the response, not each build, so e.g. steps must |
| // be requested with a path "builds.*.steps". |
| // |
| // Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/builds_service.proto. |
| Fields *fieldmaskpb.FieldMask `protobuf:"bytes,100,opt,name=fields,proto3" json:"fields,omitempty"` |
| // What portion of the Build message to return. |
| // |
| // If not set, the default mask is used, see Build message comments for the |
| // list of fields returned by default. |
| Mask *BuildMask `protobuf:"bytes,103,opt,name=mask,proto3" json:"mask,omitempty"` |
| // Number of builds to return. |
| // Defaults to 100. |
| // Any value >1000 is interpreted as 1000. |
| PageSize int32 `protobuf:"varint,101,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| // Value of SearchBuildsResponse.next_page_token from the previous response. |
| // Use it to continue searching. |
| // The predicate and page_size in this request MUST be exactly same as in the |
| // previous request. |
| PageToken string `protobuf:"bytes,102,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *SearchBuildsRequest) Reset() { |
| *x = SearchBuildsRequest{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *SearchBuildsRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*SearchBuildsRequest) ProtoMessage() {} |
| |
| func (x *SearchBuildsRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[1] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use SearchBuildsRequest.ProtoReflect.Descriptor instead. |
| func (*SearchBuildsRequest) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (x *SearchBuildsRequest) GetPredicate() *BuildPredicate { |
| if x != nil { |
| return x.Predicate |
| } |
| return nil |
| } |
| |
| // Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/builds_service.proto. |
| func (x *SearchBuildsRequest) GetFields() *fieldmaskpb.FieldMask { |
| if x != nil { |
| return x.Fields |
| } |
| return nil |
| } |
| |
| func (x *SearchBuildsRequest) GetMask() *BuildMask { |
| if x != nil { |
| return x.Mask |
| } |
| return nil |
| } |
| |
| func (x *SearchBuildsRequest) GetPageSize() int32 { |
| if x != nil { |
| return x.PageSize |
| } |
| return 0 |
| } |
| |
| func (x *SearchBuildsRequest) GetPageToken() string { |
| if x != nil { |
| return x.PageToken |
| } |
| return "" |
| } |
| |
| // A response message for SearchBuilds RPC. |
| type SearchBuildsResponse struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Search results. |
| // |
| // Ordered by build ID, descending. IDs are monotonically decreasing, so in |
| // other words the order is newest-to-oldest. |
| Builds []*Build `protobuf:"bytes,1,rep,name=builds,proto3" json:"builds,omitempty"` |
| // Value for SearchBuildsRequest.page_token to continue searching. |
| NextPageToken string `protobuf:"bytes,100,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *SearchBuildsResponse) Reset() { |
| *x = SearchBuildsResponse{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *SearchBuildsResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*SearchBuildsResponse) ProtoMessage() {} |
| |
| func (x *SearchBuildsResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[2] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use SearchBuildsResponse.ProtoReflect.Descriptor instead. |
| func (*SearchBuildsResponse) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{2} |
| } |
| |
| func (x *SearchBuildsResponse) GetBuilds() []*Build { |
| if x != nil { |
| return x.Builds |
| } |
| return nil |
| } |
| |
| func (x *SearchBuildsResponse) GetNextPageToken() string { |
| if x != nil { |
| return x.NextPageToken |
| } |
| return "" |
| } |
| |
| // A request message for Batch RPC. |
| type BatchRequest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Requests to execute in a single batch. |
| // |
| // - All requests are executed in their own individual transactions. |
| // - BatchRequest as a whole is not transactional. |
| // - There's no guaranteed order of execution between batch items (i.e. |
| // consider them to all operate independently). |
| // - There is a limit of 200 requests per batch. |
| Requests []*BatchRequest_Request `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *BatchRequest) Reset() { |
| *x = BatchRequest{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[3] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *BatchRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*BatchRequest) ProtoMessage() {} |
| |
| func (x *BatchRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[3] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use BatchRequest.ProtoReflect.Descriptor instead. |
| func (*BatchRequest) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{3} |
| } |
| |
| func (x *BatchRequest) GetRequests() []*BatchRequest_Request { |
| if x != nil { |
| return x.Requests |
| } |
| return nil |
| } |
| |
| // A response message for Batch RPC. |
| type BatchResponse struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Responses in the same order as BatchRequest.requests. |
| Responses []*BatchResponse_Response `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *BatchResponse) Reset() { |
| *x = BatchResponse{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[4] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *BatchResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*BatchResponse) ProtoMessage() {} |
| |
| func (x *BatchResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[4] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use BatchResponse.ProtoReflect.Descriptor instead. |
| func (*BatchResponse) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{4} |
| } |
| |
| func (x *BatchResponse) GetResponses() []*BatchResponse_Response { |
| if x != nil { |
| return x.Responses |
| } |
| return nil |
| } |
| |
| // A request message for UpdateBuild RPC. |
| type UpdateBuildRequest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Build to update, with new field values. |
| Build *Build `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"` |
| // Build fields to update. |
| // See also |
| // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask |
| // |
| // Currently supports only the following path strings: |
| // - build.output |
| // - build.output.properties |
| // - build.output.gitiles_commit |
| // - build.output.status |
| // - build.output.status_details |
| // - build.output.summary_markdown |
| // - build.status |
| // - build.status_details |
| // - build.steps |
| // - build.summary_markdown |
| // - build.tags |
| // - build.infra.buildbucket.agent.output |
| // - build.infra.buildbucket.agent.purposes |
| // |
| // Note, "build.output.status" is required explicitly to update the field. |
| // If there is only "build.output" in update_mask, build.output.status will not |
| // be updated. |
| // |
| // If omitted, Buildbucket will update the Build's update_time, but nothing else. |
| UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` |
| // Fields to include in the response. See also GetBuildRequest.fields. |
| // |
| // DEPRECATED: Use mask instead. |
| // |
| // Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/builds_service.proto. |
| Fields *fieldmaskpb.FieldMask `protobuf:"bytes,100,opt,name=fields,proto3" json:"fields,omitempty"` |
| // What portion of the Build message to return. |
| // |
| // If not set, an empty build will be returned. |
| Mask *BuildMask `protobuf:"bytes,101,opt,name=mask,proto3" json:"mask,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *UpdateBuildRequest) Reset() { |
| *x = UpdateBuildRequest{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[5] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *UpdateBuildRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*UpdateBuildRequest) ProtoMessage() {} |
| |
| func (x *UpdateBuildRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[5] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use UpdateBuildRequest.ProtoReflect.Descriptor instead. |
| func (*UpdateBuildRequest) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{5} |
| } |
| |
| func (x *UpdateBuildRequest) GetBuild() *Build { |
| if x != nil { |
| return x.Build |
| } |
| return nil |
| } |
| |
| func (x *UpdateBuildRequest) GetUpdateMask() *fieldmaskpb.FieldMask { |
| if x != nil { |
| return x.UpdateMask |
| } |
| return nil |
| } |
| |
| // Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/builds_service.proto. |
| func (x *UpdateBuildRequest) GetFields() *fieldmaskpb.FieldMask { |
| if x != nil { |
| return x.Fields |
| } |
| return nil |
| } |
| |
| func (x *UpdateBuildRequest) GetMask() *BuildMask { |
| if x != nil { |
| return x.Mask |
| } |
| return nil |
| } |
| |
| // A request message for ScheduleBuild RPC. |
| // |
| // Next ID: 26. |
| type ScheduleBuildRequest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // ** STRONGLY RECOMMENDED **. |
| // A unique string id used for detecting duplicate requests. |
| // Should be unique at least per requesting identity. |
| // Used to dedup build scheduling requests with same id within 1 min. |
| // If a build was successfully scheduled with the same request id in the past |
| // minute, the existing build will be returned. |
| RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` |
| // ID of a build to retry as is or altered. |
| // When specified, fields below default to the values in the template build. |
| TemplateBuildId int64 `protobuf:"varint,2,opt,name=template_build_id,json=templateBuildId,proto3" json:"template_build_id,omitempty"` |
| // Value for Build.builder. See its comments. |
| // Required, unless template_build_id is specified. |
| Builder *BuilderID `protobuf:"bytes,3,opt,name=builder,proto3" json:"builder,omitempty"` |
| // DEPRECATED |
| // |
| // Set "luci.buildbucket.canary_software" in `experiments` instead. |
| // |
| // YES sets "luci.buildbucket.canary_software" to true in `experiments`. |
| // NO sets "luci.buildbucket.canary_software" to false in `experiments`. |
| Canary Trinary `protobuf:"varint,4,opt,name=canary,proto3,enum=buildbucket.v2.Trinary" json:"canary,omitempty"` |
| // DEPRECATED |
| // |
| // Set "luci.non_production" in `experiments` instead. |
| // |
| // YES sets "luci.non_production" to true in `experiments`. |
| // NO sets "luci.non_production" to false in `experiments`. |
| Experimental Trinary `protobuf:"varint,5,opt,name=experimental,proto3,enum=buildbucket.v2.Trinary" json:"experimental,omitempty"` |
| // Sets (or prevents) these experiments on the scheduled build. |
| // |
| // See `Builder.experiments` for well-known experiments. |
| Experiments map[string]bool `protobuf:"bytes,16,rep,name=experiments,proto3" json:"experiments,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` |
| // Properties to include in Build.input.properties. |
| // |
| // Input properties of the created build are result of merging server-defined |
| // properties and properties in this field. |
| // Each property in this field defines a new or replaces an existing property |
| // on the server. |
| // If the server config does not allow overriding/adding the property, the |
| // request will fail with InvalidArgument error code. |
| // A server-defined property cannot be removed, but its value can be |
| // replaced with null. |
| // |
| // Reserved property paths: |
| // |
| // ["$recipe_engine/buildbucket"] |
| // ["$recipe_engine/runtime", "is_experimental"] |
| // ["$recipe_engine/runtime", "is_luci"] |
| // ["branch"] |
| // ["buildbucket"] |
| // ["buildername"] |
| // ["repository"] |
| // |
| // The Builder configuration specifies which top-level property names are |
| // overridable via the `allowed_property_overrides` field. ScheduleBuild |
| // requests which attempt to override a property which isn't allowed will |
| // fail with InvalidArgument. |
| // |
| // V1 equivalent: corresponds to "properties" key in "parameters_json". |
| Properties *structpb.Struct `protobuf:"bytes,6,opt,name=properties,proto3" json:"properties,omitempty"` |
| // Value for Build.input.gitiles_commit. |
| // |
| // Setting this field will cause the created build to have a "buildset" |
| // tag with value "commit/gitiles/{hostname}/{project}/+/{id}". |
| // |
| // GitilesCommit objects MUST have host, project, ref fields set. |
| // |
| // V1 equivalent: supersedes "revision" property and "buildset" |
| // tag that starts with "commit/gitiles/". |
| GitilesCommit *GitilesCommit `protobuf:"bytes,7,opt,name=gitiles_commit,json=gitilesCommit,proto3" json:"gitiles_commit,omitempty"` |
| // Value for Build.input.gerrit_changes. |
| // Usually present in tryjobs, set by CQ, Gerrit, git-cl-try. |
| // Applied on top of gitiles_commit if specified, otherwise tip of the tree. |
| // All GerritChange fields are required. |
| // |
| // Setting this field will cause the created build to have a "buildset" |
| // tag with value "patch/gerrit/{hostname}/{change}/{patchset}" |
| // for each change. |
| // |
| // V1 equivalent: supersedes patch_* properties and "buildset" |
| // tag that starts with "patch/gerrit/". |
| GerritChanges []*GerritChange `protobuf:"bytes,8,rep,name=gerrit_changes,json=gerritChanges,proto3" json:"gerrit_changes,omitempty"` |
| // Tags to include in Build.tags of the created build, see Build.tags |
| // comments. |
| // Note: tags of the created build may include other tags defined on the |
| // server. |
| Tags []*StringPair `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"` |
| // Overrides default dimensions defined by builder config or template build. |
| // |
| // A set of entries with the same key defines a new or replaces an existing |
| // dimension with the same key. |
| // If the config does not allow overriding/adding the dimension, the request |
| // will fail with InvalidArgument error code. |
| // |
| // After merging, dimensions with empty value will be excluded. |
| // |
| // Note: For the same key dimensions, it won't allow to pass empty and |
| // non-empty values at the same time in the request. |
| // |
| // Note: "caches" and "pool" dimensions may only be specified in builder |
| // configs. Setting them hear will fail the request. |
| // |
| // A dimension expiration must be a multiple of 1min. |
| Dimensions []*RequestedDimension `protobuf:"bytes,10,rep,name=dimensions,proto3" json:"dimensions,omitempty"` |
| // If not zero, overrides swarming task priority. |
| // See also Build.infra.swarming.priority. |
| Priority int32 `protobuf:"varint,11,opt,name=priority,proto3" json:"priority,omitempty"` |
| // A per-build notification configuration. |
| Notify *NotificationConfig `protobuf:"bytes,12,opt,name=notify,proto3" json:"notify,omitempty"` |
| // Fields to include in the response. See also GetBuildRequest.fields. |
| // |
| // DEPRECATED: Use mask instead. |
| // |
| // Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/builds_service.proto. |
| Fields *fieldmaskpb.FieldMask `protobuf:"bytes,100,opt,name=fields,proto3" json:"fields,omitempty"` |
| // What portion of the Build message to return. |
| // |
| // If not set, the default mask is used, see Build message comments for the |
| // list of fields returned by default. |
| Mask *BuildMask `protobuf:"bytes,101,opt,name=mask,proto3" json:"mask,omitempty"` |
| // Value for Build.critical. |
| Critical Trinary `protobuf:"varint,13,opt,name=critical,proto3,enum=buildbucket.v2.Trinary" json:"critical,omitempty"` |
| // Overrides Builder.exe in the config. |
| // Supported subfields: cipd_version. |
| Exe *Executable `protobuf:"bytes,14,opt,name=exe,proto3" json:"exe,omitempty"` |
| // Swarming specific part of the build request. |
| Swarming *ScheduleBuildRequest_Swarming `protobuf:"bytes,15,opt,name=swarming,proto3" json:"swarming,omitempty"` |
| // Maximum build pending time. |
| // |
| // If set, overrides the default `expiration_secs` set in builder config. |
| // Only supports seconds precision for now. |
| // For more information, see Build.scheduling_timeout in build.proto. |
| SchedulingTimeout *durationpb.Duration `protobuf:"bytes,17,opt,name=scheduling_timeout,json=schedulingTimeout,proto3" json:"scheduling_timeout,omitempty"` |
| // Maximum build execution time. |
| // |
| // If set, overrides the default `execution_timeout_secs` set in builder config. |
| // Only supports seconds precision for now. |
| // For more information, see Build.execution_timeout in build.proto. |
| ExecutionTimeout *durationpb.Duration `protobuf:"bytes,18,opt,name=execution_timeout,json=executionTimeout,proto3" json:"execution_timeout,omitempty"` |
| // Amount of cleanup time after execution_timeout. |
| // |
| // If set, overrides the default `grace_period` set in builder config. |
| // Only supports seconds precision for now. |
| // For more information, see Build.grace_period in build.proto. |
| GracePeriod *durationpb.Duration `protobuf:"bytes,19,opt,name=grace_period,json=gracePeriod,proto3" json:"grace_period,omitempty"` |
| // Whether or not this request constitutes a dry run. |
| // |
| // A dry run returns the build proto without actually scheduling it. All |
| // fields except those which can only be computed at run-time are filled in. |
| // Does not cause side-effects. When batching, all requests must specify the |
| // same value for dry_run. |
| DryRun bool `protobuf:"varint,20,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` |
| // Flag to control if the build can outlive its parent. |
| // |
| // If the value is UNSET, it means this build doesn't have any parent, so |
| // the request must not have a header with any BuildToken nor have |
| // parent_build_id set. |
| // |
| // If the value is anything other than UNSET, then either the BuildToken for |
| // the parent build is set as a header, or parent_build_id is set. |
| // |
| // If the value is NO, it means that the build SHOULD reach a terminal status |
| // (SUCCESS, FAILURE, INFRA_FAILURE or CANCELED) before its parent. If the |
| // child fails to do so, Buildbucket will cancel it some time after the |
| // parent build reaches a terminal status. |
| // |
| // A build that can outlive its parent can also outlive its parent's ancestors. |
| // |
| // If schedule a build without parent, this field must be UNSET. |
| // |
| // If schedule a build with parent, this field should be YES or NO. |
| // But UNSET is also accepted for now, and it has the same effect as YES. |
| // TODO(crbug.com/1031205): after the parent tracking feature is stable, |
| // require this field to be set when scheduling a build with parent. |
| CanOutliveParent Trinary `protobuf:"varint,21,opt,name=can_outlive_parent,json=canOutliveParent,proto3,enum=buildbucket.v2.Trinary" json:"can_outlive_parent,omitempty"` |
| // ID of the parent build. |
| // |
| // The standard way to establish parent/child relationship is via the parent |
| // build at the time the build is launched using the parent build's BuildToken. |
| // |
| // Only when that's not possible, i.e. creating the child build is deligated |
| // to a diffrerent service out of the context of the parent build, can a user |
| // consider using this field. |
| // |
| // Mutually exclusive with the parent build's BuildToken. |
| // |
| // To use this field to establish parent/child relationship, the caller must |
| // have below permissions: |
| // - `buildbucket.builds.addAsChild` at this build (child)'s realm to create |
| // this build as another build's child; |
| // - `buildbucket.builds.includeChild` at the parent build's realm to update |
| // it to include a child. |
| // |
| // When batching, requests can have different values for parent_build_id. |
| ParentBuildId int64 `protobuf:"varint,25,opt,name=parent_build_id,json=parentBuildId,proto3" json:"parent_build_id,omitempty"` |
| // Value for Build.retriable. |
| Retriable Trinary `protobuf:"varint,22,opt,name=retriable,proto3,enum=buildbucket.v2.Trinary" json:"retriable,omitempty"` |
| // Input for scheduling a build in the shadow bucket. |
| // |
| // If this field is set, it means the build to be scheduled will |
| // - be scheduled in the shadow bucket of the requested bucket, with shadow |
| // adjustments on service_account, dimensions and properties. |
| // - inherit its parent build's agent input and agent source if it has a |
| // parent and `inherit_from_parent` is true. |
| ShadowInput *ScheduleBuildRequest_ShadowInput `protobuf:"bytes,23,opt,name=shadow_input,json=shadowInput,proto3" json:"shadow_input,omitempty"` |
| // ResultDB-specific part of the build request. |
| Resultdb *ScheduleBuildRequest_ResultDB `protobuf:"bytes,24,opt,name=resultdb,proto3" json:"resultdb,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *ScheduleBuildRequest) Reset() { |
| *x = ScheduleBuildRequest{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[6] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *ScheduleBuildRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ScheduleBuildRequest) ProtoMessage() {} |
| |
| func (x *ScheduleBuildRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[6] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use ScheduleBuildRequest.ProtoReflect.Descriptor instead. |
| func (*ScheduleBuildRequest) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{6} |
| } |
| |
| func (x *ScheduleBuildRequest) GetRequestId() string { |
| if x != nil { |
| return x.RequestId |
| } |
| return "" |
| } |
| |
| func (x *ScheduleBuildRequest) GetTemplateBuildId() int64 { |
| if x != nil { |
| return x.TemplateBuildId |
| } |
| return 0 |
| } |
| |
| func (x *ScheduleBuildRequest) GetBuilder() *BuilderID { |
| if x != nil { |
| return x.Builder |
| } |
| return nil |
| } |
| |
| func (x *ScheduleBuildRequest) GetCanary() Trinary { |
| if x != nil { |
| return x.Canary |
| } |
| return Trinary_UNSET |
| } |
| |
| func (x *ScheduleBuildRequest) GetExperimental() Trinary { |
| if x != nil { |
| return x.Experimental |
| } |
| return Trinary_UNSET |
| } |
| |
| func (x *ScheduleBuildRequest) GetExperiments() map[string]bool { |
| if x != nil { |
| return x.Experiments |
| } |
| return nil |
| } |
| |
| func (x *ScheduleBuildRequest) GetProperties() *structpb.Struct { |
| if x != nil { |
| return x.Properties |
| } |
| return nil |
| } |
| |
| func (x *ScheduleBuildRequest) GetGitilesCommit() *GitilesCommit { |
| if x != nil { |
| return x.GitilesCommit |
| } |
| return nil |
| } |
| |
| func (x *ScheduleBuildRequest) GetGerritChanges() []*GerritChange { |
| if x != nil { |
| return x.GerritChanges |
| } |
| return nil |
| } |
| |
| func (x *ScheduleBuildRequest) GetTags() []*StringPair { |
| if x != nil { |
| return x.Tags |
| } |
| return nil |
| } |
| |
| func (x *ScheduleBuildRequest) GetDimensions() []*RequestedDimension { |
| if x != nil { |
| return x.Dimensions |
| } |
| return nil |
| } |
| |
| func (x *ScheduleBuildRequest) GetPriority() int32 { |
| if x != nil { |
| return x.Priority |
| } |
| return 0 |
| } |
| |
| func (x *ScheduleBuildRequest) GetNotify() *NotificationConfig { |
| if x != nil { |
| return x.Notify |
| } |
| return nil |
| } |
| |
| // Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/builds_service.proto. |
| func (x *ScheduleBuildRequest) GetFields() *fieldmaskpb.FieldMask { |
| if x != nil { |
| return x.Fields |
| } |
| return nil |
| } |
| |
| func (x *ScheduleBuildRequest) GetMask() *BuildMask { |
| if x != nil { |
| return x.Mask |
| } |
| return nil |
| } |
| |
| func (x *ScheduleBuildRequest) GetCritical() Trinary { |
| if x != nil { |
| return x.Critical |
| } |
| return Trinary_UNSET |
| } |
| |
| func (x *ScheduleBuildRequest) GetExe() *Executable { |
| if x != nil { |
| return x.Exe |
| } |
| return nil |
| } |
| |
| func (x *ScheduleBuildRequest) GetSwarming() *ScheduleBuildRequest_Swarming { |
| if x != nil { |
| return x.Swarming |
| } |
| return nil |
| } |
| |
| func (x *ScheduleBuildRequest) GetSchedulingTimeout() *durationpb.Duration { |
| if x != nil { |
| return x.SchedulingTimeout |
| } |
| return nil |
| } |
| |
| func (x *ScheduleBuildRequest) GetExecutionTimeout() *durationpb.Duration { |
| if x != nil { |
| return x.ExecutionTimeout |
| } |
| return nil |
| } |
| |
| func (x *ScheduleBuildRequest) GetGracePeriod() *durationpb.Duration { |
| if x != nil { |
| return x.GracePeriod |
| } |
| return nil |
| } |
| |
| func (x *ScheduleBuildRequest) GetDryRun() bool { |
| if x != nil { |
| return x.DryRun |
| } |
| return false |
| } |
| |
| func (x *ScheduleBuildRequest) GetCanOutliveParent() Trinary { |
| if x != nil { |
| return x.CanOutliveParent |
| } |
| return Trinary_UNSET |
| } |
| |
| func (x *ScheduleBuildRequest) GetParentBuildId() int64 { |
| if x != nil { |
| return x.ParentBuildId |
| } |
| return 0 |
| } |
| |
| func (x *ScheduleBuildRequest) GetRetriable() Trinary { |
| if x != nil { |
| return x.Retriable |
| } |
| return Trinary_UNSET |
| } |
| |
| func (x *ScheduleBuildRequest) GetShadowInput() *ScheduleBuildRequest_ShadowInput { |
| if x != nil { |
| return x.ShadowInput |
| } |
| return nil |
| } |
| |
| func (x *ScheduleBuildRequest) GetResultdb() *ScheduleBuildRequest_ResultDB { |
| if x != nil { |
| return x.Resultdb |
| } |
| return nil |
| } |
| |
| // A request message for CancelBuild RPC. |
| type CancelBuildRequest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // ID of the build to cancel. |
| Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` |
| // Required. Value for Build.cancellation_markdown. Will be appended to |
| // Build.summary_markdown when exporting to bigquery and returned via GetBuild. |
| SummaryMarkdown string `protobuf:"bytes,2,opt,name=summary_markdown,json=summaryMarkdown,proto3" json:"summary_markdown,omitempty"` |
| // Fields to include in the response. See also GetBuildRequest.fields. |
| // |
| // DEPRECATED: Use mask instead. |
| // |
| // Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/builds_service.proto. |
| Fields *fieldmaskpb.FieldMask `protobuf:"bytes,100,opt,name=fields,proto3" json:"fields,omitempty"` |
| // What portion of the Build message to return. |
| // |
| // If not set, the default mask is used, see Build message comments for the |
| // list of fields returned by default. |
| Mask *BuildMask `protobuf:"bytes,101,opt,name=mask,proto3" json:"mask,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *CancelBuildRequest) Reset() { |
| *x = CancelBuildRequest{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[7] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *CancelBuildRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CancelBuildRequest) ProtoMessage() {} |
| |
| func (x *CancelBuildRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[7] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CancelBuildRequest.ProtoReflect.Descriptor instead. |
| func (*CancelBuildRequest) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{7} |
| } |
| |
| func (x *CancelBuildRequest) GetId() int64 { |
| if x != nil { |
| return x.Id |
| } |
| return 0 |
| } |
| |
| func (x *CancelBuildRequest) GetSummaryMarkdown() string { |
| if x != nil { |
| return x.SummaryMarkdown |
| } |
| return "" |
| } |
| |
| // Deprecated: Marked as deprecated in go.chromium.org/luci/buildbucket/proto/builds_service.proto. |
| func (x *CancelBuildRequest) GetFields() *fieldmaskpb.FieldMask { |
| if x != nil { |
| return x.Fields |
| } |
| return nil |
| } |
| |
| func (x *CancelBuildRequest) GetMask() *BuildMask { |
| if x != nil { |
| return x.Mask |
| } |
| return nil |
| } |
| |
| // A request message for CreateBuild RPC. |
| type CreateBuildRequest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // The Build to be created. |
| Build *Build `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"` |
| // A unique identifier for this request. |
| // A random UUID is recommended. |
| // This request is only idempotent if a `request_id` is provided. |
| RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` |
| // What portion of the Build message to return. |
| // |
| // If not set, the default mask is used, see Build message comments for the |
| // list of fields returned by default. |
| Mask *BuildMask `protobuf:"bytes,3,opt,name=mask,proto3" json:"mask,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *CreateBuildRequest) Reset() { |
| *x = CreateBuildRequest{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[8] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *CreateBuildRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CreateBuildRequest) ProtoMessage() {} |
| |
| func (x *CreateBuildRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[8] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CreateBuildRequest.ProtoReflect.Descriptor instead. |
| func (*CreateBuildRequest) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{8} |
| } |
| |
| func (x *CreateBuildRequest) GetBuild() *Build { |
| if x != nil { |
| return x.Build |
| } |
| return nil |
| } |
| |
| func (x *CreateBuildRequest) GetRequestId() string { |
| if x != nil { |
| return x.RequestId |
| } |
| return "" |
| } |
| |
| func (x *CreateBuildRequest) GetMask() *BuildMask { |
| if x != nil { |
| return x.Mask |
| } |
| return nil |
| } |
| |
| // A request message for SynthesizeBuild RPC. |
| type SynthesizeBuildRequest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // ID of a build to use as the template. |
| // Mutually exclusive with builder. |
| TemplateBuildId int64 `protobuf:"varint,1,opt,name=template_build_id,json=templateBuildId,proto3" json:"template_build_id,omitempty"` |
| // Value for Build.builder. See its comments. |
| // Required, unless template_build_id is specified. |
| Builder *BuilderID `protobuf:"bytes,2,opt,name=builder,proto3" json:"builder,omitempty"` |
| // Sets (or prevents) these experiments on the synthesized build. |
| // |
| // See `Builder.experiments` for well-known experiments. |
| Experiments map[string]bool `protobuf:"bytes,3,rep,name=experiments,proto3" json:"experiments,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *SynthesizeBuildRequest) Reset() { |
| *x = SynthesizeBuildRequest{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[9] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *SynthesizeBuildRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*SynthesizeBuildRequest) ProtoMessage() {} |
| |
| func (x *SynthesizeBuildRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[9] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use SynthesizeBuildRequest.ProtoReflect.Descriptor instead. |
| func (*SynthesizeBuildRequest) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{9} |
| } |
| |
| func (x *SynthesizeBuildRequest) GetTemplateBuildId() int64 { |
| if x != nil { |
| return x.TemplateBuildId |
| } |
| return 0 |
| } |
| |
| func (x *SynthesizeBuildRequest) GetBuilder() *BuilderID { |
| if x != nil { |
| return x.Builder |
| } |
| return nil |
| } |
| |
| func (x *SynthesizeBuildRequest) GetExperiments() map[string]bool { |
| if x != nil { |
| return x.Experiments |
| } |
| return nil |
| } |
| |
| // A request message for StartBuild RPC. |
| type StartBuildRequest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // A nonce to deduplicate requests. |
| RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` |
| // Id of the build to start. |
| BuildId int64 `protobuf:"varint,2,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` |
| // Id of the task running the started build. |
| TaskId string `protobuf:"bytes,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *StartBuildRequest) Reset() { |
| *x = StartBuildRequest{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[10] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *StartBuildRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*StartBuildRequest) ProtoMessage() {} |
| |
| func (x *StartBuildRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[10] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use StartBuildRequest.ProtoReflect.Descriptor instead. |
| func (*StartBuildRequest) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{10} |
| } |
| |
| func (x *StartBuildRequest) GetRequestId() string { |
| if x != nil { |
| return x.RequestId |
| } |
| return "" |
| } |
| |
| func (x *StartBuildRequest) GetBuildId() int64 { |
| if x != nil { |
| return x.BuildId |
| } |
| return 0 |
| } |
| |
| func (x *StartBuildRequest) GetTaskId() string { |
| if x != nil { |
| return x.TaskId |
| } |
| return "" |
| } |
| |
| // A response message for StartBuild RPC. |
| type StartBuildResponse struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // The whole proto of the started build. |
| Build *Build `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"` |
| // A build token for agent to use when making subsequent UpdateBuild calls. |
| UpdateBuildToken string `protobuf:"bytes,2,opt,name=update_build_token,json=updateBuildToken,proto3" json:"update_build_token,omitempty"` |
| // A stage attempt token for agent to pass to the executable (recipe) to |
| // make updates on the stage attempt to TurboCI. |
| StageAttemptToken string `protobuf:"bytes,3,opt,name=stage_attempt_token,json=stageAttemptToken,proto3" json:"stage_attempt_token,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *StartBuildResponse) Reset() { |
| *x = StartBuildResponse{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[11] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *StartBuildResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*StartBuildResponse) ProtoMessage() {} |
| |
| func (x *StartBuildResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[11] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use StartBuildResponse.ProtoReflect.Descriptor instead. |
| func (*StartBuildResponse) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{11} |
| } |
| |
| func (x *StartBuildResponse) GetBuild() *Build { |
| if x != nil { |
| return x.Build |
| } |
| return nil |
| } |
| |
| func (x *StartBuildResponse) GetUpdateBuildToken() string { |
| if x != nil { |
| return x.UpdateBuildToken |
| } |
| return "" |
| } |
| |
| func (x *StartBuildResponse) GetStageAttemptToken() string { |
| if x != nil { |
| return x.StageAttemptToken |
| } |
| return "" |
| } |
| |
| // A request message for GetBuildStatus RPC. |
| type GetBuildStatusRequest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Build ID. |
| // Mutually exclusive with builder and number. |
| Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` |
| // Builder of the build. |
| // Requires number. Mutually exclusive with id. |
| Builder *BuilderID `protobuf:"bytes,2,opt,name=builder,proto3" json:"builder,omitempty"` |
| // Build number. |
| // Requires builder. Mutually exclusive with id. |
| BuildNumber int32 `protobuf:"varint,3,opt,name=build_number,json=buildNumber,proto3" json:"build_number,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *GetBuildStatusRequest) Reset() { |
| *x = GetBuildStatusRequest{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[12] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *GetBuildStatusRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*GetBuildStatusRequest) ProtoMessage() {} |
| |
| func (x *GetBuildStatusRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[12] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use GetBuildStatusRequest.ProtoReflect.Descriptor instead. |
| func (*GetBuildStatusRequest) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{12} |
| } |
| |
| func (x *GetBuildStatusRequest) GetId() int64 { |
| if x != nil { |
| return x.Id |
| } |
| return 0 |
| } |
| |
| func (x *GetBuildStatusRequest) GetBuilder() *BuilderID { |
| if x != nil { |
| return x.Builder |
| } |
| return nil |
| } |
| |
| func (x *GetBuildStatusRequest) GetBuildNumber() int32 { |
| if x != nil { |
| return x.BuildNumber |
| } |
| return 0 |
| } |
| |
| // A request message for CustomMetricPreview RPC. |
| type CustomMetricPreviewRequest struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // ID of a build to use to test the custom metric difinition. |
| BuildId int64 `protobuf:"varint,1,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"` |
| // Definition of the custom metric. |
| MetricDefinition *CustomMetricDefinition `protobuf:"bytes,2,opt,name=metric_definition,json=metricDefinition,proto3" json:"metric_definition,omitempty"` |
| // Metric class determines which data to be collected and reported |
| // to the metric. |
| // |
| // Types that are valid to be assigned to Class: |
| // |
| // *CustomMetricPreviewRequest_MetricBase |
| Class isCustomMetricPreviewRequest_Class `protobuf_oneof:"class"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *CustomMetricPreviewRequest) Reset() { |
| *x = CustomMetricPreviewRequest{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[13] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *CustomMetricPreviewRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CustomMetricPreviewRequest) ProtoMessage() {} |
| |
| func (x *CustomMetricPreviewRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[13] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CustomMetricPreviewRequest.ProtoReflect.Descriptor instead. |
| func (*CustomMetricPreviewRequest) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{13} |
| } |
| |
| func (x *CustomMetricPreviewRequest) GetBuildId() int64 { |
| if x != nil { |
| return x.BuildId |
| } |
| return 0 |
| } |
| |
| func (x *CustomMetricPreviewRequest) GetMetricDefinition() *CustomMetricDefinition { |
| if x != nil { |
| return x.MetricDefinition |
| } |
| return nil |
| } |
| |
| func (x *CustomMetricPreviewRequest) GetClass() isCustomMetricPreviewRequest_Class { |
| if x != nil { |
| return x.Class |
| } |
| return nil |
| } |
| |
| func (x *CustomMetricPreviewRequest) GetMetricBase() CustomMetricBase { |
| if x != nil { |
| if x, ok := x.Class.(*CustomMetricPreviewRequest_MetricBase); ok { |
| return x.MetricBase |
| } |
| } |
| return CustomMetricBase_CUSTOM_METRIC_BASE_UNSET |
| } |
| |
| type isCustomMetricPreviewRequest_Class interface { |
| isCustomMetricPreviewRequest_Class() |
| } |
| |
| type CustomMetricPreviewRequest_MetricBase struct { |
| MetricBase CustomMetricBase `protobuf:"varint,3,opt,name=metric_base,json=metricBase,proto3,enum=buildbucket.CustomMetricBase,oneof"` |
| } |
| |
| func (*CustomMetricPreviewRequest_MetricBase) isCustomMetricPreviewRequest_Class() {} |
| |
| // A response message for CustomMetricPreview RPC. |
| type CustomMetricPreviewResponse struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Types that are valid to be assigned to Response: |
| // |
| // *CustomMetricPreviewResponse_Report_ |
| // *CustomMetricPreviewResponse_Error |
| Response isCustomMetricPreviewResponse_Response `protobuf_oneof:"response"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *CustomMetricPreviewResponse) Reset() { |
| *x = CustomMetricPreviewResponse{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[14] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *CustomMetricPreviewResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CustomMetricPreviewResponse) ProtoMessage() {} |
| |
| func (x *CustomMetricPreviewResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[14] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CustomMetricPreviewResponse.ProtoReflect.Descriptor instead. |
| func (*CustomMetricPreviewResponse) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{14} |
| } |
| |
| func (x *CustomMetricPreviewResponse) GetResponse() isCustomMetricPreviewResponse_Response { |
| if x != nil { |
| return x.Response |
| } |
| return nil |
| } |
| |
| func (x *CustomMetricPreviewResponse) GetReport() *CustomMetricPreviewResponse_Report { |
| if x != nil { |
| if x, ok := x.Response.(*CustomMetricPreviewResponse_Report_); ok { |
| return x.Report |
| } |
| } |
| return nil |
| } |
| |
| func (x *CustomMetricPreviewResponse) GetError() string { |
| if x != nil { |
| if x, ok := x.Response.(*CustomMetricPreviewResponse_Error); ok { |
| return x.Error |
| } |
| } |
| return "" |
| } |
| |
| type isCustomMetricPreviewResponse_Response interface { |
| isCustomMetricPreviewResponse_Response() |
| } |
| |
| type CustomMetricPreviewResponse_Report_ struct { |
| // Metric report if the build passes the metric predicate evaluation. |
| Report *CustomMetricPreviewResponse_Report `protobuf:"bytes,1,opt,name=report,proto3,oneof"` |
| } |
| |
| type CustomMetricPreviewResponse_Error struct { |
| // Error details of the evaluation. |
| Error string `protobuf:"bytes,100,opt,name=error,proto3,oneof"` |
| } |
| |
| func (*CustomMetricPreviewResponse_Report_) isCustomMetricPreviewResponse_Response() {} |
| |
| func (*CustomMetricPreviewResponse_Error) isCustomMetricPreviewResponse_Response() {} |
| |
| // Defines a subset of Build fields and properties to return. |
| type BuildMask struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Fields of the Build proto to include. |
| // |
| // Follows the standard FieldMask semantics as documented at e.g. |
| // https://pkg.go.dev/google.golang.org/protobuf/types/known/fieldmaskpb. |
| // |
| // If not set, the default mask is used, see Build message comments for the |
| // list of fields returned by default. |
| Fields *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=fields,proto3" json:"fields,omitempty"` |
| // Defines a subset of `input.properties` to return. |
| // |
| // When not empty, implicitly adds the corresponding field to `fields`. |
| InputProperties []*structmask.StructMask `protobuf:"bytes,2,rep,name=input_properties,json=inputProperties,proto3" json:"input_properties,omitempty"` |
| // Defines a subset of `output.properties` to return. |
| // |
| // When not empty, implicitly adds the corresponding field to `fields`. |
| OutputProperties []*structmask.StructMask `protobuf:"bytes,3,rep,name=output_properties,json=outputProperties,proto3" json:"output_properties,omitempty"` |
| // Defines a subset of `infra.buildbucket.requested_properties` to return. |
| // |
| // When not empty, implicitly adds the corresponding field to `fields`. |
| RequestedProperties []*structmask.StructMask `protobuf:"bytes,4,rep,name=requested_properties,json=requestedProperties,proto3" json:"requested_properties,omitempty"` |
| // Flag for including all fields. |
| // |
| // Mutually exclusive with `fields`, `input_properties`, `output_properties`, |
| // and `requested_properties`. |
| AllFields bool `protobuf:"varint,5,opt,name=all_fields,json=allFields,proto3" json:"all_fields,omitempty"` |
| // A status to filter returned `steps` by. If unspecified, no filter is |
| // applied. Otherwise filters by the union of the given statuses. |
| // |
| // No effect unless `fields` specifies that `steps` should be returned or |
| // `all_fields` is true. |
| StepStatus []Status `protobuf:"varint,6,rep,packed,name=step_status,json=stepStatus,proto3,enum=buildbucket.v2.Status" json:"step_status,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *BuildMask) Reset() { |
| *x = BuildMask{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[15] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *BuildMask) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*BuildMask) ProtoMessage() {} |
| |
| func (x *BuildMask) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[15] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use BuildMask.ProtoReflect.Descriptor instead. |
| func (*BuildMask) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{15} |
| } |
| |
| func (x *BuildMask) GetFields() *fieldmaskpb.FieldMask { |
| if x != nil { |
| return x.Fields |
| } |
| return nil |
| } |
| |
| func (x *BuildMask) GetInputProperties() []*structmask.StructMask { |
| if x != nil { |
| return x.InputProperties |
| } |
| return nil |
| } |
| |
| func (x *BuildMask) GetOutputProperties() []*structmask.StructMask { |
| if x != nil { |
| return x.OutputProperties |
| } |
| return nil |
| } |
| |
| func (x *BuildMask) GetRequestedProperties() []*structmask.StructMask { |
| if x != nil { |
| return x.RequestedProperties |
| } |
| return nil |
| } |
| |
| func (x *BuildMask) GetAllFields() bool { |
| if x != nil { |
| return x.AllFields |
| } |
| return false |
| } |
| |
| func (x *BuildMask) GetStepStatus() []Status { |
| if x != nil { |
| return x.StepStatus |
| } |
| return nil |
| } |
| |
| // A build predicate. |
| // |
| // At least one of the following fields is required: builder, gerrit_changes and |
| // git_commits. |
| // If a field value is empty, it is ignored, unless stated otherwise. |
| type BuildPredicate struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // A build must be in this builder. |
| Builder *BuilderID `protobuf:"bytes,1,opt,name=builder,proto3" json:"builder,omitempty"` |
| // A build must have this status. |
| Status Status `protobuf:"varint,2,opt,name=status,proto3,enum=buildbucket.v2.Status" json:"status,omitempty"` |
| // A build's Build.Input.gerrit_changes must include ALL of these changes. |
| GerritChanges []*GerritChange `protobuf:"bytes,3,rep,name=gerrit_changes,json=gerritChanges,proto3" json:"gerrit_changes,omitempty"` |
| // DEPRECATED |
| // |
| // Never implemented. |
| OutputGitilesCommit *GitilesCommit `protobuf:"bytes,4,opt,name=output_gitiles_commit,json=outputGitilesCommit,proto3" json:"output_gitiles_commit,omitempty"` |
| // A build must be created by this identity. |
| CreatedBy string `protobuf:"bytes,5,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` |
| // A build must have ALL of these tags. |
| // For "ANY of these tags" make separate RPCs. |
| Tags []*StringPair `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` |
| // A build must have been created within the specified range. |
| // Both boundaries are optional. |
| CreateTime *TimeRange `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| // If false (the default), equivalent to filtering by experiment |
| // "-luci.non_production". |
| // |
| // If true, has no effect (both production and non_production builds will be |
| // returned). |
| // |
| // NOTE: If you explicitly search for non_production builds with the experiment |
| // filter "+luci.non_production", this is implied to be true. |
| // |
| // See `Builder.experiments` for well-known experiments. |
| IncludeExperimental bool `protobuf:"varint,8,opt,name=include_experimental,json=includeExperimental,proto3" json:"include_experimental,omitempty"` |
| // A build must be in this build range. |
| Build *BuildRange `protobuf:"bytes,9,opt,name=build,proto3" json:"build,omitempty"` |
| // DEPRECATED |
| // |
| // If YES, equivalent to filtering by experiment |
| // "+luci.buildbucket.canary_software". |
| // |
| // If NO, equivalent to filtering by experiment |
| // "-luci.buildbucket.canary_software". |
| // |
| // See `Builder.experiments` for well-known experiments. |
| Canary Trinary `protobuf:"varint,10,opt,name=canary,proto3,enum=buildbucket.v2.Trinary" json:"canary,omitempty"` |
| // A list of experiments to include or exclude from the search results. |
| // |
| // Each entry should look like "[-+]$experiment_name". |
| // |
| // A "+" prefix means that returned builds MUST have that experiment set. |
| // A "-" prefix means that returned builds MUST NOT have that experiment set |
| // |
| // AND that experiment was known for the builder at the time the build |
| // was scheduled (either via `Builder.experiments` or via |
| // `ScheduleBuildRequest.experiments`). Well-known experiments are always |
| // considered to be available. |
| Experiments []string `protobuf:"bytes,11,rep,name=experiments,proto3" json:"experiments,omitempty"` |
| // A build ID. |
| // |
| // Returned builds will be descendants of this build (e.g. "100" means |
| // "any build transitively scheduled starting from build 100"). |
| // |
| // Mutually exclusive with `child_of`. |
| DescendantOf int64 `protobuf:"varint,12,opt,name=descendant_of,json=descendantOf,proto3" json:"descendant_of,omitempty"` |
| // A build ID. |
| // |
| // Returned builds will be only the immediate children of this build. |
| // |
| // Mutually exclusive with `descendant_of`. |
| ChildOf int64 `protobuf:"varint,13,opt,name=child_of,json=childOf,proto3" json:"child_of,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *BuildPredicate) Reset() { |
| *x = BuildPredicate{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[16] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *BuildPredicate) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*BuildPredicate) ProtoMessage() {} |
| |
| func (x *BuildPredicate) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[16] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use BuildPredicate.ProtoReflect.Descriptor instead. |
| func (*BuildPredicate) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{16} |
| } |
| |
| func (x *BuildPredicate) GetBuilder() *BuilderID { |
| if x != nil { |
| return x.Builder |
| } |
| return nil |
| } |
| |
| func (x *BuildPredicate) GetStatus() Status { |
| if x != nil { |
| return x.Status |
| } |
| return Status_STATUS_UNSPECIFIED |
| } |
| |
| func (x *BuildPredicate) GetGerritChanges() []*GerritChange { |
| if x != nil { |
| return x.GerritChanges |
| } |
| return nil |
| } |
| |
| func (x *BuildPredicate) GetOutputGitilesCommit() *GitilesCommit { |
| if x != nil { |
| return x.OutputGitilesCommit |
| } |
| return nil |
| } |
| |
| func (x *BuildPredicate) GetCreatedBy() string { |
| if x != nil { |
| return x.CreatedBy |
| } |
| return "" |
| } |
| |
| func (x *BuildPredicate) GetTags() []*StringPair { |
| if x != nil { |
| return x.Tags |
| } |
| return nil |
| } |
| |
| func (x *BuildPredicate) GetCreateTime() *TimeRange { |
| if x != nil { |
| return x.CreateTime |
| } |
| return nil |
| } |
| |
| func (x *BuildPredicate) GetIncludeExperimental() bool { |
| if x != nil { |
| return x.IncludeExperimental |
| } |
| return false |
| } |
| |
| func (x *BuildPredicate) GetBuild() *BuildRange { |
| if x != nil { |
| return x.Build |
| } |
| return nil |
| } |
| |
| func (x *BuildPredicate) GetCanary() Trinary { |
| if x != nil { |
| return x.Canary |
| } |
| return Trinary_UNSET |
| } |
| |
| func (x *BuildPredicate) GetExperiments() []string { |
| if x != nil { |
| return x.Experiments |
| } |
| return nil |
| } |
| |
| func (x *BuildPredicate) GetDescendantOf() int64 { |
| if x != nil { |
| return x.DescendantOf |
| } |
| return 0 |
| } |
| |
| func (x *BuildPredicate) GetChildOf() int64 { |
| if x != nil { |
| return x.ChildOf |
| } |
| return 0 |
| } |
| |
| // Open build range. |
| type BuildRange struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Inclusive lower (less recent build) boundary. Optional. |
| StartBuildId int64 `protobuf:"varint,1,opt,name=start_build_id,json=startBuildId,proto3" json:"start_build_id,omitempty"` |
| // Inclusive upper (more recent build) boundary. Optional. |
| EndBuildId int64 `protobuf:"varint,2,opt,name=end_build_id,json=endBuildId,proto3" json:"end_build_id,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *BuildRange) Reset() { |
| *x = BuildRange{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[17] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *BuildRange) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*BuildRange) ProtoMessage() {} |
| |
| func (x *BuildRange) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[17] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use BuildRange.ProtoReflect.Descriptor instead. |
| func (*BuildRange) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{17} |
| } |
| |
| func (x *BuildRange) GetStartBuildId() int64 { |
| if x != nil { |
| return x.StartBuildId |
| } |
| return 0 |
| } |
| |
| func (x *BuildRange) GetEndBuildId() int64 { |
| if x != nil { |
| return x.EndBuildId |
| } |
| return 0 |
| } |
| |
| // One request in a batch. |
| type BatchRequest_Request struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Types that are valid to be assigned to Request: |
| // |
| // *BatchRequest_Request_GetBuild |
| // *BatchRequest_Request_SearchBuilds |
| // *BatchRequest_Request_ScheduleBuild |
| // *BatchRequest_Request_CancelBuild |
| // *BatchRequest_Request_GetBuildStatus |
| Request isBatchRequest_Request_Request `protobuf_oneof:"request"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *BatchRequest_Request) Reset() { |
| *x = BatchRequest_Request{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[18] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *BatchRequest_Request) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*BatchRequest_Request) ProtoMessage() {} |
| |
| func (x *BatchRequest_Request) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[18] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use BatchRequest_Request.ProtoReflect.Descriptor instead. |
| func (*BatchRequest_Request) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{3, 0} |
| } |
| |
| func (x *BatchRequest_Request) GetRequest() isBatchRequest_Request_Request { |
| if x != nil { |
| return x.Request |
| } |
| return nil |
| } |
| |
| func (x *BatchRequest_Request) GetGetBuild() *GetBuildRequest { |
| if x != nil { |
| if x, ok := x.Request.(*BatchRequest_Request_GetBuild); ok { |
| return x.GetBuild |
| } |
| } |
| return nil |
| } |
| |
| func (x *BatchRequest_Request) GetSearchBuilds() *SearchBuildsRequest { |
| if x != nil { |
| if x, ok := x.Request.(*BatchRequest_Request_SearchBuilds); ok { |
| return x.SearchBuilds |
| } |
| } |
| return nil |
| } |
| |
| func (x *BatchRequest_Request) GetScheduleBuild() *ScheduleBuildRequest { |
| if x != nil { |
| if x, ok := x.Request.(*BatchRequest_Request_ScheduleBuild); ok { |
| return x.ScheduleBuild |
| } |
| } |
| return nil |
| } |
| |
| func (x *BatchRequest_Request) GetCancelBuild() *CancelBuildRequest { |
| if x != nil { |
| if x, ok := x.Request.(*BatchRequest_Request_CancelBuild); ok { |
| return x.CancelBuild |
| } |
| } |
| return nil |
| } |
| |
| func (x *BatchRequest_Request) GetGetBuildStatus() *GetBuildStatusRequest { |
| if x != nil { |
| if x, ok := x.Request.(*BatchRequest_Request_GetBuildStatus); ok { |
| return x.GetBuildStatus |
| } |
| } |
| return nil |
| } |
| |
| type isBatchRequest_Request_Request interface { |
| isBatchRequest_Request_Request() |
| } |
| |
| type BatchRequest_Request_GetBuild struct { |
| GetBuild *GetBuildRequest `protobuf:"bytes,1,opt,name=get_build,json=getBuild,proto3,oneof"` |
| } |
| |
| type BatchRequest_Request_SearchBuilds struct { |
| SearchBuilds *SearchBuildsRequest `protobuf:"bytes,2,opt,name=search_builds,json=searchBuilds,proto3,oneof"` |
| } |
| |
| type BatchRequest_Request_ScheduleBuild struct { |
| ScheduleBuild *ScheduleBuildRequest `protobuf:"bytes,3,opt,name=schedule_build,json=scheduleBuild,proto3,oneof"` |
| } |
| |
| type BatchRequest_Request_CancelBuild struct { |
| CancelBuild *CancelBuildRequest `protobuf:"bytes,4,opt,name=cancel_build,json=cancelBuild,proto3,oneof"` |
| } |
| |
| type BatchRequest_Request_GetBuildStatus struct { |
| GetBuildStatus *GetBuildStatusRequest `protobuf:"bytes,5,opt,name=get_build_status,json=getBuildStatus,proto3,oneof"` |
| } |
| |
| func (*BatchRequest_Request_GetBuild) isBatchRequest_Request_Request() {} |
| |
| func (*BatchRequest_Request_SearchBuilds) isBatchRequest_Request_Request() {} |
| |
| func (*BatchRequest_Request_ScheduleBuild) isBatchRequest_Request_Request() {} |
| |
| func (*BatchRequest_Request_CancelBuild) isBatchRequest_Request_Request() {} |
| |
| func (*BatchRequest_Request_GetBuildStatus) isBatchRequest_Request_Request() {} |
| |
| // Response a BatchRequest.Response. |
| type BatchResponse_Response struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Types that are valid to be assigned to Response: |
| // |
| // *BatchResponse_Response_GetBuild |
| // *BatchResponse_Response_SearchBuilds |
| // *BatchResponse_Response_ScheduleBuild |
| // *BatchResponse_Response_CancelBuild |
| // *BatchResponse_Response_GetBuildStatus |
| // *BatchResponse_Response_Error |
| Response isBatchResponse_Response_Response `protobuf_oneof:"response"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *BatchResponse_Response) Reset() { |
| *x = BatchResponse_Response{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[19] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *BatchResponse_Response) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*BatchResponse_Response) ProtoMessage() {} |
| |
| func (x *BatchResponse_Response) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[19] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use BatchResponse_Response.ProtoReflect.Descriptor instead. |
| func (*BatchResponse_Response) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{4, 0} |
| } |
| |
| func (x *BatchResponse_Response) GetResponse() isBatchResponse_Response_Response { |
| if x != nil { |
| return x.Response |
| } |
| return nil |
| } |
| |
| func (x *BatchResponse_Response) GetGetBuild() *Build { |
| if x != nil { |
| if x, ok := x.Response.(*BatchResponse_Response_GetBuild); ok { |
| return x.GetBuild |
| } |
| } |
| return nil |
| } |
| |
| func (x *BatchResponse_Response) GetSearchBuilds() *SearchBuildsResponse { |
| if x != nil { |
| if x, ok := x.Response.(*BatchResponse_Response_SearchBuilds); ok { |
| return x.SearchBuilds |
| } |
| } |
| return nil |
| } |
| |
| func (x *BatchResponse_Response) GetScheduleBuild() *Build { |
| if x != nil { |
| if x, ok := x.Response.(*BatchResponse_Response_ScheduleBuild); ok { |
| return x.ScheduleBuild |
| } |
| } |
| return nil |
| } |
| |
| func (x *BatchResponse_Response) GetCancelBuild() *Build { |
| if x != nil { |
| if x, ok := x.Response.(*BatchResponse_Response_CancelBuild); ok { |
| return x.CancelBuild |
| } |
| } |
| return nil |
| } |
| |
| func (x *BatchResponse_Response) GetGetBuildStatus() *Build { |
| if x != nil { |
| if x, ok := x.Response.(*BatchResponse_Response_GetBuildStatus); ok { |
| return x.GetBuildStatus |
| } |
| } |
| return nil |
| } |
| |
| func (x *BatchResponse_Response) GetError() *status.Status { |
| if x != nil { |
| if x, ok := x.Response.(*BatchResponse_Response_Error); ok { |
| return x.Error |
| } |
| } |
| return nil |
| } |
| |
| type isBatchResponse_Response_Response interface { |
| isBatchResponse_Response_Response() |
| } |
| |
| type BatchResponse_Response_GetBuild struct { |
| GetBuild *Build `protobuf:"bytes,1,opt,name=get_build,json=getBuild,proto3,oneof"` |
| } |
| |
| type BatchResponse_Response_SearchBuilds struct { |
| SearchBuilds *SearchBuildsResponse `protobuf:"bytes,2,opt,name=search_builds,json=searchBuilds,proto3,oneof"` |
| } |
| |
| type BatchResponse_Response_ScheduleBuild struct { |
| ScheduleBuild *Build `protobuf:"bytes,3,opt,name=schedule_build,json=scheduleBuild,proto3,oneof"` |
| } |
| |
| type BatchResponse_Response_CancelBuild struct { |
| CancelBuild *Build `protobuf:"bytes,4,opt,name=cancel_build,json=cancelBuild,proto3,oneof"` |
| } |
| |
| type BatchResponse_Response_GetBuildStatus struct { |
| GetBuildStatus *Build `protobuf:"bytes,5,opt,name=get_build_status,json=getBuildStatus,proto3,oneof"` |
| } |
| |
| type BatchResponse_Response_Error struct { |
| // Error code and details of the unsuccessful RPC. |
| Error *status.Status `protobuf:"bytes,100,opt,name=error,proto3,oneof"` |
| } |
| |
| func (*BatchResponse_Response_GetBuild) isBatchResponse_Response_Response() {} |
| |
| func (*BatchResponse_Response_SearchBuilds) isBatchResponse_Response_Response() {} |
| |
| func (*BatchResponse_Response_ScheduleBuild) isBatchResponse_Response_Response() {} |
| |
| func (*BatchResponse_Response_CancelBuild) isBatchResponse_Response_Response() {} |
| |
| func (*BatchResponse_Response_GetBuildStatus) isBatchResponse_Response_Response() {} |
| |
| func (*BatchResponse_Response_Error) isBatchResponse_Response_Response() {} |
| |
| // Swarming specific part of the build request. |
| type ScheduleBuildRequest_Swarming struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // If specified, parent_run_id should match actual Swarming task run ID the |
| // caller is running as and results in swarming server ensuring that the newly |
| // triggered build will not outlive its parent. |
| // |
| // Typical use is for triggering and waiting on child build(s) from within |
| // 1 parent build and if child build(s) on their own aren't useful. Then, |
| // if parent build ends for whatever reason, all not yet finished child |
| // builds aren't useful and it's desirable to terminate them, too. |
| // |
| // If the Builder config does not specify a swarming backend, the request |
| // will fail with InvalidArgument error code. |
| // |
| // The parent_run_id is assumed to be from the same swarming server as the |
| // one the new build is to be executed on. The ScheduleBuildRequest doesn't |
| // check if parent_run_id refers to actually existing task, but eventually |
| // the new build will fail if so. |
| ParentRunId string `protobuf:"bytes,1,opt,name=parent_run_id,json=parentRunId,proto3" json:"parent_run_id,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *ScheduleBuildRequest_Swarming) Reset() { |
| *x = ScheduleBuildRequest_Swarming{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[21] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *ScheduleBuildRequest_Swarming) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ScheduleBuildRequest_Swarming) ProtoMessage() {} |
| |
| func (x *ScheduleBuildRequest_Swarming) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[21] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use ScheduleBuildRequest_Swarming.ProtoReflect.Descriptor instead. |
| func (*ScheduleBuildRequest_Swarming) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{6, 1} |
| } |
| |
| func (x *ScheduleBuildRequest_Swarming) GetParentRunId() string { |
| if x != nil { |
| return x.ParentRunId |
| } |
| return "" |
| } |
| |
| // Information for scheduling a build as a shadow build. |
| type ScheduleBuildRequest_ShadowInput struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Flag for whether the build should inherit its parent build's agent input |
| // and agent source. |
| InheritFromParent bool `protobuf:"varint,1,opt,name=inherit_from_parent,json=inheritFromParent,proto3" json:"inherit_from_parent,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *ScheduleBuildRequest_ShadowInput) Reset() { |
| *x = ScheduleBuildRequest_ShadowInput{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[22] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *ScheduleBuildRequest_ShadowInput) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ScheduleBuildRequest_ShadowInput) ProtoMessage() {} |
| |
| func (x *ScheduleBuildRequest_ShadowInput) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[22] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use ScheduleBuildRequest_ShadowInput.ProtoReflect.Descriptor instead. |
| func (*ScheduleBuildRequest_ShadowInput) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{6, 2} |
| } |
| |
| func (x *ScheduleBuildRequest_ShadowInput) GetInheritFromParent() bool { |
| if x != nil { |
| return x.InheritFromParent |
| } |
| return false |
| } |
| |
| // ResultDB-specific part of build request. |
| type ScheduleBuildRequest_ResultDB struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Whether to create the ResultDB invocation for this build as an export |
| // root. See ResultDB invocation.is_export_root for more information. |
| // |
| // By default, only buildbucket builds that do not have a parent are |
| // defined as an export root, as invocations for child builds are included |
| // in their parents. |
| IsExportRootOverride bool `protobuf:"varint,1,opt,name=is_export_root_override,json=isExportRootOverride,proto3" json:"is_export_root_override,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *ScheduleBuildRequest_ResultDB) Reset() { |
| *x = ScheduleBuildRequest_ResultDB{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[23] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *ScheduleBuildRequest_ResultDB) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*ScheduleBuildRequest_ResultDB) ProtoMessage() {} |
| |
| func (x *ScheduleBuildRequest_ResultDB) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[23] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use ScheduleBuildRequest_ResultDB.ProtoReflect.Descriptor instead. |
| func (*ScheduleBuildRequest_ResultDB) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{6, 3} |
| } |
| |
| func (x *ScheduleBuildRequest_ResultDB) GetIsExportRootOverride() bool { |
| if x != nil { |
| return x.IsExportRootOverride |
| } |
| return false |
| } |
| |
| type CustomMetricPreviewResponse_Report struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| // Metric fields with their values. |
| // Includes the base fields and extra fields for the custom metric. |
| Fields []*StringPair `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *CustomMetricPreviewResponse_Report) Reset() { |
| *x = CustomMetricPreviewResponse_Report{} |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[25] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *CustomMetricPreviewResponse_Report) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*CustomMetricPreviewResponse_Report) ProtoMessage() {} |
| |
| func (x *CustomMetricPreviewResponse_Report) ProtoReflect() protoreflect.Message { |
| mi := &file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[25] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use CustomMetricPreviewResponse_Report.ProtoReflect.Descriptor instead. |
| func (*CustomMetricPreviewResponse_Report) Descriptor() ([]byte, []int) { |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP(), []int{14, 0} |
| } |
| |
| func (x *CustomMetricPreviewResponse_Report) GetFields() []*StringPair { |
| if x != nil { |
| return x.Fields |
| } |
| return nil |
| } |
| |
| var File_go_chromium_org_luci_buildbucket_proto_builds_service_proto protoreflect.FileDescriptor |
| |
| const file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDesc = "" + |
| "\n" + |
| ";go.chromium.org/luci/buildbucket/proto/builds_service.proto\x12\x0ebuildbucket.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x17google/rpc/status.proto\x1a2go.chromium.org/luci/buildbucket/proto/build.proto\x1a;go.chromium.org/luci/buildbucket/proto/builder_common.proto\x1a3go.chromium.org/luci/buildbucket/proto/common.proto\x1a9go.chromium.org/luci/buildbucket/proto/notification.proto\x1a;go.chromium.org/luci/buildbucket/proto/project_config.proto\x1a;go.chromium.org/luci/buildbucket/proto/service_config.proto\x1a=go.chromium.org/luci/common/proto/structmask/structmask.proto\"\xe0\x01\n" + |
| "\x0fGetBuildRequest\x12\x0e\n" + |
| "\x02id\x18\x01 \x01(\x03R\x02id\x123\n" + |
| "\abuilder\x18\x02 \x01(\v2\x19.buildbucket.v2.BuilderIDR\abuilder\x12!\n" + |
| "\fbuild_number\x18\x03 \x01(\x05R\vbuildNumber\x126\n" + |
| "\x06fields\x18d \x01(\v2\x1a.google.protobuf.FieldMaskB\x02\x18\x01R\x06fields\x12-\n" + |
| "\x04mask\x18e \x01(\v2\x19.buildbucket.v2.BuildMaskR\x04mask\"\xf6\x01\n" + |
| "\x13SearchBuildsRequest\x12<\n" + |
| "\tpredicate\x18\x01 \x01(\v2\x1e.buildbucket.v2.BuildPredicateR\tpredicate\x126\n" + |
| "\x06fields\x18d \x01(\v2\x1a.google.protobuf.FieldMaskB\x02\x18\x01R\x06fields\x12-\n" + |
| "\x04mask\x18g \x01(\v2\x19.buildbucket.v2.BuildMaskR\x04mask\x12\x1b\n" + |
| "\tpage_size\x18e \x01(\x05R\bpageSize\x12\x1d\n" + |
| "\n" + |
| "page_token\x18f \x01(\tR\tpageToken\"m\n" + |
| "\x14SearchBuildsResponse\x12-\n" + |
| "\x06builds\x18\x01 \x03(\v2\x15.buildbucket.v2.BuildR\x06builds\x12&\n" + |
| "\x0fnext_page_token\x18d \x01(\tR\rnextPageToken\"\xde\x03\n" + |
| "\fBatchRequest\x12@\n" + |
| "\brequests\x18\x01 \x03(\v2$.buildbucket.v2.BatchRequest.RequestR\brequests\x1a\x8b\x03\n" + |
| "\aRequest\x12>\n" + |
| "\tget_build\x18\x01 \x01(\v2\x1f.buildbucket.v2.GetBuildRequestH\x00R\bgetBuild\x12J\n" + |
| "\rsearch_builds\x18\x02 \x01(\v2#.buildbucket.v2.SearchBuildsRequestH\x00R\fsearchBuilds\x12M\n" + |
| "\x0eschedule_build\x18\x03 \x01(\v2$.buildbucket.v2.ScheduleBuildRequestH\x00R\rscheduleBuild\x12G\n" + |
| "\fcancel_build\x18\x04 \x01(\v2\".buildbucket.v2.CancelBuildRequestH\x00R\vcancelBuild\x12Q\n" + |
| "\x10get_build_status\x18\x05 \x01(\v2%.buildbucket.v2.GetBuildStatusRequestH\x00R\x0egetBuildStatusB\t\n" + |
| "\arequest\"\xdc\x03\n" + |
| "\rBatchResponse\x12D\n" + |
| "\tresponses\x18\x01 \x03(\v2&.buildbucket.v2.BatchResponse.ResponseR\tresponses\x1a\x84\x03\n" + |
| "\bResponse\x124\n" + |
| "\tget_build\x18\x01 \x01(\v2\x15.buildbucket.v2.BuildH\x00R\bgetBuild\x12K\n" + |
| "\rsearch_builds\x18\x02 \x01(\v2$.buildbucket.v2.SearchBuildsResponseH\x00R\fsearchBuilds\x12>\n" + |
| "\x0eschedule_build\x18\x03 \x01(\v2\x15.buildbucket.v2.BuildH\x00R\rscheduleBuild\x12:\n" + |
| "\fcancel_build\x18\x04 \x01(\v2\x15.buildbucket.v2.BuildH\x00R\vcancelBuild\x12A\n" + |
| "\x10get_build_status\x18\x05 \x01(\v2\x15.buildbucket.v2.BuildH\x00R\x0egetBuildStatus\x12*\n" + |
| "\x05error\x18d \x01(\v2\x12.google.rpc.StatusH\x00R\x05errorB\n" + |
| "\n" + |
| "\bresponse\"\xe5\x01\n" + |
| "\x12UpdateBuildRequest\x12+\n" + |
| "\x05build\x18\x01 \x01(\v2\x15.buildbucket.v2.BuildR\x05build\x12;\n" + |
| "\vupdate_mask\x18\x02 \x01(\v2\x1a.google.protobuf.FieldMaskR\n" + |
| "updateMask\x126\n" + |
| "\x06fields\x18d \x01(\v2\x1a.google.protobuf.FieldMaskB\x02\x18\x01R\x06fields\x12-\n" + |
| "\x04mask\x18e \x01(\v2\x19.buildbucket.v2.BuildMaskR\x04mask\"\xa3\x0e\n" + |
| "\x14ScheduleBuildRequest\x12\x1d\n" + |
| "\n" + |
| "request_id\x18\x01 \x01(\tR\trequestId\x12*\n" + |
| "\x11template_build_id\x18\x02 \x01(\x03R\x0ftemplateBuildId\x123\n" + |
| "\abuilder\x18\x03 \x01(\v2\x19.buildbucket.v2.BuilderIDR\abuilder\x12/\n" + |
| "\x06canary\x18\x04 \x01(\x0e2\x17.buildbucket.v2.TrinaryR\x06canary\x12;\n" + |
| "\fexperimental\x18\x05 \x01(\x0e2\x17.buildbucket.v2.TrinaryR\fexperimental\x12W\n" + |
| "\vexperiments\x18\x10 \x03(\v25.buildbucket.v2.ScheduleBuildRequest.ExperimentsEntryR\vexperiments\x127\n" + |
| "\n" + |
| "properties\x18\x06 \x01(\v2\x17.google.protobuf.StructR\n" + |
| "properties\x12D\n" + |
| "\x0egitiles_commit\x18\a \x01(\v2\x1d.buildbucket.v2.GitilesCommitR\rgitilesCommit\x12C\n" + |
| "\x0egerrit_changes\x18\b \x03(\v2\x1c.buildbucket.v2.GerritChangeR\rgerritChanges\x12.\n" + |
| "\x04tags\x18\t \x03(\v2\x1a.buildbucket.v2.StringPairR\x04tags\x12B\n" + |
| "\n" + |
| "dimensions\x18\n" + |
| " \x03(\v2\".buildbucket.v2.RequestedDimensionR\n" + |
| "dimensions\x12\x1a\n" + |
| "\bpriority\x18\v \x01(\x05R\bpriority\x12:\n" + |
| "\x06notify\x18\f \x01(\v2\".buildbucket.v2.NotificationConfigR\x06notify\x126\n" + |
| "\x06fields\x18d \x01(\v2\x1a.google.protobuf.FieldMaskB\x02\x18\x01R\x06fields\x12-\n" + |
| "\x04mask\x18e \x01(\v2\x19.buildbucket.v2.BuildMaskR\x04mask\x123\n" + |
| "\bcritical\x18\r \x01(\x0e2\x17.buildbucket.v2.TrinaryR\bcritical\x12,\n" + |
| "\x03exe\x18\x0e \x01(\v2\x1a.buildbucket.v2.ExecutableR\x03exe\x12I\n" + |
| "\bswarming\x18\x0f \x01(\v2-.buildbucket.v2.ScheduleBuildRequest.SwarmingR\bswarming\x12H\n" + |
| "\x12scheduling_timeout\x18\x11 \x01(\v2\x19.google.protobuf.DurationR\x11schedulingTimeout\x12F\n" + |
| "\x11execution_timeout\x18\x12 \x01(\v2\x19.google.protobuf.DurationR\x10executionTimeout\x12<\n" + |
| "\fgrace_period\x18\x13 \x01(\v2\x19.google.protobuf.DurationR\vgracePeriod\x12\x17\n" + |
| "\adry_run\x18\x14 \x01(\bR\x06dryRun\x12E\n" + |
| "\x12can_outlive_parent\x18\x15 \x01(\x0e2\x17.buildbucket.v2.TrinaryR\x10canOutliveParent\x12&\n" + |
| "\x0fparent_build_id\x18\x19 \x01(\x03R\rparentBuildId\x125\n" + |
| "\tretriable\x18\x16 \x01(\x0e2\x17.buildbucket.v2.TrinaryR\tretriable\x12S\n" + |
| "\fshadow_input\x18\x17 \x01(\v20.buildbucket.v2.ScheduleBuildRequest.ShadowInputR\vshadowInput\x12I\n" + |
| "\bresultdb\x18\x18 \x01(\v2-.buildbucket.v2.ScheduleBuildRequest.ResultDBR\bresultdb\x1a>\n" + |
| "\x10ExperimentsEntry\x12\x10\n" + |
| "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + |
| "\x05value\x18\x02 \x01(\bR\x05value:\x028\x01\x1a.\n" + |
| "\bSwarming\x12\"\n" + |
| "\rparent_run_id\x18\x01 \x01(\tR\vparentRunId\x1a=\n" + |
| "\vShadowInput\x12.\n" + |
| "\x13inherit_from_parent\x18\x01 \x01(\bR\x11inheritFromParent\x1aA\n" + |
| "\bResultDB\x125\n" + |
| "\x17is_export_root_override\x18\x01 \x01(\bR\x14isExportRootOverride\"\xb6\x01\n" + |
| "\x12CancelBuildRequest\x12\x0e\n" + |
| "\x02id\x18\x01 \x01(\x03R\x02id\x12)\n" + |
| "\x10summary_markdown\x18\x02 \x01(\tR\x0fsummaryMarkdown\x126\n" + |
| "\x06fields\x18d \x01(\v2\x1a.google.protobuf.FieldMaskB\x02\x18\x01R\x06fields\x12-\n" + |
| "\x04mask\x18e \x01(\v2\x19.buildbucket.v2.BuildMaskR\x04mask\"\x94\x01\n" + |
| "\x12CreateBuildRequest\x120\n" + |
| "\x05build\x18\x01 \x01(\v2\x15.buildbucket.v2.BuildB\x03\xe0A\x02R\x05build\x12\x1d\n" + |
| "\n" + |
| "request_id\x18\x02 \x01(\tR\trequestId\x12-\n" + |
| "\x04mask\x18\x03 \x01(\v2\x19.buildbucket.v2.BuildMaskR\x04mask\"\x94\x02\n" + |
| "\x16SynthesizeBuildRequest\x12*\n" + |
| "\x11template_build_id\x18\x01 \x01(\x03R\x0ftemplateBuildId\x123\n" + |
| "\abuilder\x18\x02 \x01(\v2\x19.buildbucket.v2.BuilderIDR\abuilder\x12Y\n" + |
| "\vexperiments\x18\x03 \x03(\v27.buildbucket.v2.SynthesizeBuildRequest.ExperimentsEntryR\vexperiments\x1a>\n" + |
| "\x10ExperimentsEntry\x12\x10\n" + |
| "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + |
| "\x05value\x18\x02 \x01(\bR\x05value:\x028\x01\"u\n" + |
| "\x11StartBuildRequest\x12\"\n" + |
| "\n" + |
| "request_id\x18\x01 \x01(\tB\x03\xe0A\x02R\trequestId\x12\x1e\n" + |
| "\bbuild_id\x18\x02 \x01(\x03B\x03\xe0A\x02R\abuildId\x12\x1c\n" + |
| "\atask_id\x18\x03 \x01(\tB\x03\xe0A\x02R\x06taskId\"\x9f\x01\n" + |
| "\x12StartBuildResponse\x12+\n" + |
| "\x05build\x18\x01 \x01(\v2\x15.buildbucket.v2.BuildR\x05build\x12,\n" + |
| "\x12update_build_token\x18\x02 \x01(\tR\x10updateBuildToken\x12.\n" + |
| "\x13stage_attempt_token\x18\x03 \x01(\tR\x11stageAttemptToken\"\x7f\n" + |
| "\x15GetBuildStatusRequest\x12\x0e\n" + |
| "\x02id\x18\x01 \x01(\x03R\x02id\x123\n" + |
| "\abuilder\x18\x02 \x01(\v2\x19.buildbucket.v2.BuilderIDR\abuilder\x12!\n" + |
| "\fbuild_number\x18\x03 \x01(\x05R\vbuildNumber\"\xde\x01\n" + |
| "\x1aCustomMetricPreviewRequest\x12\x1e\n" + |
| "\bbuild_id\x18\x01 \x01(\x03B\x03\xe0A\x02R\abuildId\x12U\n" + |
| "\x11metric_definition\x18\x02 \x01(\v2#.buildbucket.CustomMetricDefinitionB\x03\xe0A\x02R\x10metricDefinition\x12@\n" + |
| "\vmetric_base\x18\x03 \x01(\x0e2\x1d.buildbucket.CustomMetricBaseH\x00R\n" + |
| "metricBaseB\a\n" + |
| "\x05class\"\xcd\x01\n" + |
| "\x1bCustomMetricPreviewResponse\x12L\n" + |
| "\x06report\x18\x01 \x01(\v22.buildbucket.v2.CustomMetricPreviewResponse.ReportH\x00R\x06report\x12\x16\n" + |
| "\x05error\x18d \x01(\tH\x00R\x05error\x1a<\n" + |
| "\x06Report\x122\n" + |
| "\x06fields\x18\x01 \x03(\v2\x1a.buildbucket.v2.StringPairR\x06fieldsB\n" + |
| "\n" + |
| "\bresponse\"\xea\x02\n" + |
| "\tBuildMask\x122\n" + |
| "\x06fields\x18\x01 \x01(\v2\x1a.google.protobuf.FieldMaskR\x06fields\x12A\n" + |
| "\x10input_properties\x18\x02 \x03(\v2\x16.structmask.StructMaskR\x0finputProperties\x12C\n" + |
| "\x11output_properties\x18\x03 \x03(\v2\x16.structmask.StructMaskR\x10outputProperties\x12I\n" + |
| "\x14requested_properties\x18\x04 \x03(\v2\x16.structmask.StructMaskR\x13requestedProperties\x12\x1d\n" + |
| "\n" + |
| "all_fields\x18\x05 \x01(\bR\tallFields\x127\n" + |
| "\vstep_status\x18\x06 \x03(\x0e2\x16.buildbucket.v2.StatusR\n" + |
| "stepStatus\"\x90\x05\n" + |
| "\x0eBuildPredicate\x123\n" + |
| "\abuilder\x18\x01 \x01(\v2\x19.buildbucket.v2.BuilderIDR\abuilder\x12.\n" + |
| "\x06status\x18\x02 \x01(\x0e2\x16.buildbucket.v2.StatusR\x06status\x12C\n" + |
| "\x0egerrit_changes\x18\x03 \x03(\v2\x1c.buildbucket.v2.GerritChangeR\rgerritChanges\x12Q\n" + |
| "\x15output_gitiles_commit\x18\x04 \x01(\v2\x1d.buildbucket.v2.GitilesCommitR\x13outputGitilesCommit\x12\x1d\n" + |
| "\n" + |
| "created_by\x18\x05 \x01(\tR\tcreatedBy\x12.\n" + |
| "\x04tags\x18\x06 \x03(\v2\x1a.buildbucket.v2.StringPairR\x04tags\x12:\n" + |
| "\vcreate_time\x18\a \x01(\v2\x19.buildbucket.v2.TimeRangeR\n" + |
| "createTime\x121\n" + |
| "\x14include_experimental\x18\b \x01(\bR\x13includeExperimental\x120\n" + |
| "\x05build\x18\t \x01(\v2\x1a.buildbucket.v2.BuildRangeR\x05build\x12/\n" + |
| "\x06canary\x18\n" + |
| " \x01(\x0e2\x17.buildbucket.v2.TrinaryR\x06canary\x12 \n" + |
| "\vexperiments\x18\v \x03(\tR\vexperiments\x12#\n" + |
| "\rdescendant_of\x18\f \x01(\x03R\fdescendantOf\x12\x19\n" + |
| "\bchild_of\x18\r \x01(\x03R\achildOf\"T\n" + |
| "\n" + |
| "BuildRange\x12$\n" + |
| "\x0estart_build_id\x18\x01 \x01(\x03R\fstartBuildId\x12 \n" + |
| "\fend_build_id\x18\x02 \x01(\x03R\n" + |
| "endBuildId2\x96\a\n" + |
| "\x06Builds\x12D\n" + |
| "\bGetBuild\x12\x1f.buildbucket.v2.GetBuildRequest\x1a\x15.buildbucket.v2.Build\"\x00\x12[\n" + |
| "\fSearchBuilds\x12#.buildbucket.v2.SearchBuildsRequest\x1a$.buildbucket.v2.SearchBuildsResponse\"\x00\x12J\n" + |
| "\vUpdateBuild\x12\".buildbucket.v2.UpdateBuildRequest\x1a\x15.buildbucket.v2.Build\"\x00\x12N\n" + |
| "\rScheduleBuild\x12$.buildbucket.v2.ScheduleBuildRequest\x1a\x15.buildbucket.v2.Build\"\x00\x12J\n" + |
| "\vCancelBuild\x12\".buildbucket.v2.CancelBuildRequest\x1a\x15.buildbucket.v2.Build\"\x00\x12F\n" + |
| "\x05Batch\x12\x1c.buildbucket.v2.BatchRequest\x1a\x1d.buildbucket.v2.BatchResponse\"\x00\x12J\n" + |
| "\vCreateBuild\x12\".buildbucket.v2.CreateBuildRequest\x1a\x15.buildbucket.v2.Build\"\x00\x12R\n" + |
| "\x0fSynthesizeBuild\x12&.buildbucket.v2.SynthesizeBuildRequest\x1a\x15.buildbucket.v2.Build\"\x00\x12P\n" + |
| "\x0eGetBuildStatus\x12%.buildbucket.v2.GetBuildStatusRequest\x1a\x15.buildbucket.v2.Build\"\x00\x12U\n" + |
| "\n" + |
| "StartBuild\x12!.buildbucket.v2.StartBuildRequest\x1a\".buildbucket.v2.StartBuildResponse\"\x00\x12p\n" + |
| "\x13CustomMetricPreview\x12*.buildbucket.v2.CustomMetricPreviewRequest\x1a+.buildbucket.v2.CustomMetricPreviewResponse\"\x00B6Z4go.chromium.org/luci/buildbucket/proto;buildbucketpbb\x06proto3" |
| |
| var ( |
| file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescOnce sync.Once |
| file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescData []byte |
| ) |
| |
| func file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescGZIP() []byte { |
| file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescOnce.Do(func() { |
| file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDesc), len(file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDesc))) |
| }) |
| return file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDescData |
| } |
| |
| var file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes = make([]protoimpl.MessageInfo, 26) |
| var file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_goTypes = []any{ |
| (*GetBuildRequest)(nil), // 0: buildbucket.v2.GetBuildRequest |
| (*SearchBuildsRequest)(nil), // 1: buildbucket.v2.SearchBuildsRequest |
| (*SearchBuildsResponse)(nil), // 2: buildbucket.v2.SearchBuildsResponse |
| (*BatchRequest)(nil), // 3: buildbucket.v2.BatchRequest |
| (*BatchResponse)(nil), // 4: buildbucket.v2.BatchResponse |
| (*UpdateBuildRequest)(nil), // 5: buildbucket.v2.UpdateBuildRequest |
| (*ScheduleBuildRequest)(nil), // 6: buildbucket.v2.ScheduleBuildRequest |
| (*CancelBuildRequest)(nil), // 7: buildbucket.v2.CancelBuildRequest |
| (*CreateBuildRequest)(nil), // 8: buildbucket.v2.CreateBuildRequest |
| (*SynthesizeBuildRequest)(nil), // 9: buildbucket.v2.SynthesizeBuildRequest |
| (*StartBuildRequest)(nil), // 10: buildbucket.v2.StartBuildRequest |
| (*StartBuildResponse)(nil), // 11: buildbucket.v2.StartBuildResponse |
| (*GetBuildStatusRequest)(nil), // 12: buildbucket.v2.GetBuildStatusRequest |
| (*CustomMetricPreviewRequest)(nil), // 13: buildbucket.v2.CustomMetricPreviewRequest |
| (*CustomMetricPreviewResponse)(nil), // 14: buildbucket.v2.CustomMetricPreviewResponse |
| (*BuildMask)(nil), // 15: buildbucket.v2.BuildMask |
| (*BuildPredicate)(nil), // 16: buildbucket.v2.BuildPredicate |
| (*BuildRange)(nil), // 17: buildbucket.v2.BuildRange |
| (*BatchRequest_Request)(nil), // 18: buildbucket.v2.BatchRequest.Request |
| (*BatchResponse_Response)(nil), // 19: buildbucket.v2.BatchResponse.Response |
| nil, // 20: buildbucket.v2.ScheduleBuildRequest.ExperimentsEntry |
| (*ScheduleBuildRequest_Swarming)(nil), // 21: buildbucket.v2.ScheduleBuildRequest.Swarming |
| (*ScheduleBuildRequest_ShadowInput)(nil), // 22: buildbucket.v2.ScheduleBuildRequest.ShadowInput |
| (*ScheduleBuildRequest_ResultDB)(nil), // 23: buildbucket.v2.ScheduleBuildRequest.ResultDB |
| nil, // 24: buildbucket.v2.SynthesizeBuildRequest.ExperimentsEntry |
| (*CustomMetricPreviewResponse_Report)(nil), // 25: buildbucket.v2.CustomMetricPreviewResponse.Report |
| (*BuilderID)(nil), // 26: buildbucket.v2.BuilderID |
| (*fieldmaskpb.FieldMask)(nil), // 27: google.protobuf.FieldMask |
| (*Build)(nil), // 28: buildbucket.v2.Build |
| (Trinary)(0), // 29: buildbucket.v2.Trinary |
| (*structpb.Struct)(nil), // 30: google.protobuf.Struct |
| (*GitilesCommit)(nil), // 31: buildbucket.v2.GitilesCommit |
| (*GerritChange)(nil), // 32: buildbucket.v2.GerritChange |
| (*StringPair)(nil), // 33: buildbucket.v2.StringPair |
| (*RequestedDimension)(nil), // 34: buildbucket.v2.RequestedDimension |
| (*NotificationConfig)(nil), // 35: buildbucket.v2.NotificationConfig |
| (*Executable)(nil), // 36: buildbucket.v2.Executable |
| (*durationpb.Duration)(nil), // 37: google.protobuf.Duration |
| (*CustomMetricDefinition)(nil), // 38: buildbucket.CustomMetricDefinition |
| (CustomMetricBase)(0), // 39: buildbucket.CustomMetricBase |
| (*structmask.StructMask)(nil), // 40: structmask.StructMask |
| (Status)(0), // 41: buildbucket.v2.Status |
| (*TimeRange)(nil), // 42: buildbucket.v2.TimeRange |
| (*status.Status)(nil), // 43: google.rpc.Status |
| } |
| var file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_depIdxs = []int32{ |
| 26, // 0: buildbucket.v2.GetBuildRequest.builder:type_name -> buildbucket.v2.BuilderID |
| 27, // 1: buildbucket.v2.GetBuildRequest.fields:type_name -> google.protobuf.FieldMask |
| 15, // 2: buildbucket.v2.GetBuildRequest.mask:type_name -> buildbucket.v2.BuildMask |
| 16, // 3: buildbucket.v2.SearchBuildsRequest.predicate:type_name -> buildbucket.v2.BuildPredicate |
| 27, // 4: buildbucket.v2.SearchBuildsRequest.fields:type_name -> google.protobuf.FieldMask |
| 15, // 5: buildbucket.v2.SearchBuildsRequest.mask:type_name -> buildbucket.v2.BuildMask |
| 28, // 6: buildbucket.v2.SearchBuildsResponse.builds:type_name -> buildbucket.v2.Build |
| 18, // 7: buildbucket.v2.BatchRequest.requests:type_name -> buildbucket.v2.BatchRequest.Request |
| 19, // 8: buildbucket.v2.BatchResponse.responses:type_name -> buildbucket.v2.BatchResponse.Response |
| 28, // 9: buildbucket.v2.UpdateBuildRequest.build:type_name -> buildbucket.v2.Build |
| 27, // 10: buildbucket.v2.UpdateBuildRequest.update_mask:type_name -> google.protobuf.FieldMask |
| 27, // 11: buildbucket.v2.UpdateBuildRequest.fields:type_name -> google.protobuf.FieldMask |
| 15, // 12: buildbucket.v2.UpdateBuildRequest.mask:type_name -> buildbucket.v2.BuildMask |
| 26, // 13: buildbucket.v2.ScheduleBuildRequest.builder:type_name -> buildbucket.v2.BuilderID |
| 29, // 14: buildbucket.v2.ScheduleBuildRequest.canary:type_name -> buildbucket.v2.Trinary |
| 29, // 15: buildbucket.v2.ScheduleBuildRequest.experimental:type_name -> buildbucket.v2.Trinary |
| 20, // 16: buildbucket.v2.ScheduleBuildRequest.experiments:type_name -> buildbucket.v2.ScheduleBuildRequest.ExperimentsEntry |
| 30, // 17: buildbucket.v2.ScheduleBuildRequest.properties:type_name -> google.protobuf.Struct |
| 31, // 18: buildbucket.v2.ScheduleBuildRequest.gitiles_commit:type_name -> buildbucket.v2.GitilesCommit |
| 32, // 19: buildbucket.v2.ScheduleBuildRequest.gerrit_changes:type_name -> buildbucket.v2.GerritChange |
| 33, // 20: buildbucket.v2.ScheduleBuildRequest.tags:type_name -> buildbucket.v2.StringPair |
| 34, // 21: buildbucket.v2.ScheduleBuildRequest.dimensions:type_name -> buildbucket.v2.RequestedDimension |
| 35, // 22: buildbucket.v2.ScheduleBuildRequest.notify:type_name -> buildbucket.v2.NotificationConfig |
| 27, // 23: buildbucket.v2.ScheduleBuildRequest.fields:type_name -> google.protobuf.FieldMask |
| 15, // 24: buildbucket.v2.ScheduleBuildRequest.mask:type_name -> buildbucket.v2.BuildMask |
| 29, // 25: buildbucket.v2.ScheduleBuildRequest.critical:type_name -> buildbucket.v2.Trinary |
| 36, // 26: buildbucket.v2.ScheduleBuildRequest.exe:type_name -> buildbucket.v2.Executable |
| 21, // 27: buildbucket.v2.ScheduleBuildRequest.swarming:type_name -> buildbucket.v2.ScheduleBuildRequest.Swarming |
| 37, // 28: buildbucket.v2.ScheduleBuildRequest.scheduling_timeout:type_name -> google.protobuf.Duration |
| 37, // 29: buildbucket.v2.ScheduleBuildRequest.execution_timeout:type_name -> google.protobuf.Duration |
| 37, // 30: buildbucket.v2.ScheduleBuildRequest.grace_period:type_name -> google.protobuf.Duration |
| 29, // 31: buildbucket.v2.ScheduleBuildRequest.can_outlive_parent:type_name -> buildbucket.v2.Trinary |
| 29, // 32: buildbucket.v2.ScheduleBuildRequest.retriable:type_name -> buildbucket.v2.Trinary |
| 22, // 33: buildbucket.v2.ScheduleBuildRequest.shadow_input:type_name -> buildbucket.v2.ScheduleBuildRequest.ShadowInput |
| 23, // 34: buildbucket.v2.ScheduleBuildRequest.resultdb:type_name -> buildbucket.v2.ScheduleBuildRequest.ResultDB |
| 27, // 35: buildbucket.v2.CancelBuildRequest.fields:type_name -> google.protobuf.FieldMask |
| 15, // 36: buildbucket.v2.CancelBuildRequest.mask:type_name -> buildbucket.v2.BuildMask |
| 28, // 37: buildbucket.v2.CreateBuildRequest.build:type_name -> buildbucket.v2.Build |
| 15, // 38: buildbucket.v2.CreateBuildRequest.mask:type_name -> buildbucket.v2.BuildMask |
| 26, // 39: buildbucket.v2.SynthesizeBuildRequest.builder:type_name -> buildbucket.v2.BuilderID |
| 24, // 40: buildbucket.v2.SynthesizeBuildRequest.experiments:type_name -> buildbucket.v2.SynthesizeBuildRequest.ExperimentsEntry |
| 28, // 41: buildbucket.v2.StartBuildResponse.build:type_name -> buildbucket.v2.Build |
| 26, // 42: buildbucket.v2.GetBuildStatusRequest.builder:type_name -> buildbucket.v2.BuilderID |
| 38, // 43: buildbucket.v2.CustomMetricPreviewRequest.metric_definition:type_name -> buildbucket.CustomMetricDefinition |
| 39, // 44: buildbucket.v2.CustomMetricPreviewRequest.metric_base:type_name -> buildbucket.CustomMetricBase |
| 25, // 45: buildbucket.v2.CustomMetricPreviewResponse.report:type_name -> buildbucket.v2.CustomMetricPreviewResponse.Report |
| 27, // 46: buildbucket.v2.BuildMask.fields:type_name -> google.protobuf.FieldMask |
| 40, // 47: buildbucket.v2.BuildMask.input_properties:type_name -> structmask.StructMask |
| 40, // 48: buildbucket.v2.BuildMask.output_properties:type_name -> structmask.StructMask |
| 40, // 49: buildbucket.v2.BuildMask.requested_properties:type_name -> structmask.StructMask |
| 41, // 50: buildbucket.v2.BuildMask.step_status:type_name -> buildbucket.v2.Status |
| 26, // 51: buildbucket.v2.BuildPredicate.builder:type_name -> buildbucket.v2.BuilderID |
| 41, // 52: buildbucket.v2.BuildPredicate.status:type_name -> buildbucket.v2.Status |
| 32, // 53: buildbucket.v2.BuildPredicate.gerrit_changes:type_name -> buildbucket.v2.GerritChange |
| 31, // 54: buildbucket.v2.BuildPredicate.output_gitiles_commit:type_name -> buildbucket.v2.GitilesCommit |
| 33, // 55: buildbucket.v2.BuildPredicate.tags:type_name -> buildbucket.v2.StringPair |
| 42, // 56: buildbucket.v2.BuildPredicate.create_time:type_name -> buildbucket.v2.TimeRange |
| 17, // 57: buildbucket.v2.BuildPredicate.build:type_name -> buildbucket.v2.BuildRange |
| 29, // 58: buildbucket.v2.BuildPredicate.canary:type_name -> buildbucket.v2.Trinary |
| 0, // 59: buildbucket.v2.BatchRequest.Request.get_build:type_name -> buildbucket.v2.GetBuildRequest |
| 1, // 60: buildbucket.v2.BatchRequest.Request.search_builds:type_name -> buildbucket.v2.SearchBuildsRequest |
| 6, // 61: buildbucket.v2.BatchRequest.Request.schedule_build:type_name -> buildbucket.v2.ScheduleBuildRequest |
| 7, // 62: buildbucket.v2.BatchRequest.Request.cancel_build:type_name -> buildbucket.v2.CancelBuildRequest |
| 12, // 63: buildbucket.v2.BatchRequest.Request.get_build_status:type_name -> buildbucket.v2.GetBuildStatusRequest |
| 28, // 64: buildbucket.v2.BatchResponse.Response.get_build:type_name -> buildbucket.v2.Build |
| 2, // 65: buildbucket.v2.BatchResponse.Response.search_builds:type_name -> buildbucket.v2.SearchBuildsResponse |
| 28, // 66: buildbucket.v2.BatchResponse.Response.schedule_build:type_name -> buildbucket.v2.Build |
| 28, // 67: buildbucket.v2.BatchResponse.Response.cancel_build:type_name -> buildbucket.v2.Build |
| 28, // 68: buildbucket.v2.BatchResponse.Response.get_build_status:type_name -> buildbucket.v2.Build |
| 43, // 69: buildbucket.v2.BatchResponse.Response.error:type_name -> google.rpc.Status |
| 33, // 70: buildbucket.v2.CustomMetricPreviewResponse.Report.fields:type_name -> buildbucket.v2.StringPair |
| 0, // 71: buildbucket.v2.Builds.GetBuild:input_type -> buildbucket.v2.GetBuildRequest |
| 1, // 72: buildbucket.v2.Builds.SearchBuilds:input_type -> buildbucket.v2.SearchBuildsRequest |
| 5, // 73: buildbucket.v2.Builds.UpdateBuild:input_type -> buildbucket.v2.UpdateBuildRequest |
| 6, // 74: buildbucket.v2.Builds.ScheduleBuild:input_type -> buildbucket.v2.ScheduleBuildRequest |
| 7, // 75: buildbucket.v2.Builds.CancelBuild:input_type -> buildbucket.v2.CancelBuildRequest |
| 3, // 76: buildbucket.v2.Builds.Batch:input_type -> buildbucket.v2.BatchRequest |
| 8, // 77: buildbucket.v2.Builds.CreateBuild:input_type -> buildbucket.v2.CreateBuildRequest |
| 9, // 78: buildbucket.v2.Builds.SynthesizeBuild:input_type -> buildbucket.v2.SynthesizeBuildRequest |
| 12, // 79: buildbucket.v2.Builds.GetBuildStatus:input_type -> buildbucket.v2.GetBuildStatusRequest |
| 10, // 80: buildbucket.v2.Builds.StartBuild:input_type -> buildbucket.v2.StartBuildRequest |
| 13, // 81: buildbucket.v2.Builds.CustomMetricPreview:input_type -> buildbucket.v2.CustomMetricPreviewRequest |
| 28, // 82: buildbucket.v2.Builds.GetBuild:output_type -> buildbucket.v2.Build |
| 2, // 83: buildbucket.v2.Builds.SearchBuilds:output_type -> buildbucket.v2.SearchBuildsResponse |
| 28, // 84: buildbucket.v2.Builds.UpdateBuild:output_type -> buildbucket.v2.Build |
| 28, // 85: buildbucket.v2.Builds.ScheduleBuild:output_type -> buildbucket.v2.Build |
| 28, // 86: buildbucket.v2.Builds.CancelBuild:output_type -> buildbucket.v2.Build |
| 4, // 87: buildbucket.v2.Builds.Batch:output_type -> buildbucket.v2.BatchResponse |
| 28, // 88: buildbucket.v2.Builds.CreateBuild:output_type -> buildbucket.v2.Build |
| 28, // 89: buildbucket.v2.Builds.SynthesizeBuild:output_type -> buildbucket.v2.Build |
| 28, // 90: buildbucket.v2.Builds.GetBuildStatus:output_type -> buildbucket.v2.Build |
| 11, // 91: buildbucket.v2.Builds.StartBuild:output_type -> buildbucket.v2.StartBuildResponse |
| 14, // 92: buildbucket.v2.Builds.CustomMetricPreview:output_type -> buildbucket.v2.CustomMetricPreviewResponse |
| 82, // [82:93] is the sub-list for method output_type |
| 71, // [71:82] is the sub-list for method input_type |
| 71, // [71:71] is the sub-list for extension type_name |
| 71, // [71:71] is the sub-list for extension extendee |
| 0, // [0:71] is the sub-list for field type_name |
| } |
| |
| func init() { file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_init() } |
| func file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_init() { |
| if File_go_chromium_org_luci_buildbucket_proto_builds_service_proto != nil { |
| return |
| } |
| file_go_chromium_org_luci_buildbucket_proto_build_proto_init() |
| file_go_chromium_org_luci_buildbucket_proto_builder_common_proto_init() |
| file_go_chromium_org_luci_buildbucket_proto_common_proto_init() |
| file_go_chromium_org_luci_buildbucket_proto_notification_proto_init() |
| file_go_chromium_org_luci_buildbucket_proto_project_config_proto_init() |
| file_go_chromium_org_luci_buildbucket_proto_service_config_proto_init() |
| file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[13].OneofWrappers = []any{ |
| (*CustomMetricPreviewRequest_MetricBase)(nil), |
| } |
| file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[14].OneofWrappers = []any{ |
| (*CustomMetricPreviewResponse_Report_)(nil), |
| (*CustomMetricPreviewResponse_Error)(nil), |
| } |
| file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[18].OneofWrappers = []any{ |
| (*BatchRequest_Request_GetBuild)(nil), |
| (*BatchRequest_Request_SearchBuilds)(nil), |
| (*BatchRequest_Request_ScheduleBuild)(nil), |
| (*BatchRequest_Request_CancelBuild)(nil), |
| (*BatchRequest_Request_GetBuildStatus)(nil), |
| } |
| file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes[19].OneofWrappers = []any{ |
| (*BatchResponse_Response_GetBuild)(nil), |
| (*BatchResponse_Response_SearchBuilds)(nil), |
| (*BatchResponse_Response_ScheduleBuild)(nil), |
| (*BatchResponse_Response_CancelBuild)(nil), |
| (*BatchResponse_Response_GetBuildStatus)(nil), |
| (*BatchResponse_Response_Error)(nil), |
| } |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: unsafe.Slice(unsafe.StringData(file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDesc), len(file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_rawDesc)), |
| NumEnums: 0, |
| NumMessages: 26, |
| NumExtensions: 0, |
| NumServices: 1, |
| }, |
| GoTypes: file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_goTypes, |
| DependencyIndexes: file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_depIdxs, |
| MessageInfos: file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_msgTypes, |
| }.Build() |
| File_go_chromium_org_luci_buildbucket_proto_builds_service_proto = out.File |
| file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_goTypes = nil |
| file_go_chromium_org_luci_buildbucket_proto_builds_service_proto_depIdxs = nil |
| } |