Skip to content
This repository was archived by the owner on Oct 2, 2023. It is now read-only.

Commit 17cce18

Browse files
chore: remove unused imports from google/monitoring/v3 (#809)
* chore: remove unused imports from google/monitoring/v3 PiperOrigin-RevId: 431809723 Source-Link: googleapis/googleapis@5a64eb3 Source-Link: https://github.com/googleapis/googleapis-gen/commit/3a97794d22ea110ca1a235846a3f4ab6b9650557 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiM2E5Nzc5NGQyMmVhMTEwY2ExYTIzNTg0NmEzZjRhYjZiOTY1MDU1NyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 288dbf0 commit 17cce18

16 files changed

+566
-578
lines changed

proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequest.java

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
134134
*
135135
*
136136
* <pre>
137-
* Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
138-
* which to create the Uptime check. The format is:
137+
* Required. The
138+
* [project](https://cloud.google.com/monitoring/api/v3#project_name) in which
139+
* to create the Uptime check. The format is:
139140
* projects/[PROJECT_ID_OR_NUMBER]
140141
* </pre>
141142
*
@@ -161,8 +162,9 @@ public java.lang.String getParent() {
161162
*
162163
*
163164
* <pre>
164-
* Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
165-
* which to create the Uptime check. The format is:
165+
* Required. The
166+
* [project](https://cloud.google.com/monitoring/api/v3#project_name) in which
167+
* to create the Uptime check. The format is:
166168
* projects/[PROJECT_ID_OR_NUMBER]
167169
* </pre>
168170
*
@@ -591,8 +593,9 @@ public Builder mergeFrom(
591593
*
592594
*
593595
* <pre>
594-
* Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
595-
* which to create the Uptime check. The format is:
596+
* Required. The
597+
* [project](https://cloud.google.com/monitoring/api/v3#project_name) in which
598+
* to create the Uptime check. The format is:
596599
* projects/[PROJECT_ID_OR_NUMBER]
597600
* </pre>
598601
*
@@ -617,8 +620,9 @@ public java.lang.String getParent() {
617620
*
618621
*
619622
* <pre>
620-
* Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
621-
* which to create the Uptime check. The format is:
623+
* Required. The
624+
* [project](https://cloud.google.com/monitoring/api/v3#project_name) in which
625+
* to create the Uptime check. The format is:
622626
* projects/[PROJECT_ID_OR_NUMBER]
623627
* </pre>
624628
*
@@ -643,8 +647,9 @@ public com.google.protobuf.ByteString getParentBytes() {
643647
*
644648
*
645649
* <pre>
646-
* Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
647-
* which to create the Uptime check. The format is:
650+
* Required. The
651+
* [project](https://cloud.google.com/monitoring/api/v3#project_name) in which
652+
* to create the Uptime check. The format is:
648653
* projects/[PROJECT_ID_OR_NUMBER]
649654
* </pre>
650655
*
@@ -668,8 +673,9 @@ public Builder setParent(java.lang.String value) {
668673
*
669674
*
670675
* <pre>
671-
* Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
672-
* which to create the Uptime check. The format is:
676+
* Required. The
677+
* [project](https://cloud.google.com/monitoring/api/v3#project_name) in which
678+
* to create the Uptime check. The format is:
673679
* projects/[PROJECT_ID_OR_NUMBER]
674680
* </pre>
675681
*
@@ -689,8 +695,9 @@ public Builder clearParent() {
689695
*
690696
*
691697
* <pre>
692-
* Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
693-
* which to create the Uptime check. The format is:
698+
* Required. The
699+
* [project](https://cloud.google.com/monitoring/api/v3#project_name) in which
700+
* to create the Uptime check. The format is:
694701
* projects/[PROJECT_ID_OR_NUMBER]
695702
* </pre>
696703
*

proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/CreateUptimeCheckConfigRequestOrBuilder.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ public interface CreateUptimeCheckConfigRequestOrBuilder
2727
*
2828
*
2929
* <pre>
30-
* Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
31-
* which to create the Uptime check. The format is:
30+
* Required. The
31+
* [project](https://cloud.google.com/monitoring/api/v3#project_name) in which
32+
* to create the Uptime check. The format is:
3233
* projects/[PROJECT_ID_OR_NUMBER]
3334
* </pre>
3435
*
@@ -43,8 +44,9 @@ public interface CreateUptimeCheckConfigRequestOrBuilder
4344
*
4445
*
4546
* <pre>
46-
* Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in
47-
* which to create the Uptime check. The format is:
47+
* Required. The
48+
* [project](https://cloud.google.com/monitoring/api/v3#project_name) in which
49+
* to create the Uptime check. The format is:
4850
* projects/[PROJECT_ID_OR_NUMBER]
4951
* </pre>
5052
*

proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequest.java

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
130130
*
131131
*
132132
* <pre>
133-
* Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
134-
* whose Uptime check configurations are listed. The format is:
133+
* Required. The
134+
* [project](https://cloud.google.com/monitoring/api/v3#project_name) whose
135+
* Uptime check configurations are listed. The format is:
135136
* projects/[PROJECT_ID_OR_NUMBER]
136137
* </pre>
137138
*
@@ -157,8 +158,9 @@ public java.lang.String getParent() {
157158
*
158159
*
159160
* <pre>
160-
* Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
161-
* whose Uptime check configurations are listed. The format is:
161+
* Required. The
162+
* [project](https://cloud.google.com/monitoring/api/v3#project_name) whose
163+
* Uptime check configurations are listed. The format is:
162164
* projects/[PROJECT_ID_OR_NUMBER]
163165
* </pre>
164166
*
@@ -610,8 +612,9 @@ public Builder mergeFrom(
610612
*
611613
*
612614
* <pre>
613-
* Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
614-
* whose Uptime check configurations are listed. The format is:
615+
* Required. The
616+
* [project](https://cloud.google.com/monitoring/api/v3#project_name) whose
617+
* Uptime check configurations are listed. The format is:
615618
* projects/[PROJECT_ID_OR_NUMBER]
616619
* </pre>
617620
*
@@ -636,8 +639,9 @@ public java.lang.String getParent() {
636639
*
637640
*
638641
* <pre>
639-
* Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
640-
* whose Uptime check configurations are listed. The format is:
642+
* Required. The
643+
* [project](https://cloud.google.com/monitoring/api/v3#project_name) whose
644+
* Uptime check configurations are listed. The format is:
641645
* projects/[PROJECT_ID_OR_NUMBER]
642646
* </pre>
643647
*
@@ -662,8 +666,9 @@ public com.google.protobuf.ByteString getParentBytes() {
662666
*
663667
*
664668
* <pre>
665-
* Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
666-
* whose Uptime check configurations are listed. The format is:
669+
* Required. The
670+
* [project](https://cloud.google.com/monitoring/api/v3#project_name) whose
671+
* Uptime check configurations are listed. The format is:
667672
* projects/[PROJECT_ID_OR_NUMBER]
668673
* </pre>
669674
*
@@ -687,8 +692,9 @@ public Builder setParent(java.lang.String value) {
687692
*
688693
*
689694
* <pre>
690-
* Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
691-
* whose Uptime check configurations are listed. The format is:
695+
* Required. The
696+
* [project](https://cloud.google.com/monitoring/api/v3#project_name) whose
697+
* Uptime check configurations are listed. The format is:
692698
* projects/[PROJECT_ID_OR_NUMBER]
693699
* </pre>
694700
*
@@ -708,8 +714,9 @@ public Builder clearParent() {
708714
*
709715
*
710716
* <pre>
711-
* Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
712-
* whose Uptime check configurations are listed. The format is:
717+
* Required. The
718+
* [project](https://cloud.google.com/monitoring/api/v3#project_name) whose
719+
* Uptime check configurations are listed. The format is:
713720
* projects/[PROJECT_ID_OR_NUMBER]
714721
* </pre>
715722
*

proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/ListUptimeCheckConfigsRequestOrBuilder.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ public interface ListUptimeCheckConfigsRequestOrBuilder
2727
*
2828
*
2929
* <pre>
30-
* Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
31-
* whose Uptime check configurations are listed. The format is:
30+
* Required. The
31+
* [project](https://cloud.google.com/monitoring/api/v3#project_name) whose
32+
* Uptime check configurations are listed. The format is:
3233
* projects/[PROJECT_ID_OR_NUMBER]
3334
* </pre>
3435
*
@@ -43,8 +44,9 @@ public interface ListUptimeCheckConfigsRequestOrBuilder
4344
*
4445
*
4546
* <pre>
46-
* Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name)
47-
* whose Uptime check configurations are listed. The format is:
47+
* Required. The
48+
* [project](https://cloud.google.com/monitoring/api/v3#project_name) whose
49+
* Uptime check configurations are listed. The format is:
4850
* projects/[PROJECT_ID_OR_NUMBER]
4951
* </pre>
5052
*

proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/MetricProto.java

Lines changed: 47 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -77,66 +77,62 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
7777
static {
7878
java.lang.String[] descriptorData = {
7979
"\n!google/monitoring/v3/metric.proto\022\024goo"
80-
+ "gle.monitoring.v3\032\035google/api/distributi"
81-
+ "on.proto\032\026google/api/label.proto\032\027google"
82-
+ "/api/metric.proto\032#google/api/monitored_"
83-
+ "resource.proto\032!google/monitoring/v3/com"
84-
+ "mon.proto\032\036google/protobuf/duration.prot"
85-
+ "o\"n\n\005Point\0224\n\010interval\030\001 \001(\0132\".google.mo"
86-
+ "nitoring.v3.TimeInterval\022/\n\005value\030\002 \001(\0132"
87-
+ " .google.monitoring.v3.TypedValue\"\317\002\n\nTi"
88-
+ "meSeries\022\"\n\006metric\030\001 \001(\0132\022.google.api.Me"
89-
+ "tric\022/\n\010resource\030\002 \001(\0132\035.google.api.Moni"
90-
+ "toredResource\0227\n\010metadata\030\007 \001(\0132%.google"
91-
+ ".api.MonitoredResourceMetadata\022<\n\013metric"
92-
+ "_kind\030\003 \001(\0162\'.google.api.MetricDescripto"
93-
+ "r.MetricKind\022:\n\nvalue_type\030\004 \001(\0162&.googl"
94-
+ "e.api.MetricDescriptor.ValueType\022+\n\006poin"
95-
+ "ts\030\005 \003(\0132\033.google.monitoring.v3.Point\022\014\n"
96-
+ "\004unit\030\010 \001(\t\"\316\002\n\024TimeSeriesDescriptor\0226\n\021"
97-
+ "label_descriptors\030\001 \003(\0132\033.google.api.Lab"
98-
+ "elDescriptor\022U\n\021point_descriptors\030\005 \003(\0132"
99-
+ ":.google.monitoring.v3.TimeSeriesDescrip"
100-
+ "tor.ValueDescriptor\032\246\001\n\017ValueDescriptor\022"
101-
+ "\013\n\003key\030\001 \001(\t\022:\n\nvalue_type\030\002 \001(\0162&.googl"
102-
+ "e.api.MetricDescriptor.ValueType\022<\n\013metr"
103-
+ "ic_kind\030\003 \001(\0162\'.google.api.MetricDescrip"
104-
+ "tor.MetricKind\022\014\n\004unit\030\004 \001(\t\"\206\002\n\016TimeSer"
105-
+ "iesData\0226\n\014label_values\030\001 \003(\0132 .google.m"
106-
+ "onitoring.v3.LabelValue\022B\n\npoint_data\030\002 "
107-
+ "\003(\0132..google.monitoring.v3.TimeSeriesDat"
108-
+ "a.PointData\032x\n\tPointData\0220\n\006values\030\001 \003(\013"
109-
+ "2 .google.monitoring.v3.TypedValue\0229\n\rti"
110-
+ "me_interval\030\002 \001(\0132\".google.monitoring.v3"
111-
+ ".TimeInterval\"Z\n\nLabelValue\022\024\n\nbool_valu"
112-
+ "e\030\001 \001(\010H\000\022\025\n\013int64_value\030\002 \001(\003H\000\022\026\n\014stri"
113-
+ "ng_value\030\003 \001(\tH\000B\007\n\005value\"Q\n\nQueryError\022"
114-
+ "2\n\007locator\030\001 \001(\0132!.google.monitoring.v3."
115-
+ "TextLocator\022\017\n\007message\030\002 \001(\t\"\240\002\n\013TextLoc"
116-
+ "ator\022\016\n\006source\030\001 \001(\t\022B\n\016start_position\030\002"
117-
+ " \001(\0132*.google.monitoring.v3.TextLocator."
118-
+ "Position\022@\n\014end_position\030\003 \001(\0132*.google."
119-
+ "monitoring.v3.TextLocator.Position\0229\n\016ne"
120-
+ "sted_locator\030\004 \001(\0132!.google.monitoring.v"
121-
+ "3.TextLocator\022\026\n\016nesting_reason\030\005 \001(\t\032(\n"
122-
+ "\010Position\022\014\n\004line\030\001 \001(\005\022\016\n\006column\030\002 \001(\005B"
123-
+ "\303\001\n\030com.google.monitoring.v3B\013MetricProt"
124-
+ "oP\001Z>google.golang.org/genproto/googleap"
125-
+ "is/monitoring/v3;monitoring\252\002\032Google.Clo"
126-
+ "ud.Monitoring.V3\312\002\032Google\\Cloud\\Monitori"
127-
+ "ng\\V3\352\002\035Google::Cloud::Monitoring::V3b\006p"
128-
+ "roto3"
80+
+ "gle.monitoring.v3\032\026google/api/label.prot"
81+
+ "o\032\027google/api/metric.proto\032#google/api/m"
82+
+ "onitored_resource.proto\032!google/monitori"
83+
+ "ng/v3/common.proto\"n\n\005Point\0224\n\010interval\030"
84+
+ "\001 \001(\0132\".google.monitoring.v3.TimeInterva"
85+
+ "l\022/\n\005value\030\002 \001(\0132 .google.monitoring.v3."
86+
+ "TypedValue\"\317\002\n\nTimeSeries\022\"\n\006metric\030\001 \001("
87+
+ "\0132\022.google.api.Metric\022/\n\010resource\030\002 \001(\0132"
88+
+ "\035.google.api.MonitoredResource\0227\n\010metada"
89+
+ "ta\030\007 \001(\0132%.google.api.MonitoredResourceM"
90+
+ "etadata\022<\n\013metric_kind\030\003 \001(\0162\'.google.ap"
91+
+ "i.MetricDescriptor.MetricKind\022:\n\nvalue_t"
92+
+ "ype\030\004 \001(\0162&.google.api.MetricDescriptor."
93+
+ "ValueType\022+\n\006points\030\005 \003(\0132\033.google.monit"
94+
+ "oring.v3.Point\022\014\n\004unit\030\010 \001(\t\"\316\002\n\024TimeSer"
95+
+ "iesDescriptor\0226\n\021label_descriptors\030\001 \003(\013"
96+
+ "2\033.google.api.LabelDescriptor\022U\n\021point_d"
97+
+ "escriptors\030\005 \003(\0132:.google.monitoring.v3."
98+
+ "TimeSeriesDescriptor.ValueDescriptor\032\246\001\n"
99+
+ "\017ValueDescriptor\022\013\n\003key\030\001 \001(\t\022:\n\nvalue_t"
100+
+ "ype\030\002 \001(\0162&.google.api.MetricDescriptor."
101+
+ "ValueType\022<\n\013metric_kind\030\003 \001(\0162\'.google."
102+
+ "api.MetricDescriptor.MetricKind\022\014\n\004unit\030"
103+
+ "\004 \001(\t\"\206\002\n\016TimeSeriesData\0226\n\014label_values"
104+
+ "\030\001 \003(\0132 .google.monitoring.v3.LabelValue"
105+
+ "\022B\n\npoint_data\030\002 \003(\0132..google.monitoring"
106+
+ ".v3.TimeSeriesData.PointData\032x\n\tPointDat"
107+
+ "a\0220\n\006values\030\001 \003(\0132 .google.monitoring.v3"
108+
+ ".TypedValue\0229\n\rtime_interval\030\002 \001(\0132\".goo"
109+
+ "gle.monitoring.v3.TimeInterval\"Z\n\nLabelV"
110+
+ "alue\022\024\n\nbool_value\030\001 \001(\010H\000\022\025\n\013int64_valu"
111+
+ "e\030\002 \001(\003H\000\022\026\n\014string_value\030\003 \001(\tH\000B\007\n\005val"
112+
+ "ue\"Q\n\nQueryError\0222\n\007locator\030\001 \001(\0132!.goog"
113+
+ "le.monitoring.v3.TextLocator\022\017\n\007message\030"
114+
+ "\002 \001(\t\"\240\002\n\013TextLocator\022\016\n\006source\030\001 \001(\t\022B\n"
115+
+ "\016start_position\030\002 \001(\0132*.google.monitorin"
116+
+ "g.v3.TextLocator.Position\022@\n\014end_positio"
117+
+ "n\030\003 \001(\0132*.google.monitoring.v3.TextLocat"
118+
+ "or.Position\0229\n\016nested_locator\030\004 \001(\0132!.go"
119+
+ "ogle.monitoring.v3.TextLocator\022\026\n\016nestin"
120+
+ "g_reason\030\005 \001(\t\032(\n\010Position\022\014\n\004line\030\001 \001(\005"
121+
+ "\022\016\n\006column\030\002 \001(\005B\303\001\n\030com.google.monitori"
122+
+ "ng.v3B\013MetricProtoP\001Z>google.golang.org/"
123+
+ "genproto/googleapis/monitoring/v3;monito"
124+
+ "ring\252\002\032Google.Cloud.Monitoring.V3\312\002\032Goog"
125+
+ "le\\Cloud\\Monitoring\\V3\352\002\035Google::Cloud::"
126+
+ "Monitoring::V3b\006proto3"
129127
};
130128
descriptor =
131129
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
132130
descriptorData,
133131
new com.google.protobuf.Descriptors.FileDescriptor[] {
134-
com.google.api.DistributionProto.getDescriptor(),
135132
com.google.api.LabelProto.getDescriptor(),
136133
com.google.api.MetricProto.getDescriptor(),
137134
com.google.api.MonitoredResourceProto.getDescriptor(),
138135
com.google.monitoring.v3.CommonProto.getDescriptor(),
139-
com.google.protobuf.DurationProto.getDescriptor(),
140136
});
141137
internal_static_google_monitoring_v3_Point_descriptor =
142138
getDescriptor().getMessageTypes().get(0);
@@ -220,12 +216,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
220216
new java.lang.String[] {
221217
"Line", "Column",
222218
});
223-
com.google.api.DistributionProto.getDescriptor();
224219
com.google.api.LabelProto.getDescriptor();
225220
com.google.api.MetricProto.getDescriptor();
226221
com.google.api.MonitoredResourceProto.getDescriptor();
227222
com.google.monitoring.v3.CommonProto.getDescriptor();
228-
com.google.protobuf.DurationProto.getDescriptor();
229223
}
230224

231225
// @@protoc_insertion_point(outer_class_scope)

0 commit comments

Comments
 (0)