aboutsummaryrefslogtreecommitdiff
path: root/google/devtools/resultstore/v2/configuration.proto
blob: eb3068625a0e6621450cb75ff71eb5cccf3e67b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// Copyright 2018 Google LLC.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

syntax = "proto3";

package google.devtools.resultstore.v2;

import "google/devtools/resultstore/v2/common.proto";

option go_package = "google.golang.org/genproto/googleapis/devtools/resultstore/v2;resultstore";
option java_multiple_files = true;
option java_package = "com.google.devtools.resultstore.v2";

// Represents a configuration within an Invocation associated with one or more
// ConfiguredTargets. It captures the environment and other settings that
// were used.
message Configuration {
  // The resource ID components that identify the Configuration.
  message Id {
    // The Invocation ID.
    string invocation_id = 1;

    // The Configuration ID.
    string configuration_id = 2;
  }

  // The format of this Configuration resource name must be:
  // invocations/${INVOCATION_ID}/configs/${CONFIG_ID}
  // The configuration ID of "default" should be preferred for the default
  // configuration in a single-config invocation.
  string name = 1;

  // The resource ID components that identify the Configuration. They must match
  // the resource name after proper encoding.
  Id id = 2;

  // The aggregate status for this configuration.
  StatusAttributes status_attributes = 3;

  // Attributes that apply only to this configuration.
  ConfigurationAttributes configuration_attributes = 5;

  // Arbitrary name-value pairs.
  // This is implemented as a multi-map. Multiple properties are allowed with
  // the same key. Properties will be returned in lexicographical order by key.
  repeated Property properties = 6;
}

// Attributes that apply only to the configuration.
message ConfigurationAttributes {
  // The type of cpu. (e.g. "x86", "powerpc")
  string cpu = 1;
}