// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: opentelemetry/proto/collector/logs/v1/logs_service.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; namespace OpenTelemetry.Proto.Collector.Logs.V1 { /// <summary>Holder for reflection information generated from opentelemetry/proto/collector/logs/v1/logs_service.proto</summary> public static partial class LogsServiceReflection { #region Descriptor /// <summary>File descriptor for opentelemetry/proto/collector/logs/v1/logs_service.proto</summary> public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static LogsServiceReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "CjhvcGVudGVsZW1ldHJ5L3Byb3RvL2NvbGxlY3Rvci9sb2dzL3YxL2xvZ3Nf", "c2VydmljZS5wcm90bxIlb3BlbnRlbGVtZXRyeS5wcm90by5jb2xsZWN0b3Iu", "bG9ncy52MRomb3BlbnRlbGVtZXRyeS9wcm90by9sb2dzL3YxL2xvZ3MucHJv", "dG8iXAoYRXhwb3J0TG9nc1NlcnZpY2VSZXF1ZXN0EkAKDXJlc291cmNlX2xv", "Z3MYASADKAsyKS5vcGVudGVsZW1ldHJ5LnByb3RvLmxvZ3MudjEuUmVzb3Vy", "Y2VMb2dzInUKGUV4cG9ydExvZ3NTZXJ2aWNlUmVzcG9uc2USWAoPcGFydGlh", "bF9zdWNjZXNzGAEgASgLMj8ub3BlbnRlbGVtZXRyeS5wcm90by5jb2xsZWN0", "b3IubG9ncy52MS5FeHBvcnRMb2dzUGFydGlhbFN1Y2Nlc3MiTwoYRXhwb3J0", "TG9nc1BhcnRpYWxTdWNjZXNzEhwKFHJlamVjdGVkX2xvZ19yZWNvcmRzGAEg", "ASgDEhUKDWVycm9yX21lc3NhZ2UYAiABKAkynQEKC0xvZ3NTZXJ2aWNlEo0B", "CgZFeHBvcnQSPy5vcGVudGVsZW1ldHJ5LnByb3RvLmNvbGxlY3Rvci5sb2dz", "LnYxLkV4cG9ydExvZ3NTZXJ2aWNlUmVxdWVzdBpALm9wZW50ZWxlbWV0cnku", "cHJvdG8uY29sbGVjdG9yLmxvZ3MudjEuRXhwb3J0TG9nc1NlcnZpY2VSZXNw", "b25zZSIAQpgBCihpby5vcGVudGVsZW1ldHJ5LnByb3RvLmNvbGxlY3Rvci5s", "b2dzLnYxQhBMb2dzU2VydmljZVByb3RvUAFaMGdvLm9wZW50ZWxlbWV0cnku", "aW8vcHJvdG8vb3RscC9jb2xsZWN0b3IvbG9ncy92MaoCJU9wZW5UZWxlbWV0", "cnkuUHJvdG8uQ29sbGVjdG9yLkxvZ3MuVjFiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::OpenTelemetry.Proto.Logs.V1.LogsReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::OpenTelemetry.Proto.Collector.Logs.V1.ExportLogsServiceRequest), global::OpenTelemetry.Proto.Collector.Logs.V1.ExportLogsServiceRequest.Parser, new[]{ "ResourceLogs" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OpenTelemetry.Proto.Collector.Logs.V1.ExportLogsServiceResponse), global::OpenTelemetry.Proto.Collector.Logs.V1.ExportLogsServiceResponse.Parser, new[]{ "PartialSuccess" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OpenTelemetry.Proto.Collector.Logs.V1.ExportLogsPartialSuccess), global::OpenTelemetry.Proto.Collector.Logs.V1.ExportLogsPartialSuccess.Parser, new[]{ "RejectedLogRecords", "ErrorMessage" }, null, null, null, null) })); } #endregion } #region Messages [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ExportLogsServiceRequest : pb::IMessage<ExportLogsServiceRequest> #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser<ExportLogsServiceRequest> _parser = new pb::MessageParser<ExportLogsServiceRequest>(() => new ExportLogsServiceRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser<ExportLogsServiceRequest> Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::OpenTelemetry.Proto.Collector.Logs.V1.LogsServiceReflection.Descriptor.MessageTypes[0]; } } [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 ExportLogsServiceRequest() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ExportLogsServiceRequest(ExportLogsServiceRequest other) : this() { resourceLogs_ = other.resourceLogs_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ExportLogsServiceRequest Clone() { return new ExportLogsServiceRequest(this); } /// <summary>Field number for the "resource_logs" field.</summary> public const int ResourceLogsFieldNumber = 1; private static readonly pb::FieldCodec<global::OpenTelemetry.Proto.Logs.V1.ResourceLogs> _repeated_resourceLogs_codec = pb::FieldCodec.ForMessage(10, global::OpenTelemetry.Proto.Logs.V1.ResourceLogs.Parser); private readonly pbc::RepeatedField<global::OpenTelemetry.Proto.Logs.V1.ResourceLogs> resourceLogs_ = new pbc::RepeatedField<global::OpenTelemetry.Proto.Logs.V1.ResourceLogs>(); /// <summary> /// An array of ResourceLogs. /// For data coming from a single resource this array will typically contain one /// element. Intermediary nodes (such as OpenTelemetry Collector) that receive /// data from multiple origins typically batch the data before forwarding further and /// in that case this array will contain multiple elements. /// </summary> [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField<global::OpenTelemetry.Proto.Logs.V1.ResourceLogs> ResourceLogs { get { return resourceLogs_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as ExportLogsServiceRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ExportLogsServiceRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if(!resourceLogs_.Equals(other.resourceLogs_)) 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; hash ^= resourceLogs_.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 resourceLogs_.WriteTo(output, _repeated_resourceLogs_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) { resourceLogs_.WriteTo(ref output, _repeated_resourceLogs_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; size += resourceLogs_.CalculateSize(_repeated_resourceLogs_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(ExportLogsServiceRequest other) { if (other == null) { return; } resourceLogs_.Add(other.resourceLogs_); _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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { resourceLogs_.AddEntriesFrom(input, _repeated_resourceLogs_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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { resourceLogs_.AddEntriesFrom(ref input, _repeated_resourceLogs_codec); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ExportLogsServiceResponse : pb::IMessage<ExportLogsServiceResponse> #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser<ExportLogsServiceResponse> _parser = new pb::MessageParser<ExportLogsServiceResponse>(() => new ExportLogsServiceResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser<ExportLogsServiceResponse> Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::OpenTelemetry.Proto.Collector.Logs.V1.LogsServiceReflection.Descriptor.MessageTypes[1]; } } [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 ExportLogsServiceResponse() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ExportLogsServiceResponse(ExportLogsServiceResponse other) : this() { partialSuccess_ = other.partialSuccess_ != null ? other.partialSuccess_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ExportLogsServiceResponse Clone() { return new ExportLogsServiceResponse(this); } /// <summary>Field number for the "partial_success" field.</summary> public const int PartialSuccessFieldNumber = 1; private global::OpenTelemetry.Proto.Collector.Logs.V1.ExportLogsPartialSuccess partialSuccess_; /// <summary> /// The details of a partially successful export request. /// /// If the request is only partially accepted /// (i.e. when the server accepts only parts of the data and rejects the rest) /// the server MUST initialize the `partial_success` field and MUST /// set the `rejected_<signal>` with the number of items it rejected. /// /// Servers MAY also make use of the `partial_success` field to convey /// warnings/suggestions to senders even when the request was fully accepted. /// In such cases, the `rejected_<signal>` MUST have a value of `0` and /// the `error_message` MUST be non-empty. /// /// A `partial_success` message with an empty value (rejected_<signal> = 0 and /// `error_message` = "") is equivalent to it not being set/present. Senders /// SHOULD interpret it the same way as in the full success case. /// </summary> [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OpenTelemetry.Proto.Collector.Logs.V1.ExportLogsPartialSuccess PartialSuccess { get { return partialSuccess_; } set { partialSuccess_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as ExportLogsServiceResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ExportLogsServiceResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(PartialSuccess, other.PartialSuccess)) 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 (partialSuccess_ != null) hash ^= PartialSuccess.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 (partialSuccess_ != null) { output.WriteRawTag(10); output.WriteMessage(PartialSuccess); } 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 (partialSuccess_ != null) { output.WriteRawTag(10); output.WriteMessage(PartialSuccess); } 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 (partialSuccess_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(PartialSuccess); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(ExportLogsServiceResponse other) { if (other == null) { return; } if (other.partialSuccess_ != null) { if (partialSuccess_ == null) { PartialSuccess = new global::OpenTelemetry.Proto.Collector.Logs.V1.ExportLogsPartialSuccess(); } PartialSuccess.MergeFrom(other.PartialSuccess); } _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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (partialSuccess_ == null) { PartialSuccess = new global::OpenTelemetry.Proto.Collector.Logs.V1.ExportLogsPartialSuccess(); } input.ReadMessage(PartialSuccess); 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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { if (partialSuccess_ == null) { PartialSuccess = new global::OpenTelemetry.Proto.Collector.Logs.V1.ExportLogsPartialSuccess(); } input.ReadMessage(PartialSuccess); break; } } } } #endif } [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] public sealed partial class ExportLogsPartialSuccess : pb::IMessage<ExportLogsPartialSuccess> #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser<ExportLogsPartialSuccess> _parser = new pb::MessageParser<ExportLogsPartialSuccess>(() => new ExportLogsPartialSuccess()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser<ExportLogsPartialSuccess> Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::OpenTelemetry.Proto.Collector.Logs.V1.LogsServiceReflection.Descriptor.MessageTypes[2]; } } [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 ExportLogsPartialSuccess() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ExportLogsPartialSuccess(ExportLogsPartialSuccess other) : this() { rejectedLogRecords_ = other.rejectedLogRecords_; errorMessage_ = other.errorMessage_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ExportLogsPartialSuccess Clone() { return new ExportLogsPartialSuccess(this); } /// <summary>Field number for the "rejected_log_records" field.</summary> public const int RejectedLogRecordsFieldNumber = 1; private long rejectedLogRecords_; /// <summary> /// The number of rejected log records. /// /// A `rejected_<signal>` field holding a `0` value indicates that the /// request was fully accepted. /// </summary> [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long RejectedLogRecords { get { return rejectedLogRecords_; } set { rejectedLogRecords_ = value; } } /// <summary>Field number for the "error_message" field.</summary> public const int ErrorMessageFieldNumber = 2; private string errorMessage_ = ""; /// <summary> /// A developer-facing human-readable message in English. It should be used /// either to explain why the server rejected parts of the data during a partial /// success or to convey warnings/suggestions during a full success. The message /// should offer guidance on how users can address such issues. /// /// error_message is an optional field. An error_message with an empty value /// is equivalent to it not being set. /// </summary> [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string ErrorMessage { get { return errorMessage_; } set { errorMessage_ = 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 ExportLogsPartialSuccess); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ExportLogsPartialSuccess other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (RejectedLogRecords != other.RejectedLogRecords) return false; if (ErrorMessage != other.ErrorMessage) 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 (RejectedLogRecords != 0L) hash ^= RejectedLogRecords.GetHashCode(); if (ErrorMessage.Length != 0) hash ^= ErrorMessage.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 (RejectedLogRecords != 0L) { output.WriteRawTag(8); output.WriteInt64(RejectedLogRecords); } if (ErrorMessage.Length != 0) { output.WriteRawTag(18); output.WriteString(ErrorMessage); } 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 (RejectedLogRecords != 0L) { output.WriteRawTag(8); output.WriteInt64(RejectedLogRecords); } if (ErrorMessage.Length != 0) { output.WriteRawTag(18); output.WriteString(ErrorMessage); } 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 (RejectedLogRecords != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(RejectedLogRecords); } if (ErrorMessage.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ErrorMessage); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(ExportLogsPartialSuccess other) { if (other == null) { return; } if (other.RejectedLogRecords != 0L) { RejectedLogRecords = other.RejectedLogRecords; } if (other.ErrorMessage.Length != 0) { ErrorMessage = other.ErrorMessage; } _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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { RejectedLogRecords = input.ReadInt64(); break; } case 18: { ErrorMessage = 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) { if ((tag & 7) == 4) { // Abort on any end group tag. return; } switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { RejectedLogRecords = input.ReadInt64(); break; } case 18: { ErrorMessage = input.ReadString(); break; } } } } #endif } #endregion } #endregion Designer generated code |