diff --git a/apis/Google.Cloud.Monitoring.V3/Google.Cloud.Monitoring.V3/Service.g.cs b/apis/Google.Cloud.Monitoring.V3/Google.Cloud.Monitoring.V3/Service.g.cs index ff97d8f18fa2..cb04733f3b49 100644 --- a/apis/Google.Cloud.Monitoring.V3/Google.Cloud.Monitoring.V3/Service.g.cs +++ b/apis/Google.Cloud.Monitoring.V3/Google.Cloud.Monitoring.V3/Service.g.cs @@ -25,103 +25,130 @@ public static partial class ServiceReflection { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CiJnb29nbGUvbW9uaXRvcmluZy92My9zZXJ2aWNlLnByb3RvEhRnb29nbGUu", - "bW9uaXRvcmluZy52MxoZZ29vZ2xlL2FwaS9yZXNvdXJjZS5wcm90bxoeZ29v", - "Z2xlL3Byb3RvYnVmL2R1cmF0aW9uLnByb3RvGiFnb29nbGUvdHlwZS9jYWxl", - "bmRhcl9wZXJpb2QucHJvdG8iyQkKB1NlcnZpY2USDAoEbmFtZRgBIAEoCRIU", - "CgxkaXNwbGF5X25hbWUYAiABKAkSNgoGY3VzdG9tGAYgASgLMiQuZ29vZ2xl", - "Lm1vbml0b3JpbmcudjMuU2VydmljZS5DdXN0b21IABI9CgphcHBfZW5naW5l", - "GAcgASgLMicuZ29vZ2xlLm1vbml0b3JpbmcudjMuU2VydmljZS5BcHBFbmdp", - "bmVIABJHCg9jbG91ZF9lbmRwb2ludHMYCCABKAsyLC5nb29nbGUubW9uaXRv", - "cmluZy52My5TZXJ2aWNlLkNsb3VkRW5kcG9pbnRzSAASQwoNY2x1c3Rlcl9p", - "c3RpbxgJIAEoCzIqLmdvb2dsZS5tb25pdG9yaW5nLnYzLlNlcnZpY2UuQ2x1", - "c3RlcklzdGlvSAASPQoKbWVzaF9pc3RpbxgKIAEoCzInLmdvb2dsZS5tb25p", - "dG9yaW5nLnYzLlNlcnZpY2UuTWVzaElzdGlvSAASVgoXaXN0aW9fY2Fub25p", - "Y2FsX3NlcnZpY2UYCyABKAsyMy5n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9jdXQYAyABKAsyJS5nb29nbGUubW9uaXRvcmluZy52My5EaXN0cmli", - "dXRpb25DdXRIAEIICgZtZXRob2QiaAoPVGltZVNlcmllc1JhdGlvEhsKE2dv", - "b2Rfc2VydmljZV9maWx0ZXIYBCABKAkSGgoSYmFkX3NlcnZpY2VfZmlsdGVy", - "GAUgASgJEhwKFHRvdGFsX3NlcnZpY2VfZmlsdGVyGAYgASgJIloKD0Rpc3Ry", - "aWJ1dGlvbkN1dBIbChNkaXN0cmlidXRpb25fZmlsdGVyGAQgASgJEioKBXJh", - "bmdlGAUgASgLMhsuZ29vZ2xlLm1vbml0b3JpbmcudjMuUmFuZ2UigwUKD1dp", - "bmRvd3NCYXNlZFNsaRIgChZnb29kX2JhZF9tZXRyaWNfZmlsdGVyGAUgASgJ", - "SAASYAoaZ29vZF90b3RhbF9yYXRpb190aHJlc2hvbGQYAiABKAsyOi5nb29n", - "bGUubW9uaXRvcmluZy52My5XaW5kb3dzQmFzZWRTbGkuUGVyZm9ybWFuY2VU", - "aHJlc2hvbGRIABJRChRtZXRyaWNfbWVhbl9pbl9yYW5nZRgGIAEoCzIxLmdv", - "b2dsZS5tb25pdG9yaW5nLnYzLldpbmRvd3NCYXNlZFNsaS5NZXRyaWNSYW5n", - "ZUgAElAKE21ldHJpY19zdW1faW5fcmFuZ2UYByABKAsyMS5nb29nbGUubW9u", - "aXRvcmluZy52My5XaW5kb3dzQmFzZWRTbGkuTWV0cmljUmFuZ2VIABIwCg13", - "aW5kb3dfcGVyaW9kGAQgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9u", - "GrABChRQZXJmb3JtYW5jZVRocmVzaG9sZBI8CgtwZXJmb3JtYW5jZRgBIAEo", - "CzIlLmdvb2dsZS5tb25pdG9yaW5nLnYzLlJlcXVlc3RCYXNlZFNsaUgAEj8K", - "FWJhc2ljX3NsaV9wZXJmb3JtYW5jZRgDIAEoCzIeLmdvb2dsZS5tb25pdG9y", - "aW5nLnYzLkJhc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Zvcm1hbmNlVGhyZXNob2xkSAASUQoUbWV0cmljX21lYW5f", + "aW5fcmFuZ2UYBiABKAsyMS5nb29nbGUubW9uaXRvcmluZy52My5XaW5kb3dz", + "QmFzZWRTbGkuTWV0cmljUmFuZ2VIABJQChNtZXRyaWNfc3VtX2luX3Jhbmdl", + "GAcgASgLMjEuZ29vZ2xlLm1vbml0b3JpbmcudjMuV2luZG93c0Jhc2VkU2xp", + "Lk1ldHJpY1JhbmdlSAASMAoNd2luZG93X3BlcmlvZBgEIAEoCzIZLmdvb2ds", + "ZS5wcm90b2J1Zi5EdXJhdGlvbhqwAQoUUGVyZm9ybWFuY2VUaHJlc2hvbGQS", + "PAoLcGVyZm9ybWFuY2UYASABKAsyJS5nb29nbGUubW9uaXRvcmluZy52My5S", + "ZXF1ZXN0QmFzZWRTbGlIABI/ChViYXNpY19zbGlfcGVyZm9ybWFuY2UYAyAB", + "KAsyHi5nb29nbGUubW9uaXRvcmluZy52My5CYXNpY1NsaUgAEhEKCXRocmVz", + "aG9sZBgCIAEoAUIGCgR0eXBlGk4KC01ldHJpY1JhbmdlEhMKC3RpbWVfc2Vy", + "aWVzGAEgASgJEioKBXJhbmdlGAQgASgLMhsuZ29vZ2xlLm1vbml0b3Jpbmcu", + "djMuUmFuZ2VCEgoQd2luZG93X2NyaXRlcmlvbkLRAQoYY29tLmdvb2dsZS5t", + "b25pdG9yaW5nLnYzQhZTZXJ2aWNlTW9uaXRvcmluZ1Byb3RvUAFaQWNsb3Vk", + "Lmdvb2dsZS5jb20vZ28vbW9uaXRvcmluZy9hcGl2My92Mi9tb25pdG9yaW5n", + "cGI7bW9uaXRvcmluZ3BiqgIaR29vZ2xlLkNsb3VkLk1vbml0b3JpbmcuVjPK", + "AhpHb29nbGVcQ2xvdWRcTW9uaXRvcmluZ1xWM+oCHUdvb2dsZTo6Q2xvdWQ6", + "Ok1vbml0b3Jpbmc6OlYzYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Google.Api.ResourceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, global::Google.Type.CalendarPeriodReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Google.Api.FieldBehaviorReflection.Descriptor, global::Google.Api.ResourceReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, global::Google.Type.CalendarPeriodReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Monitoring.V3.Service), global::Google.Cloud.Monitoring.V3.Service.Parser, new[]{ "Name", "DisplayName", "Custom", "AppEngine", "CloudEndpoints", "ClusterIstio", "MeshIstio", "IstioCanonicalService", "Telemetry", "UserLabels" }, new[]{ "Identifier" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Monitoring.V3.Service.Types.Custom), global::Google.Cloud.Monitoring.V3.Service.Types.Custom.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Monitoring.V3.Service), global::Google.Cloud.Monitoring.V3.Service.Parser, new[]{ "Name", "DisplayName", "Custom", "AppEngine", "CloudEndpoints", "ClusterIstio", "MeshIstio", "IstioCanonicalService", "CloudRun", "GkeNamespace", "GkeWorkload", "GkeService", "BasicService", "Telemetry", "UserLabels" }, new[]{ "Identifier" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Monitoring.V3.Service.Types.Custom), global::Google.Cloud.Monitoring.V3.Service.Types.Custom.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Monitoring.V3.Service.Types.AppEngine), global::Google.Cloud.Monitoring.V3.Service.Types.AppEngine.Parser, new[]{ "ModuleId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Monitoring.V3.Service.Types.CloudEndpoints), global::Google.Cloud.Monitoring.V3.Service.Types.CloudEndpoints.Parser, new[]{ "Service" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Monitoring.V3.Service.Types.ClusterIstio), global::Google.Cloud.Monitoring.V3.Service.Types.ClusterIstio.Parser, new[]{ "Location", "ClusterName", "ServiceNamespace", "ServiceName" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Monitoring.V3.Service.Types.MeshIstio), global::Google.Cloud.Monitoring.V3.Service.Types.MeshIstio.Parser, new[]{ "MeshUid", "ServiceNamespace", "ServiceName" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Monitoring.V3.Service.Types.IstioCanonicalService), global::Google.Cloud.Monitoring.V3.Service.Types.IstioCanonicalService.Parser, new[]{ "MeshUid", "CanonicalServiceNamespace", "CanonicalService" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Monitoring.V3.Service.Types.CloudRun), global::Google.Cloud.Monitoring.V3.Service.Types.CloudRun.Parser, new[]{ "ServiceName", "Location" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Monitoring.V3.Service.Types.GkeNamespace), global::Google.Cloud.Monitoring.V3.Service.Types.GkeNamespace.Parser, new[]{ "ProjectId", "Location", "ClusterName", "NamespaceName" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Monitoring.V3.Service.Types.GkeWorkload), global::Google.Cloud.Monitoring.V3.Service.Types.GkeWorkload.Parser, new[]{ "ProjectId", "Location", "ClusterName", "NamespaceName", "TopLevelControllerType", "TopLevelControllerName" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Monitoring.V3.Service.Types.GkeService), global::Google.Cloud.Monitoring.V3.Service.Types.GkeService.Parser, new[]{ "ProjectId", "Location", "ClusterName", "NamespaceName", "ServiceName" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Monitoring.V3.Service.Types.BasicService), global::Google.Cloud.Monitoring.V3.Service.Types.BasicService.Parser, new[]{ "ServiceType", "ServiceLabels" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, }), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Monitoring.V3.Service.Types.Telemetry), global::Google.Cloud.Monitoring.V3.Service.Types.Telemetry.Parser, new[]{ "ResourceName" }, null, null, null, null), null, }), new pbr::GeneratedClrTypeInfo(typeof(global::Google.Cloud.Monitoring.V3.ServiceLevelObjective), global::Google.Cloud.Monitoring.V3.ServiceLevelObjective.Parser, new[]{ "Name", "DisplayName", "ServiceLevelIndicator", "Goal", "RollingPeriod", "CalendarPeriod", "UserLabels" }, new[]{ "Period" }, new[]{ typeof(global::Google.Cloud.Monitoring.V3.ServiceLevelObjective.Types.View) }, null, new pbr::GeneratedClrTypeInfo[] { null, }), @@ -184,6 +211,7 @@ public sealed partial class Service : pb::IMessage public Service(Service other) : this() { name_ = other.name_; displayName_ = other.displayName_; + basicService_ = other.basicService_ != null ? other.basicService_.Clone() : null; telemetry_ = other.telemetry_ != null ? other.telemetry_.Clone() : null; userLabels_ = other.userLabels_.Clone(); switch (other.IdentifierCase) { @@ -205,6 +233,18 @@ public sealed partial class Service : pb::IMessage case IdentifierOneofCase.IstioCanonicalService: IstioCanonicalService = other.IstioCanonicalService.Clone(); break; + case IdentifierOneofCase.CloudRun: + CloudRun = other.CloudRun.Clone(); + break; + case IdentifierOneofCase.GkeNamespace: + GkeNamespace = other.GkeNamespace.Clone(); + break; + case IdentifierOneofCase.GkeWorkload: + GkeWorkload = other.GkeWorkload.Clone(); + break; + case IdentifierOneofCase.GkeService: + GkeService = other.GkeService.Clone(); + break; } _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); @@ -220,7 +260,7 @@ public sealed partial class Service : pb::IMessage public const int NameFieldNumber = 1; private string name_ = ""; /// - /// Resource name for this Service. The format is: + /// Identifier. Resource name for this Service. The format is: /// /// projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID] /// @@ -340,6 +380,84 @@ public sealed partial class Service : pb::IMessage } } + /// Field number for the "cloud_run" field. + public const int CloudRunFieldNumber = 12; + /// + /// Type used for Cloud Run services. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.Monitoring.V3.Service.Types.CloudRun CloudRun { + get { return identifierCase_ == IdentifierOneofCase.CloudRun ? (global::Google.Cloud.Monitoring.V3.Service.Types.CloudRun) identifier_ : null; } + set { + identifier_ = value; + identifierCase_ = value == null ? IdentifierOneofCase.None : IdentifierOneofCase.CloudRun; + } + } + + /// Field number for the "gke_namespace" field. + public const int GkeNamespaceFieldNumber = 15; + /// + /// Type used for GKE Namespaces. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.Monitoring.V3.Service.Types.GkeNamespace GkeNamespace { + get { return identifierCase_ == IdentifierOneofCase.GkeNamespace ? (global::Google.Cloud.Monitoring.V3.Service.Types.GkeNamespace) identifier_ : null; } + set { + identifier_ = value; + identifierCase_ = value == null ? IdentifierOneofCase.None : IdentifierOneofCase.GkeNamespace; + } + } + + /// Field number for the "gke_workload" field. + public const int GkeWorkloadFieldNumber = 16; + /// + /// Type used for GKE Workloads. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.Monitoring.V3.Service.Types.GkeWorkload GkeWorkload { + get { return identifierCase_ == IdentifierOneofCase.GkeWorkload ? (global::Google.Cloud.Monitoring.V3.Service.Types.GkeWorkload) identifier_ : null; } + set { + identifier_ = value; + identifierCase_ = value == null ? IdentifierOneofCase.None : IdentifierOneofCase.GkeWorkload; + } + } + + /// Field number for the "gke_service" field. + public const int GkeServiceFieldNumber = 17; + /// + /// Type used for GKE Services (the Kubernetes concept of a service). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.Monitoring.V3.Service.Types.GkeService GkeService { + get { return identifierCase_ == IdentifierOneofCase.GkeService ? (global::Google.Cloud.Monitoring.V3.Service.Types.GkeService) identifier_ : null; } + set { + identifier_ = value; + identifierCase_ = value == null ? IdentifierOneofCase.None : IdentifierOneofCase.GkeService; + } + } + + /// Field number for the "basic_service" field. + public const int BasicServiceFieldNumber = 19; + private global::Google.Cloud.Monitoring.V3.Service.Types.BasicService basicService_; + /// + /// Message that contains the service type and service labels of this service + /// if it is a basic service. + /// Documentation and examples + /// [here](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Google.Cloud.Monitoring.V3.Service.Types.BasicService BasicService { + get { return basicService_; } + set { + basicService_ = value; + } + } + /// Field number for the "telemetry" field. public const int TelemetryFieldNumber = 13; private global::Google.Cloud.Monitoring.V3.Service.Types.Telemetry telemetry_; @@ -384,6 +502,10 @@ public enum IdentifierOneofCase { ClusterIstio = 9, MeshIstio = 10, IstioCanonicalService = 11, + CloudRun = 12, + GkeNamespace = 15, + GkeWorkload = 16, + GkeService = 17, } private IdentifierOneofCase identifierCase_ = IdentifierOneofCase.None; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -422,6 +544,11 @@ public enum IdentifierOneofCase { if (!object.Equals(ClusterIstio, other.ClusterIstio)) return false; if (!object.Equals(MeshIstio, other.MeshIstio)) return false; if (!object.Equals(IstioCanonicalService, other.IstioCanonicalService)) return false; + if (!object.Equals(CloudRun, other.CloudRun)) return false; + if (!object.Equals(GkeNamespace, other.GkeNamespace)) return false; + if (!object.Equals(GkeWorkload, other.GkeWorkload)) return false; + if (!object.Equals(GkeService, other.GkeService)) return false; + if (!object.Equals(BasicService, other.BasicService)) return false; if (!object.Equals(Telemetry, other.Telemetry)) return false; if (!UserLabels.Equals(other.UserLabels)) return false; if (IdentifierCase != other.IdentifierCase) return false; @@ -440,6 +567,11 @@ public enum IdentifierOneofCase { if (identifierCase_ == IdentifierOneofCase.ClusterIstio) hash ^= ClusterIstio.GetHashCode(); if (identifierCase_ == IdentifierOneofCase.MeshIstio) hash ^= MeshIstio.GetHashCode(); if (identifierCase_ == IdentifierOneofCase.IstioCanonicalService) hash ^= IstioCanonicalService.GetHashCode(); + if (identifierCase_ == IdentifierOneofCase.CloudRun) hash ^= CloudRun.GetHashCode(); + if (identifierCase_ == IdentifierOneofCase.GkeNamespace) hash ^= GkeNamespace.GetHashCode(); + if (identifierCase_ == IdentifierOneofCase.GkeWorkload) hash ^= GkeWorkload.GetHashCode(); + if (identifierCase_ == IdentifierOneofCase.GkeService) hash ^= GkeService.GetHashCode(); + if (basicService_ != null) hash ^= BasicService.GetHashCode(); if (telemetry_ != null) hash ^= Telemetry.GetHashCode(); hash ^= UserLabels.GetHashCode(); hash ^= (int) identifierCase_; @@ -493,11 +625,31 @@ public enum IdentifierOneofCase { output.WriteRawTag(90); output.WriteMessage(IstioCanonicalService); } + if (identifierCase_ == IdentifierOneofCase.CloudRun) { + output.WriteRawTag(98); + output.WriteMessage(CloudRun); + } if (telemetry_ != null) { output.WriteRawTag(106); output.WriteMessage(Telemetry); } userLabels_.WriteTo(output, _map_userLabels_codec); + if (identifierCase_ == IdentifierOneofCase.GkeNamespace) { + output.WriteRawTag(122); + output.WriteMessage(GkeNamespace); + } + if (identifierCase_ == IdentifierOneofCase.GkeWorkload) { + output.WriteRawTag(130, 1); + output.WriteMessage(GkeWorkload); + } + if (identifierCase_ == IdentifierOneofCase.GkeService) { + output.WriteRawTag(138, 1); + output.WriteMessage(GkeService); + } + if (basicService_ != null) { + output.WriteRawTag(154, 1); + output.WriteMessage(BasicService); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -540,11 +692,31 @@ public enum IdentifierOneofCase { output.WriteRawTag(90); output.WriteMessage(IstioCanonicalService); } + if (identifierCase_ == IdentifierOneofCase.CloudRun) { + output.WriteRawTag(98); + output.WriteMessage(CloudRun); + } if (telemetry_ != null) { output.WriteRawTag(106); output.WriteMessage(Telemetry); } userLabels_.WriteTo(ref output, _map_userLabels_codec); + if (identifierCase_ == IdentifierOneofCase.GkeNamespace) { + output.WriteRawTag(122); + output.WriteMessage(GkeNamespace); + } + if (identifierCase_ == IdentifierOneofCase.GkeWorkload) { + output.WriteRawTag(130, 1); + output.WriteMessage(GkeWorkload); + } + if (identifierCase_ == IdentifierOneofCase.GkeService) { + output.WriteRawTag(138, 1); + output.WriteMessage(GkeService); + } + if (basicService_ != null) { + output.WriteRawTag(154, 1); + output.WriteMessage(BasicService); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -579,6 +751,21 @@ public enum IdentifierOneofCase { if (identifierCase_ == IdentifierOneofCase.IstioCanonicalService) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(IstioCanonicalService); } + if (identifierCase_ == IdentifierOneofCase.CloudRun) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CloudRun); + } + if (identifierCase_ == IdentifierOneofCase.GkeNamespace) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(GkeNamespace); + } + if (identifierCase_ == IdentifierOneofCase.GkeWorkload) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GkeWorkload); + } + if (identifierCase_ == IdentifierOneofCase.GkeService) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(GkeService); + } + if (basicService_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(BasicService); + } if (telemetry_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Telemetry); } @@ -601,6 +788,12 @@ public enum IdentifierOneofCase { if (other.DisplayName.Length != 0) { DisplayName = other.DisplayName; } + if (other.basicService_ != null) { + if (basicService_ == null) { + BasicService = new global::Google.Cloud.Monitoring.V3.Service.Types.BasicService(); + } + BasicService.MergeFrom(other.BasicService); + } if (other.telemetry_ != null) { if (telemetry_ == null) { Telemetry = new global::Google.Cloud.Monitoring.V3.Service.Types.Telemetry(); @@ -645,6 +838,30 @@ public enum IdentifierOneofCase { } IstioCanonicalService.MergeFrom(other.IstioCanonicalService); break; + case IdentifierOneofCase.CloudRun: + if (CloudRun == null) { + CloudRun = new global::Google.Cloud.Monitoring.V3.Service.Types.CloudRun(); + } + CloudRun.MergeFrom(other.CloudRun); + break; + case IdentifierOneofCase.GkeNamespace: + if (GkeNamespace == null) { + GkeNamespace = new global::Google.Cloud.Monitoring.V3.Service.Types.GkeNamespace(); + } + GkeNamespace.MergeFrom(other.GkeNamespace); + break; + case IdentifierOneofCase.GkeWorkload: + if (GkeWorkload == null) { + GkeWorkload = new global::Google.Cloud.Monitoring.V3.Service.Types.GkeWorkload(); + } + GkeWorkload.MergeFrom(other.GkeWorkload); + break; + case IdentifierOneofCase.GkeService: + if (GkeService == null) { + GkeService = new global::Google.Cloud.Monitoring.V3.Service.Types.GkeService(); + } + GkeService.MergeFrom(other.GkeService); + break; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); @@ -724,6 +941,15 @@ public enum IdentifierOneofCase { IstioCanonicalService = subBuilder; break; } + case 98: { + global::Google.Cloud.Monitoring.V3.Service.Types.CloudRun subBuilder = new global::Google.Cloud.Monitoring.V3.Service.Types.CloudRun(); + if (identifierCase_ == IdentifierOneofCase.CloudRun) { + subBuilder.MergeFrom(CloudRun); + } + input.ReadMessage(subBuilder); + CloudRun = subBuilder; + break; + } case 106: { if (telemetry_ == null) { Telemetry = new global::Google.Cloud.Monitoring.V3.Service.Types.Telemetry(); @@ -735,6 +961,40 @@ public enum IdentifierOneofCase { userLabels_.AddEntriesFrom(input, _map_userLabels_codec); break; } + case 122: { + global::Google.Cloud.Monitoring.V3.Service.Types.GkeNamespace subBuilder = new global::Google.Cloud.Monitoring.V3.Service.Types.GkeNamespace(); + if (identifierCase_ == IdentifierOneofCase.GkeNamespace) { + subBuilder.MergeFrom(GkeNamespace); + } + input.ReadMessage(subBuilder); + GkeNamespace = subBuilder; + break; + } + case 130: { + global::Google.Cloud.Monitoring.V3.Service.Types.GkeWorkload subBuilder = new global::Google.Cloud.Monitoring.V3.Service.Types.GkeWorkload(); + if (identifierCase_ == IdentifierOneofCase.GkeWorkload) { + subBuilder.MergeFrom(GkeWorkload); + } + input.ReadMessage(subBuilder); + GkeWorkload = subBuilder; + break; + } + case 138: { + global::Google.Cloud.Monitoring.V3.Service.Types.GkeService subBuilder = new global::Google.Cloud.Monitoring.V3.Service.Types.GkeService(); + if (identifierCase_ == IdentifierOneofCase.GkeService) { + subBuilder.MergeFrom(GkeService); + } + input.ReadMessage(subBuilder); + GkeService = subBuilder; + break; + } + case 154: { + if (basicService_ == null) { + BasicService = new global::Google.Cloud.Monitoring.V3.Service.Types.BasicService(); + } + input.ReadMessage(BasicService); + break; + } } } #endif @@ -812,6 +1072,15 @@ public enum IdentifierOneofCase { IstioCanonicalService = subBuilder; break; } + case 98: { + global::Google.Cloud.Monitoring.V3.Service.Types.CloudRun subBuilder = new global::Google.Cloud.Monitoring.V3.Service.Types.CloudRun(); + if (identifierCase_ == IdentifierOneofCase.CloudRun) { + subBuilder.MergeFrom(CloudRun); + } + input.ReadMessage(subBuilder); + CloudRun = subBuilder; + break; + } case 106: { if (telemetry_ == null) { Telemetry = new global::Google.Cloud.Monitoring.V3.Service.Types.Telemetry(); @@ -823,6 +1092,40 @@ public enum IdentifierOneofCase { userLabels_.AddEntriesFrom(ref input, _map_userLabels_codec); break; } + case 122: { + global::Google.Cloud.Monitoring.V3.Service.Types.GkeNamespace subBuilder = new global::Google.Cloud.Monitoring.V3.Service.Types.GkeNamespace(); + if (identifierCase_ == IdentifierOneofCase.GkeNamespace) { + subBuilder.MergeFrom(GkeNamespace); + } + input.ReadMessage(subBuilder); + GkeNamespace = subBuilder; + break; + } + case 130: { + global::Google.Cloud.Monitoring.V3.Service.Types.GkeWorkload subBuilder = new global::Google.Cloud.Monitoring.V3.Service.Types.GkeWorkload(); + if (identifierCase_ == IdentifierOneofCase.GkeWorkload) { + subBuilder.MergeFrom(GkeWorkload); + } + input.ReadMessage(subBuilder); + GkeWorkload = subBuilder; + break; + } + case 138: { + global::Google.Cloud.Monitoring.V3.Service.Types.GkeService subBuilder = new global::Google.Cloud.Monitoring.V3.Service.Types.GkeService(); + if (identifierCase_ == IdentifierOneofCase.GkeService) { + subBuilder.MergeFrom(GkeService); + } + input.ReadMessage(subBuilder); + GkeService = subBuilder; + break; + } + case 154: { + if (basicService_ == null) { + BasicService = new global::Google.Cloud.Monitoring.V3.Service.Types.BasicService(); + } + input.ReadMessage(BasicService); + break; + } } } } @@ -834,8 +1137,9 @@ public enum IdentifierOneofCase { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// - /// Custom view of service telemetry. Currently a place-holder pending final - /// design. + /// Use a custom service to designate a service that you want to monitor + /// when none of the other service types (like App Engine, Cloud Run, or + /// a GKE type) matches your intended service. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class Custom : pb::IMessage @@ -1043,8 +1347,8 @@ public sealed partial class AppEngine : pb::IMessage private string moduleId_ = ""; /// /// The ID of the App Engine module underlying this service. Corresponds to - /// the `module_id` resource label in the `gae_app` monitored resource: - /// https://cloud.google.com/monitoring/api/resources#tag_gae_app + /// the `module_id` resource label in the [`gae_app` monitored + /// resource](https://cloud.google.com/monitoring/api/resources#tag_gae_app). /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -1241,8 +1545,8 @@ public sealed partial class CloudEndpoints : pb::IMessage private string service_ = ""; /// /// The name of the Cloud Endpoints service underlying this service. - /// Corresponds to the `service` resource label in the `api` monitored - /// resource: https://cloud.google.com/monitoring/api/resources#tag_api + /// Corresponds to the `service` resource label in the [`api` monitored + /// resource](https://cloud.google.com/monitoring/api/resources#tag_api). /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -2276,19 +2580,19 @@ public sealed partial class IstioCanonicalService : pb::IMessage - /// Configuration for how to query telemetry on a Service. + /// Cloud Run service. Learn more at https://cloud.google.com/run. /// [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] - public sealed partial class Telemetry : pb::IMessage + public sealed partial class CloudRun : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Telemetry()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CloudRun()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -2302,6 +2606,1562 @@ public sealed partial class Telemetry : pb::IMessage get { return Descriptor; } } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CloudRun() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CloudRun(CloudRun other) : this() { + serviceName_ = other.serviceName_; + location_ = other.location_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CloudRun Clone() { + return new CloudRun(this); + } + + /// Field number for the "service_name" field. + public const int ServiceNameFieldNumber = 1; + private string serviceName_ = ""; + /// + /// The name of the Cloud Run service. Corresponds to the `service_name` + /// resource label in the [`cloud_run_revision` monitored + /// resource](https://cloud.google.com/monitoring/api/resources#tag_cloud_run_revision). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ServiceName { + get { return serviceName_; } + set { + serviceName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "location" field. + public const int LocationFieldNumber = 2; + private string location_ = ""; + /// + /// The location the service is run. Corresponds to the `location` + /// resource label in the [`cloud_run_revision` monitored + /// resource](https://cloud.google.com/monitoring/api/resources#tag_cloud_run_revision). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Location { + get { return location_; } + set { + location_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CloudRun); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CloudRun other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ServiceName != other.ServiceName) return false; + if (Location != other.Location) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ServiceName.Length != 0) hash ^= ServiceName.GetHashCode(); + if (Location.Length != 0) hash ^= Location.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ServiceName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ServiceName); + } + if (Location.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Location); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ServiceName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ServiceName); + } + if (Location.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Location); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ServiceName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ServiceName); + } + if (Location.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Location); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CloudRun other) { + if (other == null) { + return; + } + if (other.ServiceName.Length != 0) { + ServiceName = other.ServiceName; + } + if (other.Location.Length != 0) { + Location = other.Location; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ServiceName = input.ReadString(); + break; + } + case 18: { + Location = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ServiceName = input.ReadString(); + break; + } + case 18: { + Location = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// GKE Namespace. The field names correspond to the resource metadata labels + /// on monitored resources that fall under a namespace (for example, + /// `k8s_container` or `k8s_pod`). + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GkeNamespace : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GkeNamespace()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.Monitoring.V3.Service.Descriptor.NestedTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GkeNamespace() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GkeNamespace(GkeNamespace other) : this() { + projectId_ = other.projectId_; + location_ = other.location_; + clusterName_ = other.clusterName_; + namespaceName_ = other.namespaceName_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GkeNamespace Clone() { + return new GkeNamespace(this); + } + + /// Field number for the "project_id" field. + public const int ProjectIdFieldNumber = 1; + private string projectId_ = ""; + /// + /// Output only. The project this resource lives in. For legacy services + /// migrated from the `Custom` type, this may be a distinct project from the + /// one parenting the service itself. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ProjectId { + get { return projectId_; } + set { + projectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "location" field. + public const int LocationFieldNumber = 2; + private string location_ = ""; + /// + /// The location of the parent cluster. This may be a zone or region. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Location { + get { return location_; } + set { + location_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "cluster_name" field. + public const int ClusterNameFieldNumber = 3; + private string clusterName_ = ""; + /// + /// The name of the parent cluster. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ClusterName { + get { return clusterName_; } + set { + clusterName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "namespace_name" field. + public const int NamespaceNameFieldNumber = 4; + private string namespaceName_ = ""; + /// + /// The name of this namespace. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NamespaceName { + get { return namespaceName_; } + set { + namespaceName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GkeNamespace); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GkeNamespace other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ProjectId != other.ProjectId) return false; + if (Location != other.Location) return false; + if (ClusterName != other.ClusterName) return false; + if (NamespaceName != other.NamespaceName) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ProjectId.Length != 0) hash ^= ProjectId.GetHashCode(); + if (Location.Length != 0) hash ^= Location.GetHashCode(); + if (ClusterName.Length != 0) hash ^= ClusterName.GetHashCode(); + if (NamespaceName.Length != 0) hash ^= NamespaceName.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ProjectId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ProjectId); + } + if (Location.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Location); + } + if (ClusterName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ClusterName); + } + if (NamespaceName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(NamespaceName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ProjectId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ProjectId); + } + if (Location.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Location); + } + if (ClusterName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ClusterName); + } + if (NamespaceName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(NamespaceName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ProjectId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ProjectId); + } + if (Location.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Location); + } + if (ClusterName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ClusterName); + } + if (NamespaceName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NamespaceName); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GkeNamespace other) { + if (other == null) { + return; + } + if (other.ProjectId.Length != 0) { + ProjectId = other.ProjectId; + } + if (other.Location.Length != 0) { + Location = other.Location; + } + if (other.ClusterName.Length != 0) { + ClusterName = other.ClusterName; + } + if (other.NamespaceName.Length != 0) { + NamespaceName = other.NamespaceName; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ProjectId = input.ReadString(); + break; + } + case 18: { + Location = input.ReadString(); + break; + } + case 26: { + ClusterName = input.ReadString(); + break; + } + case 34: { + NamespaceName = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ProjectId = input.ReadString(); + break; + } + case 18: { + Location = input.ReadString(); + break; + } + case 26: { + ClusterName = input.ReadString(); + break; + } + case 34: { + NamespaceName = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// A GKE Workload (Deployment, StatefulSet, etc). The field names correspond + /// to the metadata labels on monitored resources that fall under a workload + /// (for example, `k8s_container` or `k8s_pod`). + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GkeWorkload : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GkeWorkload()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.Monitoring.V3.Service.Descriptor.NestedTypes[8]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GkeWorkload() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GkeWorkload(GkeWorkload other) : this() { + projectId_ = other.projectId_; + location_ = other.location_; + clusterName_ = other.clusterName_; + namespaceName_ = other.namespaceName_; + topLevelControllerType_ = other.topLevelControllerType_; + topLevelControllerName_ = other.topLevelControllerName_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GkeWorkload Clone() { + return new GkeWorkload(this); + } + + /// Field number for the "project_id" field. + public const int ProjectIdFieldNumber = 1; + private string projectId_ = ""; + /// + /// Output only. The project this resource lives in. For legacy services + /// migrated from the `Custom` type, this may be a distinct project from the + /// one parenting the service itself. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ProjectId { + get { return projectId_; } + set { + projectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "location" field. + public const int LocationFieldNumber = 2; + private string location_ = ""; + /// + /// The location of the parent cluster. This may be a zone or region. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Location { + get { return location_; } + set { + location_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "cluster_name" field. + public const int ClusterNameFieldNumber = 3; + private string clusterName_ = ""; + /// + /// The name of the parent cluster. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ClusterName { + get { return clusterName_; } + set { + clusterName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "namespace_name" field. + public const int NamespaceNameFieldNumber = 4; + private string namespaceName_ = ""; + /// + /// The name of the parent namespace. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NamespaceName { + get { return namespaceName_; } + set { + namespaceName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "top_level_controller_type" field. + public const int TopLevelControllerTypeFieldNumber = 5; + private string topLevelControllerType_ = ""; + /// + /// The type of this workload (for example, "Deployment" or "DaemonSet") + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TopLevelControllerType { + get { return topLevelControllerType_; } + set { + topLevelControllerType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "top_level_controller_name" field. + public const int TopLevelControllerNameFieldNumber = 6; + private string topLevelControllerName_ = ""; + /// + /// The name of this workload. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TopLevelControllerName { + get { return topLevelControllerName_; } + set { + topLevelControllerName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GkeWorkload); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GkeWorkload other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ProjectId != other.ProjectId) return false; + if (Location != other.Location) return false; + if (ClusterName != other.ClusterName) return false; + if (NamespaceName != other.NamespaceName) return false; + if (TopLevelControllerType != other.TopLevelControllerType) return false; + if (TopLevelControllerName != other.TopLevelControllerName) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ProjectId.Length != 0) hash ^= ProjectId.GetHashCode(); + if (Location.Length != 0) hash ^= Location.GetHashCode(); + if (ClusterName.Length != 0) hash ^= ClusterName.GetHashCode(); + if (NamespaceName.Length != 0) hash ^= NamespaceName.GetHashCode(); + if (TopLevelControllerType.Length != 0) hash ^= TopLevelControllerType.GetHashCode(); + if (TopLevelControllerName.Length != 0) hash ^= TopLevelControllerName.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ProjectId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ProjectId); + } + if (Location.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Location); + } + if (ClusterName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ClusterName); + } + if (NamespaceName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(NamespaceName); + } + if (TopLevelControllerType.Length != 0) { + output.WriteRawTag(42); + output.WriteString(TopLevelControllerType); + } + if (TopLevelControllerName.Length != 0) { + output.WriteRawTag(50); + output.WriteString(TopLevelControllerName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ProjectId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ProjectId); + } + if (Location.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Location); + } + if (ClusterName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ClusterName); + } + if (NamespaceName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(NamespaceName); + } + if (TopLevelControllerType.Length != 0) { + output.WriteRawTag(42); + output.WriteString(TopLevelControllerType); + } + if (TopLevelControllerName.Length != 0) { + output.WriteRawTag(50); + output.WriteString(TopLevelControllerName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ProjectId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ProjectId); + } + if (Location.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Location); + } + if (ClusterName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ClusterName); + } + if (NamespaceName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NamespaceName); + } + if (TopLevelControllerType.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TopLevelControllerType); + } + if (TopLevelControllerName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TopLevelControllerName); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GkeWorkload other) { + if (other == null) { + return; + } + if (other.ProjectId.Length != 0) { + ProjectId = other.ProjectId; + } + if (other.Location.Length != 0) { + Location = other.Location; + } + if (other.ClusterName.Length != 0) { + ClusterName = other.ClusterName; + } + if (other.NamespaceName.Length != 0) { + NamespaceName = other.NamespaceName; + } + if (other.TopLevelControllerType.Length != 0) { + TopLevelControllerType = other.TopLevelControllerType; + } + if (other.TopLevelControllerName.Length != 0) { + TopLevelControllerName = other.TopLevelControllerName; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ProjectId = input.ReadString(); + break; + } + case 18: { + Location = input.ReadString(); + break; + } + case 26: { + ClusterName = input.ReadString(); + break; + } + case 34: { + NamespaceName = input.ReadString(); + break; + } + case 42: { + TopLevelControllerType = input.ReadString(); + break; + } + case 50: { + TopLevelControllerName = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ProjectId = input.ReadString(); + break; + } + case 18: { + Location = input.ReadString(); + break; + } + case 26: { + ClusterName = input.ReadString(); + break; + } + case 34: { + NamespaceName = input.ReadString(); + break; + } + case 42: { + TopLevelControllerType = input.ReadString(); + break; + } + case 50: { + TopLevelControllerName = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// GKE Service. The "service" here represents a + /// [Kubernetes service + /// object](https://kubernetes.io/docs/concepts/services-networking/service). + /// The field names correspond to the resource labels on [`k8s_service` + /// monitored + /// resources](https://cloud.google.com/monitoring/api/resources#tag_k8s_service). + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class GkeService : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GkeService()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.Monitoring.V3.Service.Descriptor.NestedTypes[9]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GkeService() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GkeService(GkeService other) : this() { + projectId_ = other.projectId_; + location_ = other.location_; + clusterName_ = other.clusterName_; + namespaceName_ = other.namespaceName_; + serviceName_ = other.serviceName_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public GkeService Clone() { + return new GkeService(this); + } + + /// Field number for the "project_id" field. + public const int ProjectIdFieldNumber = 1; + private string projectId_ = ""; + /// + /// Output only. The project this resource lives in. For legacy services + /// migrated from the `Custom` type, this may be a distinct project from the + /// one parenting the service itself. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ProjectId { + get { return projectId_; } + set { + projectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "location" field. + public const int LocationFieldNumber = 2; + private string location_ = ""; + /// + /// The location of the parent cluster. This may be a zone or region. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Location { + get { return location_; } + set { + location_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "cluster_name" field. + public const int ClusterNameFieldNumber = 3; + private string clusterName_ = ""; + /// + /// The name of the parent cluster. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ClusterName { + get { return clusterName_; } + set { + clusterName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "namespace_name" field. + public const int NamespaceNameFieldNumber = 4; + private string namespaceName_ = ""; + /// + /// The name of the parent namespace. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NamespaceName { + get { return namespaceName_; } + set { + namespaceName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "service_name" field. + public const int ServiceNameFieldNumber = 5; + private string serviceName_ = ""; + /// + /// The name of this service. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ServiceName { + get { return serviceName_; } + set { + serviceName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as GkeService); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(GkeService other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ProjectId != other.ProjectId) return false; + if (Location != other.Location) return false; + if (ClusterName != other.ClusterName) return false; + if (NamespaceName != other.NamespaceName) return false; + if (ServiceName != other.ServiceName) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ProjectId.Length != 0) hash ^= ProjectId.GetHashCode(); + if (Location.Length != 0) hash ^= Location.GetHashCode(); + if (ClusterName.Length != 0) hash ^= ClusterName.GetHashCode(); + if (NamespaceName.Length != 0) hash ^= NamespaceName.GetHashCode(); + if (ServiceName.Length != 0) hash ^= ServiceName.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ProjectId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ProjectId); + } + if (Location.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Location); + } + if (ClusterName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ClusterName); + } + if (NamespaceName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(NamespaceName); + } + if (ServiceName.Length != 0) { + output.WriteRawTag(42); + output.WriteString(ServiceName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ProjectId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ProjectId); + } + if (Location.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Location); + } + if (ClusterName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ClusterName); + } + if (NamespaceName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(NamespaceName); + } + if (ServiceName.Length != 0) { + output.WriteRawTag(42); + output.WriteString(ServiceName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ProjectId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ProjectId); + } + if (Location.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Location); + } + if (ClusterName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ClusterName); + } + if (NamespaceName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NamespaceName); + } + if (ServiceName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ServiceName); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(GkeService other) { + if (other == null) { + return; + } + if (other.ProjectId.Length != 0) { + ProjectId = other.ProjectId; + } + if (other.Location.Length != 0) { + Location = other.Location; + } + if (other.ClusterName.Length != 0) { + ClusterName = other.ClusterName; + } + if (other.NamespaceName.Length != 0) { + NamespaceName = other.NamespaceName; + } + if (other.ServiceName.Length != 0) { + ServiceName = other.ServiceName; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ProjectId = input.ReadString(); + break; + } + case 18: { + Location = input.ReadString(); + break; + } + case 26: { + ClusterName = input.ReadString(); + break; + } + case 34: { + NamespaceName = input.ReadString(); + break; + } + case 42: { + ServiceName = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ProjectId = input.ReadString(); + break; + } + case 18: { + Location = input.ReadString(); + break; + } + case 26: { + ClusterName = input.ReadString(); + break; + } + case 34: { + NamespaceName = input.ReadString(); + break; + } + case 42: { + ServiceName = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + /// A well-known service type, defined by its service type and service labels. + /// Documentation and examples + /// [here](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli). + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class BasicService : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BasicService()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.Monitoring.V3.Service.Descriptor.NestedTypes[10]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BasicService() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BasicService(BasicService other) : this() { + serviceType_ = other.serviceType_; + serviceLabels_ = other.serviceLabels_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BasicService Clone() { + return new BasicService(this); + } + + /// Field number for the "service_type" field. + public const int ServiceTypeFieldNumber = 1; + private string serviceType_ = ""; + /// + /// The type of service that this basic service defines, e.g. + /// APP_ENGINE service type. + /// Documentation and valid values + /// [here](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ServiceType { + get { return serviceType_; } + set { + serviceType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "service_labels" field. + public const int ServiceLabelsFieldNumber = 2; + private static readonly pbc::MapField.Codec _map_serviceLabels_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 18); + private readonly pbc::MapField serviceLabels_ = new pbc::MapField(); + /// + /// Labels that specify the resource that emits the monitoring data which + /// is used for SLO reporting of this `Service`. + /// Documentation and valid values for given service types + /// [here](https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli). + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::MapField ServiceLabels { + get { return serviceLabels_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BasicService); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BasicService other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ServiceType != other.ServiceType) return false; + if (!ServiceLabels.Equals(other.ServiceLabels)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (ServiceType.Length != 0) hash ^= ServiceType.GetHashCode(); + hash ^= ServiceLabels.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (ServiceType.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ServiceType); + } + serviceLabels_.WriteTo(output, _map_serviceLabels_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ServiceType.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ServiceType); + } + serviceLabels_.WriteTo(ref output, _map_serviceLabels_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (ServiceType.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ServiceType); + } + size += serviceLabels_.CalculateSize(_map_serviceLabels_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BasicService other) { + if (other == null) { + return; + } + if (other.ServiceType.Length != 0) { + ServiceType = other.ServiceType; + } + serviceLabels_.MergeFrom(other.serviceLabels_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + ServiceType = input.ReadString(); + break; + } + case 18: { + serviceLabels_.AddEntriesFrom(input, _map_serviceLabels_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + ServiceType = input.ReadString(); + break; + } + case 18: { + serviceLabels_.AddEntriesFrom(ref input, _map_serviceLabels_codec); + break; + } + } + } + } + #endif + + } + + /// + /// Configuration for how to query telemetry on a Service. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Telemetry : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Telemetry()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Google.Cloud.Monitoring.V3.Service.Descriptor.NestedTypes[11]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Telemetry() { @@ -2547,7 +4407,7 @@ public sealed partial class ServiceLevelObjective : pb::IMessage - /// Resource name for this `ServiceLevelObjective`. The format is: + /// Identifier. Resource name for this `ServiceLevelObjective`. The format is: /// /// projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME] ///