Skip to content
Permalink
Browse files
fix: Specify a C# namespace option to be consistent with other Cloud …
…APIs (#435)

* fix!: Specify a C# namespace option to be consistent with other Cloud APIs

Note: this is only a breaking change for C#, which has not yet published libraries.

Committer: jskeet
PiperOrigin-RevId: 388718145

Source-Link: googleapis/googleapis@f1d0efe

Source-Link: https://github.com/googleapis/googleapis-gen/commit/150e65f158612dc654c325ffe24eb8efc24e72af

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/master/packages/owl-bot/README.md

* chore: fix dependencies

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Neenu1995 <neenushaji@google.com>
  • Loading branch information
3 people committed Aug 10, 2021
1 parent 5ec275c commit eb3978fadfd4130bca4d10fed9375a944259433f
Show file tree
Hide file tree
Showing 22 changed files with 66 additions and 44 deletions.
@@ -46,13 +46,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "le/api/resource.proto\"|\n\nAlertChart\022\021\n\004n"
+ "ame\030\001 \001(\tB\003\340A\002:[\352AX\n%monitoring.googleap"
+ "is.com/AlertPolicy\022/projects/{project}/a"
+ "lertPolicies/{alert_policy}B\322\001\n\"com.goog"
+ "lertPolicies/{alert_policy}B\371\001\n\"com.goog"
+ "le.monitoring.dashboard.v1B\017AlertChartPr"
+ "otoP\001ZGgoogle.golang.org/genproto/google"
+ "apis/monitoring/dashboard/v1;dashboard\312\002"
+ "$Google\\Cloud\\Monitoring\\Dashboard\\V1\352\002("
+ "Google::Cloud::Monitoring::Dashboard::V1"
+ "b\006proto3"
+ "apis/monitoring/dashboard/v1;dashboard\252\002"
+ "$Google.Cloud.Monitoring.Dashboard.V1\312\002$"
+ "Google\\Cloud\\Monitoring\\Dashboard\\V1\352\002(G"
+ "oogle::Cloud::Monitoring::Dashboard::V1b"
+ "\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -90,13 +90,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "google.monitoring.dashboard.v1.Statistic"
+ "alTimeSeriesFilter.Method\022\027\n\017num_time_se"
+ "ries\030\002 \001(\005\"<\n\006Method\022\026\n\022METHOD_UNSPECIFI"
+ "ED\020\000\022\032\n\026METHOD_CLUSTER_OUTLIER\020\001B\316\001\n\"com"
+ "ED\020\000\022\032\n\026METHOD_CLUSTER_OUTLIER\020\001B\365\001\n\"com"
+ ".google.monitoring.dashboard.v1B\013CommonP"
+ "rotoP\001ZGgoogle.golang.org/genproto/googl"
+ "eapis/monitoring/dashboard/v1;dashboard\312"
+ "\002$Google\\Cloud\\Monitoring\\Dashboard\\V1\352\002"
+ "(Google::Cloud::Monitoring::Dashboard::V"
+ "1b\006proto3"
+ "eapis/monitoring/dashboard/v1;dashboard\252"
+ "\002$Google.Cloud.Monitoring.Dashboard.V1\312\002"
+ "$Google\\Cloud\\Monitoring\\Dashboard\\V1\352\002("
+ "Google::Cloud::Monitoring::Dashboard::V1"
+ "b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -55,13 +55,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\030\t \001(\0132,.google.monitoring.dashboard.v1."
+ "ColumnLayoutH\000:S\352AP\n#monitoring.googleap"
+ "is.com/Dashboard\022)projects/{project}/das"
+ "hboards/{dashboard}B\010\n\006layoutB\322\001\n\"com.go"
+ "hboards/{dashboard}B\010\n\006layoutB\371\001\n\"com.go"
+ "ogle.monitoring.dashboard.v1B\017Dashboards"
+ "ProtoP\001ZGgoogle.golang.org/genproto/goog"
+ "leapis/monitoring/dashboard/v1;dashboard"
+ "\312\002$Google\\Cloud\\Monitoring\\Dashboard\\V1\352"
+ "\002(Google::Cloud::Monitoring::Dashboard::"
+ "V1b\006proto3"
+ "\252\002$Google.Cloud.Monitoring.Dashboard.V1\312"
+ "\002$Google\\Cloud\\Monitoring\\Dashboard\\V1\352\002"
+ "(Google::Cloud::Monitoring::Dashboard::V"
+ "1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -111,13 +111,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ ",https://www.googleapis.com/auth/monitor"
+ "ing,https://www.googleapis.com/auth/moni"
+ "toring.read,https://www.googleapis.com/a"
+ "uth/monitoring.writeB\331\001\n\"com.google.moni"
+ "uth/monitoring.writeB\200\002\n\"com.google.moni"
+ "toring.dashboard.v1B\026DashboardsServicePr"
+ "otoP\001ZGgoogle.golang.org/genproto/google"
+ "apis/monitoring/dashboard/v1;dashboard\312\002"
+ "$Google\\Cloud\\Monitoring\\Dashboard\\V1\352\002("
+ "Google::Cloud::Monitoring::Dashboard::V1"
+ "b\006proto3"
+ "apis/monitoring/dashboard/v1;dashboard\252\002"
+ "$Google.Cloud.Monitoring.Dashboard.V1\312\002$"
+ "Google\\Cloud\\Monitoring\\Dashboard\\V1\352\002(G"
+ "oogle::Cloud::Monitoring::Dashboard::V1b"
+ "\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -83,12 +83,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "oring.dashboard.v1.ColumnLayout.Column\032Q"
+ "\n\006Column\022\016\n\006weight\030\001 \001(\003\0227\n\007widgets\030\002 \003("
+ "\0132&.google.monitoring.dashboard.v1.Widge"
+ "tB\317\001\n\"com.google.monitoring.dashboard.v1"
+ "tB\366\001\n\"com.google.monitoring.dashboard.v1"
+ "B\014LayoutsProtoP\001ZGgoogle.golang.org/genp"
+ "roto/googleapis/monitoring/dashboard/v1;"
+ "dashboard\312\002$Google\\Cloud\\Monitoring\\Dash"
+ "board\\V1\352\002(Google::Cloud::Monitoring::Da"
+ "shboard::V1b\006proto3"
+ "dashboard\252\002$Google.Cloud.Monitoring.Dash"
+ "board.V1\312\002$Google\\Cloud\\Monitoring\\Dashb"
+ "oard\\V1\352\002(Google::Cloud::Monitoring::Das"
+ "hboard::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -100,12 +100,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ection\022\031\n\025DIRECTION_UNSPECIFIED\020\000\022\t\n\005ABO"
+ "VE\020\001\022\t\n\005BELOW\020\002*Q\n\016SparkChartType\022 \n\034SPA"
+ "RK_CHART_TYPE_UNSPECIFIED\020\000\022\016\n\nSPARK_LIN"
+ "E\020\001\022\r\n\tSPARK_BAR\020\002B\317\001\n\"com.google.monito"
+ "E\020\001\022\r\n\tSPARK_BAR\020\002B\366\001\n\"com.google.monito"
+ "ring.dashboard.v1B\014MetricsProtoP\001ZGgoogl"
+ "e.golang.org/genproto/googleapis/monitor"
+ "ing/dashboard/v1;dashboard\312\002$Google\\Clou"
+ "d\\Monitoring\\Dashboard\\V1\352\002(Google::Clou"
+ "d::Monitoring::Dashboard::V1b\006proto3"
+ "ing/dashboard/v1;dashboard\252\002$Google.Clou"
+ "d.Monitoring.Dashboard.V1\312\002$Google\\Cloud"
+ "\\Monitoring\\Dashboard\\V1\352\002(Google::Cloud"
+ "::Monitoring::Dashboard::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -67,12 +67,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "..google.monitoring.dashboard.v1.SparkCh"
+ "artTypeB\003\340A\002\0227\n\024min_alignment_period\030\002 \001"
+ "(\0132\031.google.protobuf.DurationB\013\n\tdata_vi"
+ "ewB\321\001\n\"com.google.monitoring.dashboard.v"
+ "ewB\370\001\n\"com.google.monitoring.dashboard.v"
+ "1B\016ScorecardProtoP\001ZGgoogle.golang.org/g"
+ "enproto/googleapis/monitoring/dashboard/"
+ "v1;dashboard\312\002$Google\\Cloud\\Monitoring\\D"
+ "ashboard\\V1\352\002(Google::Cloud::Monitoring:"
+ ":Dashboard::V1b\006proto3"
+ "v1;dashboard\252\002$Google.Cloud.Monitoring.D"
+ "ashboard.V1\312\002$Google\\Cloud\\Monitoring\\Da"
+ "shboard\\V1\352\002(Google::Cloud::Monitoring::"
+ "Dashboard::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -45,12 +45,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "Text\022\017\n\007content\030\001 \001(\t\022;\n\006format\030\002 \001(\0162+."
+ "google.monitoring.dashboard.v1.Text.Form"
+ "at\"7\n\006Format\022\026\n\022FORMAT_UNSPECIFIED\020\000\022\014\n\010"
+ "MARKDOWN\020\001\022\007\n\003RAW\020\002B\314\001\n\"com.google.monit"
+ "MARKDOWN\020\001\022\007\n\003RAW\020\002B\363\001\n\"com.google.monit"
+ "oring.dashboard.v1B\tTextProtoP\001ZGgoogle."
+ "golang.org/genproto/googleapis/monitorin"
+ "g/dashboard/v1;dashboard\312\002$Google\\Cloud\\"
+ "Monitoring\\Dashboard\\V1\352\002(Google::Cloud:"
+ ":Monitoring::Dashboard::V1b\006proto3"
+ "g/dashboard/v1;dashboard\252\002$Google.Cloud."
+ "Monitoring.Dashboard.V1\312\002$Google\\Cloud\\M"
+ "onitoring\\Dashboard\\V1\352\002(Google::Cloud::"
+ "Monitoring::Dashboard::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -56,12 +56,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "board.v1.TextH\000\022\'\n\005blank\030\005 \001(\0132\026.google."
+ "protobuf.EmptyH\000\022A\n\013alert_chart\030\007 \001(\0132*."
+ "google.monitoring.dashboard.v1.AlertChar"
+ "tH\000B\t\n\007contentB\316\001\n\"com.google.monitoring"
+ "tH\000B\t\n\007contentB\365\001\n\"com.google.monitoring"
+ ".dashboard.v1B\013WidgetProtoP\001ZGgoogle.gol"
+ "ang.org/genproto/googleapis/monitoring/d"
+ "ashboard/v1;dashboard\312\002$Google\\Cloud\\Mon"
+ "itoring\\Dashboard\\V1\352\002(Google::Cloud::Mo"
+ "nitoring::Dashboard::V1b\006proto3"
+ "ashboard/v1;dashboard\252\002$Google.Cloud.Mon"
+ "itoring.Dashboard.V1\312\002$Google\\Cloud\\Moni"
+ "toring\\Dashboard\\V1\352\002(Google::Cloud::Mon"
+ "itoring::Dashboard::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -82,13 +82,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "G10\020\002\"\216\001\n\014ChartOptions\022?\n\004mode\030\001 \001(\01621.g"
+ "oogle.monitoring.dashboard.v1.ChartOptio"
+ "ns.Mode\"=\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\t\n"
+ "\005COLOR\020\001\022\t\n\005X_RAY\020\002\022\t\n\005STATS\020\003B\317\001\n\"com.g"
+ "\005COLOR\020\001\022\t\n\005X_RAY\020\002\022\t\n\005STATS\020\003B\366\001\n\"com.g"
+ "oogle.monitoring.dashboard.v1B\014XyChartPr"
+ "otoP\001ZGgoogle.golang.org/genproto/google"
+ "apis/monitoring/dashboard/v1;dashboard\312\002"
+ "$Google\\Cloud\\Monitoring\\Dashboard\\V1\352\002("
+ "Google::Cloud::Monitoring::Dashboard::V1"
+ "b\006proto3"
+ "apis/monitoring/dashboard/v1;dashboard\252\002"
+ "$Google.Cloud.Monitoring.Dashboard.V1\312\002$"
+ "Google\\Cloud\\Monitoring\\Dashboard\\V1\352\002(G"
+ "oogle::Cloud::Monitoring::Dashboard::V1b"
+ "\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -19,6 +19,7 @@ package google.monitoring.dashboard.v1;
import "google/api/field_behavior.proto";
import "google/api/resource.proto";

option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1";
option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard";
option java_multiple_files = true;
option java_outer_classname = "AlertChartProto";
@@ -19,6 +19,7 @@ package google.monitoring.dashboard.v1;
import "google/api/distribution.proto";
import "google/protobuf/duration.proto";

option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1";
option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard";
option java_multiple_files = true;
option java_outer_classname = "CommonProto";
@@ -20,6 +20,7 @@ import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/monitoring/dashboard/v1/layouts.proto";

option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1";
option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard";
option java_multiple_files = true;
option java_outer_classname = "DashboardsProto";
@@ -24,6 +24,7 @@ import "google/protobuf/empty.proto";
import "google/protobuf/field_mask.proto";
import "google/api/client.proto";

option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1";
option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard";
option java_multiple_files = true;
option java_outer_classname = "DashboardsServiceProto";
@@ -18,6 +18,7 @@ package google.monitoring.dashboard.v1;

import "google/monitoring/dashboard/v1/common.proto";

option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1";
option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard";
option java_multiple_files = true;
option java_outer_classname = "DrilldownsProto";
@@ -18,6 +18,7 @@ package google.monitoring.dashboard.v1;

import "google/monitoring/dashboard/v1/widget.proto";

option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1";
option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard";
option java_multiple_files = true;
option java_outer_classname = "LayoutsProto";
@@ -19,6 +19,7 @@ package google.monitoring.dashboard.v1;
import "google/api/field_behavior.proto";
import "google/monitoring/dashboard/v1/common.proto";

option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1";
option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard";
option java_multiple_files = true;
option java_outer_classname = "MetricsProto";
@@ -21,6 +21,7 @@ import "google/monitoring/dashboard/v1/metrics.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/empty.proto";

option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1";
option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard";
option java_multiple_files = true;
option java_outer_classname = "ScorecardProto";
@@ -16,6 +16,7 @@ syntax = "proto3";

package google.monitoring.dashboard.v1;

option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1";
option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard";
option java_multiple_files = true;
option java_outer_classname = "ServiceMonitoringProto";
@@ -16,6 +16,7 @@ syntax = "proto3";

package google.monitoring.dashboard.v1;

option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1";
option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard";
option java_multiple_files = true;
option java_outer_classname = "TextProto";
@@ -23,6 +23,7 @@ import "google/monitoring/dashboard/v1/text.proto";
import "google/monitoring/dashboard/v1/xychart.proto";
import "google/protobuf/empty.proto";

option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1";
option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard";
option java_multiple_files = true;
option java_outer_classname = "WidgetProto";
@@ -20,6 +20,7 @@ import "google/api/field_behavior.proto";
import "google/monitoring/dashboard/v1/metrics.proto";
import "google/protobuf/duration.proto";

option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1";
option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard";
option java_multiple_files = true;
option java_outer_classname = "XyChartProto";

0 comments on commit eb3978f

Please sign in to comment.