vagrant-unbundled 2.3.2.0 → 2.3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/Gemfile.lock +12 -12
- data/LICENSE +1 -3
- data/lib/vagrant/errors.rb +4 -0
- data/lib/vagrant/util/install_cli_autocomplete.rb +3 -3
- data/lib/vagrant.rb +0 -3
- data/pkg/vagrant-unbundled-2.3.2.0.gem +0 -0
- data/plugins/commands/serve/command.rb +1 -1
- data/plugins/guests/solaris/cap/remove_public_key.rb +2 -2
- data/plugins/hosts/gentoo/host.rb +1 -1
- data/plugins/hosts/slackware/host.rb +1 -1
- data/plugins/providers/virtualbox/action/network.rb +8 -5
- data/plugins/providers/virtualbox/driver/base.rb +3 -1
- data/plugins/providers/virtualbox/driver/version_5_0.rb +40 -36
- data/plugins/providers/virtualbox/driver/version_7_0.rb +223 -5
- data/plugins/provisioners/ansible/cap/guest/debian/ansible_install.rb +1 -1
- data/plugins/provisioners/ansible/provisioner/host.rb +1 -1
- data/plugins/provisioners/chef/config/chef_zero.rb +1 -1
- data/plugins/synced_folders/rsync/helper.rb +1 -0
- data/templates/locales/en.yml +4 -0
- data/thirdparty/proto/api-common-protos/.bazelrc +2 -0
- data/thirdparty/proto/api-common-protos/.git +1 -0
- data/thirdparty/proto/api-common-protos/.gitignore +11 -0
- data/thirdparty/proto/api-common-protos/BUILD.bazel +129 -0
- data/thirdparty/proto/api-common-protos/CODE_OF_CONDUCT.md +43 -0
- data/thirdparty/proto/api-common-protos/CONTRIBUTING.md +42 -0
- data/thirdparty/proto/api-common-protos/Dockerfile +18 -0
- data/thirdparty/proto/api-common-protos/LICENSE +201 -0
- data/thirdparty/proto/api-common-protos/README.md +113 -0
- data/thirdparty/proto/api-common-protos/SECURITY.md +7 -0
- data/thirdparty/proto/api-common-protos/WORKSPACE +154 -0
- data/thirdparty/proto/api-common-protos/google/api/BUILD.bazel +246 -0
- data/thirdparty/proto/api-common-protos/google/api/README.md +46 -0
- data/thirdparty/proto/api-common-protos/google/api/annotations.proto +31 -0
- data/thirdparty/proto/api-common-protos/google/api/auth.proto +181 -0
- data/thirdparty/proto/api-common-protos/google/api/backend.proto +51 -0
- data/thirdparty/proto/api-common-protos/google/api/billing.proto +67 -0
- data/thirdparty/proto/api-common-protos/google/api/client.proto +99 -0
- data/thirdparty/proto/api-common-protos/google/api/config_change.proto +85 -0
- data/thirdparty/proto/api-common-protos/google/api/consumer.proto +83 -0
- data/thirdparty/proto/api-common-protos/google/api/context.proto +63 -0
- data/thirdparty/proto/api-common-protos/google/api/control.proto +33 -0
- data/thirdparty/proto/api-common-protos/google/api/distribution.proto +213 -0
- data/thirdparty/proto/api-common-protos/google/api/documentation.proto +157 -0
- data/thirdparty/proto/api-common-protos/google/api/endpoint.proto +71 -0
- data/thirdparty/proto/api-common-protos/google/api/field_behavior.proto +84 -0
- data/thirdparty/proto/api-common-protos/google/api/http.proto +318 -0
- data/thirdparty/proto/api-common-protos/google/api/httpbody.proto +76 -0
- data/thirdparty/proto/api-common-protos/google/api/label.proto +49 -0
- data/thirdparty/proto/api-common-protos/google/api/launch_stage.proto +67 -0
- data/thirdparty/proto/api-common-protos/google/api/log.proto +55 -0
- data/thirdparty/proto/api-common-protos/google/api/logging.proto +83 -0
- data/thirdparty/proto/api-common-protos/google/api/metric.proto +192 -0
- data/thirdparty/proto/api-common-protos/google/api/monitored_resource.proto +116 -0
- data/thirdparty/proto/api-common-protos/google/api/monitoring.proto +89 -0
- data/thirdparty/proto/api-common-protos/google/api/quota.proto +259 -0
- data/thirdparty/proto/api-common-protos/google/api/resource.proto +299 -0
- data/thirdparty/proto/api-common-protos/google/api/routing.proto +461 -0
- data/thirdparty/proto/api-common-protos/google/api/service.proto +175 -0
- data/thirdparty/proto/api-common-protos/google/api/source_info.proto +32 -0
- data/thirdparty/proto/api-common-protos/google/api/system_parameter.proto +96 -0
- data/thirdparty/proto/api-common-protos/google/api/usage.proto +92 -0
- data/thirdparty/proto/api-common-protos/google/cloud/extended_operations.proto +150 -0
- data/thirdparty/proto/api-common-protos/google/iam/README.md +14 -0
- data/thirdparty/proto/api-common-protos/google/iam/admin/v1/iam.proto +1087 -0
- data/thirdparty/proto/api-common-protos/google/iam/v1/iam_policy.proto +145 -0
- data/thirdparty/proto/api-common-protos/google/iam/v1/logging/audit_data.proto +34 -0
- data/thirdparty/proto/api-common-protos/google/iam/v1/options.proto +41 -0
- data/thirdparty/proto/api-common-protos/google/iam/v1/policy.proto +240 -0
- data/thirdparty/proto/api-common-protos/google/logging/type/README.md +12 -0
- data/thirdparty/proto/api-common-protos/google/logging/type/http_request.proto +92 -0
- data/thirdparty/proto/api-common-protos/google/logging/type/log_severity.proto +72 -0
- data/thirdparty/proto/api-common-protos/google/longrunning/README.md +31 -0
- data/thirdparty/proto/api-common-protos/google/longrunning/operations.proto +247 -0
- data/thirdparty/proto/api-common-protos/google/rpc/README.md +18 -0
- data/thirdparty/proto/api-common-protos/google/rpc/code.proto +186 -0
- data/thirdparty/proto/api-common-protos/google/rpc/context/attribute_context.proto +287 -0
- data/thirdparty/proto/api-common-protos/google/rpc/error_details.proto +246 -0
- data/thirdparty/proto/api-common-protos/google/rpc/status.proto +47 -0
- data/thirdparty/proto/api-common-protos/google/type/README.md +7 -0
- data/thirdparty/proto/api-common-protos/google/type/calendar_period.proto +57 -0
- data/thirdparty/proto/api-common-protos/google/type/color.proto +170 -0
- data/thirdparty/proto/api-common-protos/google/type/date.proto +50 -0
- data/thirdparty/proto/api-common-protos/google/type/datetime.proto +97 -0
- data/thirdparty/proto/api-common-protos/google/type/dayofweek.proto +51 -0
- data/thirdparty/proto/api-common-protos/google/type/expr.proto +51 -0
- data/thirdparty/proto/api-common-protos/google/type/fraction.proto +34 -0
- data/thirdparty/proto/api-common-protos/google/type/latlng.proto +37 -0
- data/thirdparty/proto/api-common-protos/google/type/money.proto +43 -0
- data/thirdparty/proto/api-common-protos/google/type/month.proto +66 -0
- data/thirdparty/proto/api-common-protos/google/type/postal_address.proto +135 -0
- data/thirdparty/proto/api-common-protos/google/type/quaternion.proto +95 -0
- data/thirdparty/proto/api-common-protos/google/type/timeofday.proto +44 -0
- data/thirdparty/proto/api-common-protos/renovate.json +5 -0
- data/thirdparty/proto/api-common-protos/repository_rules.bzl +222 -0
- data/vagrant.gemspec +4 -4
- data/version.txt +1 -1
- metadata +89 -20
- data/lib/vagrant/patches/net-ssh.rb +0 -286
@@ -0,0 +1,170 @@
|
|
1
|
+
// Copyright 2019 Google LLC.
|
2
|
+
//
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
// you may not use this file except in compliance with the License.
|
5
|
+
// You may obtain a copy of the License at
|
6
|
+
//
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
//
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
// See the License for the specific language governing permissions and
|
13
|
+
// limitations under the License.
|
14
|
+
//
|
15
|
+
|
16
|
+
syntax = "proto3";
|
17
|
+
|
18
|
+
package google.type;
|
19
|
+
|
20
|
+
import "google/protobuf/wrappers.proto";
|
21
|
+
|
22
|
+
option cc_enable_arenas = true;
|
23
|
+
option go_package = "google.golang.org/genproto/googleapis/type/color;color";
|
24
|
+
option java_multiple_files = true;
|
25
|
+
option java_outer_classname = "ColorProto";
|
26
|
+
option java_package = "com.google.type";
|
27
|
+
option objc_class_prefix = "GTP";
|
28
|
+
|
29
|
+
// Represents a color in the RGBA color space. This representation is designed
|
30
|
+
// for simplicity of conversion to/from color representations in various
|
31
|
+
// languages over compactness; for example, the fields of this representation
|
32
|
+
// can be trivially provided to the constructor of "java.awt.Color" in Java; it
|
33
|
+
// can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
|
34
|
+
// method in iOS; and, with just a little work, it can be easily formatted into
|
35
|
+
// a CSS "rgba()" string in JavaScript, as well.
|
36
|
+
//
|
37
|
+
// Note: this proto does not carry information about the absolute color space
|
38
|
+
// that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
|
39
|
+
// DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
|
40
|
+
// space.
|
41
|
+
//
|
42
|
+
// Example (Java):
|
43
|
+
//
|
44
|
+
// import com.google.type.Color;
|
45
|
+
//
|
46
|
+
// // ...
|
47
|
+
// public static java.awt.Color fromProto(Color protocolor) {
|
48
|
+
// float alpha = protocolor.hasAlpha()
|
49
|
+
// ? protocolor.getAlpha().getValue()
|
50
|
+
// : 1.0;
|
51
|
+
//
|
52
|
+
// return new java.awt.Color(
|
53
|
+
// protocolor.getRed(),
|
54
|
+
// protocolor.getGreen(),
|
55
|
+
// protocolor.getBlue(),
|
56
|
+
// alpha);
|
57
|
+
// }
|
58
|
+
//
|
59
|
+
// public static Color toProto(java.awt.Color color) {
|
60
|
+
// float red = (float) color.getRed();
|
61
|
+
// float green = (float) color.getGreen();
|
62
|
+
// float blue = (float) color.getBlue();
|
63
|
+
// float denominator = 255.0;
|
64
|
+
// Color.Builder resultBuilder =
|
65
|
+
// Color
|
66
|
+
// .newBuilder()
|
67
|
+
// .setRed(red / denominator)
|
68
|
+
// .setGreen(green / denominator)
|
69
|
+
// .setBlue(blue / denominator);
|
70
|
+
// int alpha = color.getAlpha();
|
71
|
+
// if (alpha != 255) {
|
72
|
+
// result.setAlpha(
|
73
|
+
// FloatValue
|
74
|
+
// .newBuilder()
|
75
|
+
// .setValue(((float) alpha) / denominator)
|
76
|
+
// .build());
|
77
|
+
// }
|
78
|
+
// return resultBuilder.build();
|
79
|
+
// }
|
80
|
+
// // ...
|
81
|
+
//
|
82
|
+
// Example (iOS / Obj-C):
|
83
|
+
//
|
84
|
+
// // ...
|
85
|
+
// static UIColor* fromProto(Color* protocolor) {
|
86
|
+
// float red = [protocolor red];
|
87
|
+
// float green = [protocolor green];
|
88
|
+
// float blue = [protocolor blue];
|
89
|
+
// FloatValue* alpha_wrapper = [protocolor alpha];
|
90
|
+
// float alpha = 1.0;
|
91
|
+
// if (alpha_wrapper != nil) {
|
92
|
+
// alpha = [alpha_wrapper value];
|
93
|
+
// }
|
94
|
+
// return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
|
95
|
+
// }
|
96
|
+
//
|
97
|
+
// static Color* toProto(UIColor* color) {
|
98
|
+
// CGFloat red, green, blue, alpha;
|
99
|
+
// if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) {
|
100
|
+
// return nil;
|
101
|
+
// }
|
102
|
+
// Color* result = [[Color alloc] init];
|
103
|
+
// [result setRed:red];
|
104
|
+
// [result setGreen:green];
|
105
|
+
// [result setBlue:blue];
|
106
|
+
// if (alpha <= 0.9999) {
|
107
|
+
// [result setAlpha:floatWrapperWithValue(alpha)];
|
108
|
+
// }
|
109
|
+
// [result autorelease];
|
110
|
+
// return result;
|
111
|
+
// }
|
112
|
+
// // ...
|
113
|
+
//
|
114
|
+
// Example (JavaScript):
|
115
|
+
//
|
116
|
+
// // ...
|
117
|
+
//
|
118
|
+
// var protoToCssColor = function(rgb_color) {
|
119
|
+
// var redFrac = rgb_color.red || 0.0;
|
120
|
+
// var greenFrac = rgb_color.green || 0.0;
|
121
|
+
// var blueFrac = rgb_color.blue || 0.0;
|
122
|
+
// var red = Math.floor(redFrac * 255);
|
123
|
+
// var green = Math.floor(greenFrac * 255);
|
124
|
+
// var blue = Math.floor(blueFrac * 255);
|
125
|
+
//
|
126
|
+
// if (!('alpha' in rgb_color)) {
|
127
|
+
// return rgbToCssColor_(red, green, blue);
|
128
|
+
// }
|
129
|
+
//
|
130
|
+
// var alphaFrac = rgb_color.alpha.value || 0.0;
|
131
|
+
// var rgbParams = [red, green, blue].join(',');
|
132
|
+
// return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
|
133
|
+
// };
|
134
|
+
//
|
135
|
+
// var rgbToCssColor_ = function(red, green, blue) {
|
136
|
+
// var rgbNumber = new Number((red << 16) | (green << 8) | blue);
|
137
|
+
// var hexString = rgbNumber.toString(16);
|
138
|
+
// var missingZeros = 6 - hexString.length;
|
139
|
+
// var resultBuilder = ['#'];
|
140
|
+
// for (var i = 0; i < missingZeros; i++) {
|
141
|
+
// resultBuilder.push('0');
|
142
|
+
// }
|
143
|
+
// resultBuilder.push(hexString);
|
144
|
+
// return resultBuilder.join('');
|
145
|
+
// };
|
146
|
+
//
|
147
|
+
// // ...
|
148
|
+
message Color {
|
149
|
+
// The amount of red in the color as a value in the interval [0, 1].
|
150
|
+
float red = 1;
|
151
|
+
|
152
|
+
// The amount of green in the color as a value in the interval [0, 1].
|
153
|
+
float green = 2;
|
154
|
+
|
155
|
+
// The amount of blue in the color as a value in the interval [0, 1].
|
156
|
+
float blue = 3;
|
157
|
+
|
158
|
+
// The fraction of this color that should be applied to the pixel. That is,
|
159
|
+
// the final pixel color is defined by the equation:
|
160
|
+
//
|
161
|
+
// pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
|
162
|
+
//
|
163
|
+
// This means that a value of 1.0 corresponds to a solid color, whereas
|
164
|
+
// a value of 0.0 corresponds to a completely transparent color. This
|
165
|
+
// uses a wrapper message rather than a simple float scalar so that it is
|
166
|
+
// possible to distinguish between a default value and the value being unset.
|
167
|
+
// If omitted, this color object is to be rendered as a solid color
|
168
|
+
// (as if the alpha value had been explicitly given with a value of 1.0).
|
169
|
+
google.protobuf.FloatValue alpha = 4;
|
170
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
// Copyright 2019 Google LLC.
|
2
|
+
//
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
// you may not use this file except in compliance with the License.
|
5
|
+
// You may obtain a copy of the License at
|
6
|
+
//
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
//
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
// See the License for the specific language governing permissions and
|
13
|
+
// limitations under the License.
|
14
|
+
//
|
15
|
+
|
16
|
+
syntax = "proto3";
|
17
|
+
|
18
|
+
package google.type;
|
19
|
+
|
20
|
+
option cc_enable_arenas = true;
|
21
|
+
option go_package = "google.golang.org/genproto/googleapis/type/date;date";
|
22
|
+
option java_multiple_files = true;
|
23
|
+
option java_outer_classname = "DateProto";
|
24
|
+
option java_package = "com.google.type";
|
25
|
+
option objc_class_prefix = "GTP";
|
26
|
+
|
27
|
+
// Represents a whole or partial calendar date, e.g. a birthday. The time of day
|
28
|
+
// and time zone are either specified elsewhere or are not significant. The date
|
29
|
+
// is relative to the Proleptic Gregorian Calendar. This can represent:
|
30
|
+
//
|
31
|
+
// * A full date, with non-zero year, month and day values
|
32
|
+
// * A month and day value, with a zero year, e.g. an anniversary
|
33
|
+
// * A year on its own, with zero month and day values
|
34
|
+
// * A year and month value, with a zero day, e.g. a credit card expiration date
|
35
|
+
//
|
36
|
+
// Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and `google.protobuf.Timestamp`.
|
37
|
+
message Date {
|
38
|
+
// Year of date. Must be from 1 to 9999, or 0 if specifying a date without
|
39
|
+
// a year.
|
40
|
+
int32 year = 1;
|
41
|
+
|
42
|
+
// Month of year. Must be from 1 to 12, or 0 if specifying a year without a
|
43
|
+
// month and day.
|
44
|
+
int32 month = 2;
|
45
|
+
|
46
|
+
// Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
47
|
+
// if specifying a year by itself or a year and month where the day is not
|
48
|
+
// significant.
|
49
|
+
int32 day = 3;
|
50
|
+
}
|
@@ -0,0 +1,97 @@
|
|
1
|
+
// Copyright 2019 Google LLC.
|
2
|
+
//
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
// you may not use this file except in compliance with the License.
|
5
|
+
// You may obtain a copy of the License at
|
6
|
+
//
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
//
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
// See the License for the specific language governing permissions and
|
13
|
+
// limitations under the License.
|
14
|
+
//
|
15
|
+
|
16
|
+
syntax = "proto3";
|
17
|
+
|
18
|
+
package google.type;
|
19
|
+
|
20
|
+
import "google/protobuf/duration.proto";
|
21
|
+
|
22
|
+
option cc_enable_arenas = true;
|
23
|
+
option go_package = "google.golang.org/genproto/googleapis/type/datetime;datetime";
|
24
|
+
option java_multiple_files = true;
|
25
|
+
option java_outer_classname = "DateTimeProto";
|
26
|
+
option java_package = "com.google.type";
|
27
|
+
option objc_class_prefix = "GTP";
|
28
|
+
|
29
|
+
// Represents civil time in one of a few possible ways:
|
30
|
+
//
|
31
|
+
// * When utc_offset is set and time_zone is unset: a civil time on a calendar
|
32
|
+
// day with a particular offset from UTC.
|
33
|
+
// * When time_zone is set and utc_offset is unset: a civil time on a calendar
|
34
|
+
// day in a particular time zone.
|
35
|
+
// * When neither time_zone nor utc_offset is set: a civil time on a calendar
|
36
|
+
// day in local time.
|
37
|
+
//
|
38
|
+
// The date is relative to the Proleptic Gregorian Calendar.
|
39
|
+
//
|
40
|
+
// If year is 0, the DateTime is considered not to have a specific year. month
|
41
|
+
// and day must have valid, non-zero values.
|
42
|
+
//
|
43
|
+
// This type is more flexible than some applications may want. Make sure to
|
44
|
+
// document and validate your application's limitations.
|
45
|
+
message DateTime {
|
46
|
+
// Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a
|
47
|
+
// datetime without a year.
|
48
|
+
int32 year = 1;
|
49
|
+
|
50
|
+
// Required. Month of year. Must be from 1 to 12.
|
51
|
+
int32 month = 2;
|
52
|
+
|
53
|
+
// Required. Day of month. Must be from 1 to 31 and valid for the year and
|
54
|
+
// month.
|
55
|
+
int32 day = 3;
|
56
|
+
|
57
|
+
// Required. Hours of day in 24 hour format. Should be from 0 to 23. An API
|
58
|
+
// may choose to allow the value "24:00:00" for scenarios like business
|
59
|
+
// closing time.
|
60
|
+
int32 hours = 4;
|
61
|
+
|
62
|
+
// Required. Minutes of hour of day. Must be from 0 to 59.
|
63
|
+
int32 minutes = 5;
|
64
|
+
|
65
|
+
// Required. Seconds of minutes of the time. Must normally be from 0 to 59. An
|
66
|
+
// API may allow the value 60 if it allows leap-seconds.
|
67
|
+
int32 seconds = 6;
|
68
|
+
|
69
|
+
// Required. Fractions of seconds in nanoseconds. Must be from 0 to
|
70
|
+
// 999,999,999.
|
71
|
+
int32 nanos = 7;
|
72
|
+
|
73
|
+
// Optional. Specifies either the UTC offset or the time zone of the DateTime.
|
74
|
+
// Choose carefully between them, considering that time zone data may change
|
75
|
+
// in the future (for example, a country modifies their DST start/end dates,
|
76
|
+
// and future DateTimes in the affected range had already been stored).
|
77
|
+
// If omitted, the DateTime is considered to be in local time.
|
78
|
+
oneof time_offset {
|
79
|
+
// UTC offset. Must be whole seconds, between -18 hours and +18 hours.
|
80
|
+
// For example, a UTC offset of -4:00 would be represented as
|
81
|
+
// { seconds: -14400 }.
|
82
|
+
google.protobuf.Duration utc_offset = 8;
|
83
|
+
|
84
|
+
// Time zone.
|
85
|
+
TimeZone time_zone = 9;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
// Represents a time zone from the
|
90
|
+
// [IANA Time Zone Database](https://www.iana.org/time-zones).
|
91
|
+
message TimeZone {
|
92
|
+
// IANA Time Zone Database time zone, e.g. "America/New_York".
|
93
|
+
string id = 1;
|
94
|
+
|
95
|
+
// Optional. IANA Time Zone Database version number, e.g. "2019a".
|
96
|
+
string version = 2;
|
97
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
// Copyright 2019 Google LLC.
|
2
|
+
//
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
// you may not use this file except in compliance with the License.
|
5
|
+
// You may obtain a copy of the License at
|
6
|
+
//
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
//
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
// See the License for the specific language governing permissions and
|
13
|
+
// limitations under the License.
|
14
|
+
//
|
15
|
+
|
16
|
+
syntax = "proto3";
|
17
|
+
|
18
|
+
package google.type;
|
19
|
+
|
20
|
+
option go_package = "google.golang.org/genproto/googleapis/type/dayofweek;dayofweek";
|
21
|
+
option java_multiple_files = true;
|
22
|
+
option java_outer_classname = "DayOfWeekProto";
|
23
|
+
option java_package = "com.google.type";
|
24
|
+
option objc_class_prefix = "GTP";
|
25
|
+
|
26
|
+
// Represents a day of week.
|
27
|
+
enum DayOfWeek {
|
28
|
+
// The unspecified day-of-week.
|
29
|
+
DAY_OF_WEEK_UNSPECIFIED = 0;
|
30
|
+
|
31
|
+
// The day-of-week of Monday.
|
32
|
+
MONDAY = 1;
|
33
|
+
|
34
|
+
// The day-of-week of Tuesday.
|
35
|
+
TUESDAY = 2;
|
36
|
+
|
37
|
+
// The day-of-week of Wednesday.
|
38
|
+
WEDNESDAY = 3;
|
39
|
+
|
40
|
+
// The day-of-week of Thursday.
|
41
|
+
THURSDAY = 4;
|
42
|
+
|
43
|
+
// The day-of-week of Friday.
|
44
|
+
FRIDAY = 5;
|
45
|
+
|
46
|
+
// The day-of-week of Saturday.
|
47
|
+
SATURDAY = 6;
|
48
|
+
|
49
|
+
// The day-of-week of Sunday.
|
50
|
+
SUNDAY = 7;
|
51
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
// Copyright 2019 Google LLC.
|
2
|
+
//
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
// you may not use this file except in compliance with the License.
|
5
|
+
// You may obtain a copy of the License at
|
6
|
+
//
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
//
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
// See the License for the specific language governing permissions and
|
13
|
+
// limitations under the License.
|
14
|
+
//
|
15
|
+
|
16
|
+
syntax = "proto3";
|
17
|
+
|
18
|
+
package google.type;
|
19
|
+
|
20
|
+
option go_package = "google.golang.org/genproto/googleapis/type/expr;expr";
|
21
|
+
option java_multiple_files = true;
|
22
|
+
option java_outer_classname = "ExprProto";
|
23
|
+
option java_package = "com.google.type";
|
24
|
+
option objc_class_prefix = "GTP";
|
25
|
+
|
26
|
+
// Represents an expression text. Example:
|
27
|
+
//
|
28
|
+
// title: "User account presence"
|
29
|
+
// description: "Determines whether the request has a user account"
|
30
|
+
// expression: "size(request.user) > 0"
|
31
|
+
message Expr {
|
32
|
+
// Textual representation of an expression in
|
33
|
+
// Common Expression Language syntax.
|
34
|
+
//
|
35
|
+
// The application context of the containing message determines which
|
36
|
+
// well-known feature set of CEL is supported.
|
37
|
+
string expression = 1;
|
38
|
+
|
39
|
+
// An optional title for the expression, i.e. a short string describing
|
40
|
+
// its purpose. This can be used e.g. in UIs which allow to enter the
|
41
|
+
// expression.
|
42
|
+
string title = 2;
|
43
|
+
|
44
|
+
// An optional description of the expression. This is a longer text which
|
45
|
+
// describes the expression, e.g. when hovered over it in a UI.
|
46
|
+
string description = 3;
|
47
|
+
|
48
|
+
// An optional string indicating the location of the expression for error
|
49
|
+
// reporting, e.g. a file name and a position in the file.
|
50
|
+
string location = 4;
|
51
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
// Copyright 2019 Google LLC.
|
2
|
+
//
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
// you may not use this file except in compliance with the License.
|
5
|
+
// You may obtain a copy of the License at
|
6
|
+
//
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
//
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
// See the License for the specific language governing permissions and
|
13
|
+
// limitations under the License.
|
14
|
+
//
|
15
|
+
|
16
|
+
syntax = "proto3";
|
17
|
+
|
18
|
+
package google.type;
|
19
|
+
|
20
|
+
option go_package = "google.golang.org/genproto/googleapis/type/fraction;fraction";
|
21
|
+
option java_multiple_files = true;
|
22
|
+
option java_outer_classname = "FractionProto";
|
23
|
+
option java_package = "com.google.type";
|
24
|
+
option objc_class_prefix = "GTP";
|
25
|
+
|
26
|
+
// Represents a fraction in terms of a numerator divided by a denominator.
|
27
|
+
message Fraction {
|
28
|
+
// The portion of the denominator in the faction, e.g. 2 in 2/3.
|
29
|
+
int64 numerator = 1;
|
30
|
+
|
31
|
+
// The value by which the numerator is divided, e.g. 3 in 2/3. Must be
|
32
|
+
// positive.
|
33
|
+
int64 denominator = 2;
|
34
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
// Copyright 2020 Google LLC
|
2
|
+
//
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
// you may not use this file except in compliance with the License.
|
5
|
+
// You may obtain a copy of the License at
|
6
|
+
//
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
//
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
// See the License for the specific language governing permissions and
|
13
|
+
// limitations under the License.
|
14
|
+
|
15
|
+
syntax = "proto3";
|
16
|
+
|
17
|
+
package google.type;
|
18
|
+
|
19
|
+
option cc_enable_arenas = true;
|
20
|
+
option go_package = "google.golang.org/genproto/googleapis/type/latlng;latlng";
|
21
|
+
option java_multiple_files = true;
|
22
|
+
option java_outer_classname = "LatLngProto";
|
23
|
+
option java_package = "com.google.type";
|
24
|
+
option objc_class_prefix = "GTP";
|
25
|
+
|
26
|
+
// An object that represents a latitude/longitude pair. This is expressed as a
|
27
|
+
// pair of doubles to represent degrees latitude and degrees longitude. Unless
|
28
|
+
// specified otherwise, this must conform to the
|
29
|
+
// <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
|
30
|
+
// standard</a>. Values must be within normalized ranges.
|
31
|
+
message LatLng {
|
32
|
+
// The latitude in degrees. It must be in the range [-90.0, +90.0].
|
33
|
+
double latitude = 1;
|
34
|
+
|
35
|
+
// The longitude in degrees. It must be in the range [-180.0, +180.0].
|
36
|
+
double longitude = 2;
|
37
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
// Copyright 2019 Google LLC.
|
2
|
+
//
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
// you may not use this file except in compliance with the License.
|
5
|
+
// You may obtain a copy of the License at
|
6
|
+
//
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
//
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
// See the License for the specific language governing permissions and
|
13
|
+
// limitations under the License.
|
14
|
+
//
|
15
|
+
|
16
|
+
syntax = "proto3";
|
17
|
+
|
18
|
+
package google.type;
|
19
|
+
|
20
|
+
option cc_enable_arenas = true;
|
21
|
+
option go_package = "google.golang.org/genproto/googleapis/type/money;money";
|
22
|
+
option java_multiple_files = true;
|
23
|
+
option java_outer_classname = "MoneyProto";
|
24
|
+
option java_package = "com.google.type";
|
25
|
+
option objc_class_prefix = "GTP";
|
26
|
+
|
27
|
+
// Represents an amount of money with its currency type.
|
28
|
+
message Money {
|
29
|
+
// The 3-letter currency code defined in ISO 4217.
|
30
|
+
string currency_code = 1;
|
31
|
+
|
32
|
+
// The whole units of the amount.
|
33
|
+
// For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
|
34
|
+
int64 units = 2;
|
35
|
+
|
36
|
+
// Number of nano (10^-9) units of the amount.
|
37
|
+
// The value must be between -999,999,999 and +999,999,999 inclusive.
|
38
|
+
// If `units` is positive, `nanos` must be positive or zero.
|
39
|
+
// If `units` is zero, `nanos` can be positive, zero, or negative.
|
40
|
+
// If `units` is negative, `nanos` must be negative or zero.
|
41
|
+
// For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
|
42
|
+
int32 nanos = 3;
|
43
|
+
}
|
@@ -0,0 +1,66 @@
|
|
1
|
+
// Copyright 2019 Google LLC.
|
2
|
+
//
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
// you may not use this file except in compliance with the License.
|
5
|
+
// You may obtain a copy of the License at
|
6
|
+
//
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
//
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
// See the License for the specific language governing permissions and
|
13
|
+
// limitations under the License.
|
14
|
+
//
|
15
|
+
|
16
|
+
syntax = "proto3";
|
17
|
+
|
18
|
+
package google.type;
|
19
|
+
|
20
|
+
option go_package = "google.golang.org/genproto/googleapis/type/month;month";
|
21
|
+
option java_multiple_files = true;
|
22
|
+
option java_outer_classname = "MonthProto";
|
23
|
+
option java_package = "com.google.type";
|
24
|
+
option objc_class_prefix = "GTP";
|
25
|
+
|
26
|
+
// Represents a month in the Gregorian calendar.
|
27
|
+
enum Month {
|
28
|
+
// The unspecifed month.
|
29
|
+
MONTH_UNSPECIFIED = 0;
|
30
|
+
|
31
|
+
// The month of January.
|
32
|
+
JANUARY = 1;
|
33
|
+
|
34
|
+
// The month of February.
|
35
|
+
FEBRUARY = 2;
|
36
|
+
|
37
|
+
// The month of March.
|
38
|
+
MARCH = 3;
|
39
|
+
|
40
|
+
// The month of April.
|
41
|
+
APRIL = 4;
|
42
|
+
|
43
|
+
// The month of May.
|
44
|
+
MAY = 5;
|
45
|
+
|
46
|
+
// The month of June.
|
47
|
+
JUNE = 6;
|
48
|
+
|
49
|
+
// The month of July.
|
50
|
+
JULY = 7;
|
51
|
+
|
52
|
+
// The month of August.
|
53
|
+
AUGUST = 8;
|
54
|
+
|
55
|
+
// The month of September.
|
56
|
+
SEPTEMBER = 9;
|
57
|
+
|
58
|
+
// The month of October.
|
59
|
+
OCTOBER = 10;
|
60
|
+
|
61
|
+
// The month of November.
|
62
|
+
NOVEMBER = 11;
|
63
|
+
|
64
|
+
// The month of December.
|
65
|
+
DECEMBER = 12;
|
66
|
+
}
|