You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
706 lines
23 KiB
706 lines
23 KiB
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: LogGroup.proto
|
|
#pragma warning disable 1591, 0612, 3021
|
|
#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 Aliyun.Api.LOG {
|
|
|
|
/// <summary>Holder for reflection information generated from LogGroup.proto</summary>
|
|
public static partial class LogGroupReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for LogGroup.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static LogGroupReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Cg5Mb2dHcm91cC5wcm90bxIOQWxpeXVuLkFwaS5MT0ciaQoDTG9nEgwKBFRp",
|
|
"bWUYASABKA0SLQoIQ29udGVudHMYAiADKAsyGy5BbGl5dW4uQXBpLkxPRy5M",
|
|
"b2cuQ29udGVudBolCgdDb250ZW50EgsKA0tleRgBIAEoCRINCgVWYWx1ZRgC",
|
|
"IAEoCSJeCghMb2dHcm91cBIhCgRMb2dzGAEgAygLMhMuQWxpeXVuLkFwaS5M",
|
|
"T0cuTG9nEhAKCFJlc2VydmVkGAIgASgJEg0KBVRvcGljGAMgASgJEg4KBlNv",
|
|
"dXJjZRgEIAEoCSI+CgxMb2dHcm91cExpc3QSLgoMbG9nR3JvdXBMaXN0GAEg",
|
|
"AygLMhguQWxpeXVuLkFwaS5MT0cuTG9nR3JvdXBiBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Aliyun.Api.LOG.Log), global::Aliyun.Api.LOG.Log.Parser, new[]{ "Time", "Contents" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Aliyun.Api.LOG.Log.Types.Content), global::Aliyun.Api.LOG.Log.Types.Content.Parser, new[]{ "Key", "Value" }, null, null, null)}),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Aliyun.Api.LOG.LogGroup), global::Aliyun.Api.LOG.LogGroup.Parser, new[]{ "Logs", "Reserved", "Topic", "Source" }, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Aliyun.Api.LOG.LogGroupList), global::Aliyun.Api.LOG.LogGroupList.Parser, new[]{ "LogGroupList_" }, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
public sealed partial class Log : pb::IMessage<Log> {
|
|
private static readonly pb::MessageParser<Log> _parser = new pb::MessageParser<Log>(() => new Log());
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<Log> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Aliyun.Api.LOG.LogGroupReflection.Descriptor.MessageTypes[0]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public Log() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public Log(Log other) : this() {
|
|
time_ = other.time_;
|
|
contents_ = other.contents_.Clone();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public Log Clone() {
|
|
return new Log(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void Clear() {
|
|
time_ = 0;
|
|
contents_.Clear();
|
|
}
|
|
|
|
/// <summary>Field number for the "Time" field.</summary>
|
|
public const int TimeFieldNumber = 1;
|
|
private uint time_;
|
|
/// <summary>
|
|
/// UNIX Time Format
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public uint Time {
|
|
get { return time_; }
|
|
set {
|
|
time_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Contents" field.</summary>
|
|
public const int ContentsFieldNumber = 2;
|
|
private static readonly pb::FieldCodec<global::Aliyun.Api.LOG.Log.Types.Content> _repeated_contents_codec
|
|
= pb::FieldCodec.ForMessage(18, global::Aliyun.Api.LOG.Log.Types.Content.Parser);
|
|
private readonly pbc::RepeatedField<global::Aliyun.Api.LOG.Log.Types.Content> contents_ = new pbc::RepeatedField<global::Aliyun.Api.LOG.Log.Types.Content>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public pbc::RepeatedField<global::Aliyun.Api.LOG.Log.Types.Content> Contents {
|
|
get { return contents_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as Log);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(Log other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Time != other.Time) return false;
|
|
if(!contents_.Equals(other.contents_)) return false;
|
|
return true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (Time != 0) hash ^= Time.GetHashCode();
|
|
hash ^= contents_.GetHashCode();
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
if (Time != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteUInt32(Time);
|
|
}
|
|
contents_.WriteTo(output, _repeated_contents_codec);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (Time != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Time);
|
|
}
|
|
size += contents_.CalculateSize(_repeated_contents_codec);
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(Log other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Time != 0) {
|
|
Time = other.Time;
|
|
}
|
|
contents_.Add(other.contents_);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
input.SkipLastField();
|
|
break;
|
|
case 8: {
|
|
Time = input.ReadUInt32();
|
|
break;
|
|
}
|
|
case 18: {
|
|
contents_.AddEntriesFrom(input, _repeated_contents_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void CopyFrom(Log other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
Clear();
|
|
MergeFrom(other);
|
|
}
|
|
|
|
#region Nested types
|
|
/// <summary>Container for nested types declared in the Log message type.</summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static partial class Types {
|
|
public sealed partial class Content : pb::IMessage<Content> {
|
|
private static readonly pb::MessageParser<Content> _parser = new pb::MessageParser<Content>(() => new Content());
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<Content> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Aliyun.Api.LOG.Log.Descriptor.NestedTypes[0]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public Content() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public Content(Content other) : this() {
|
|
key_ = other.key_;
|
|
value_ = other.value_;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public Content Clone() {
|
|
return new Content(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void Clear() {
|
|
key_ = "";
|
|
value_ = "";
|
|
}
|
|
|
|
/// <summary>Field number for the "Key" field.</summary>
|
|
public const int KeyFieldNumber = 1;
|
|
private string key_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string Key {
|
|
get { return key_; }
|
|
set {
|
|
key_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Value" field.</summary>
|
|
public const int ValueFieldNumber = 2;
|
|
private string value_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string Value {
|
|
get { return value_; }
|
|
set {
|
|
value_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as Content);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(Content other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Key != other.Key) return false;
|
|
if (Value != other.Value) return false;
|
|
return true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (Key.Length != 0) hash ^= Key.GetHashCode();
|
|
if (Value.Length != 0) hash ^= Value.GetHashCode();
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
if (Key.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(Key);
|
|
}
|
|
if (Value.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(Value);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (Key.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Key);
|
|
}
|
|
if (Value.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Value);
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(Content other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Key.Length != 0) {
|
|
Key = other.Key;
|
|
}
|
|
if (other.Value.Length != 0) {
|
|
Value = other.Value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
input.SkipLastField();
|
|
break;
|
|
case 10: {
|
|
Key = input.ReadString();
|
|
break;
|
|
}
|
|
case 18: {
|
|
Value = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void CopyFrom(Content other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
Clear();
|
|
MergeFrom(other);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
|
|
public sealed partial class LogGroup : pb::IMessage<LogGroup> {
|
|
private static readonly pb::MessageParser<LogGroup> _parser = new pb::MessageParser<LogGroup>(() => new LogGroup());
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<LogGroup> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Aliyun.Api.LOG.LogGroupReflection.Descriptor.MessageTypes[1]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public LogGroup() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public LogGroup(LogGroup other) : this() {
|
|
logs_ = other.logs_.Clone();
|
|
reserved_ = other.reserved_;
|
|
topic_ = other.topic_;
|
|
source_ = other.source_;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public LogGroup Clone() {
|
|
return new LogGroup(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void Clear() {
|
|
logs_.Clear();
|
|
reserved_ = "";
|
|
topic_ = "";
|
|
source_ = "";
|
|
}
|
|
|
|
/// <summary>Field number for the "Logs" field.</summary>
|
|
public const int LogsFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<global::Aliyun.Api.LOG.Log> _repeated_logs_codec
|
|
= pb::FieldCodec.ForMessage(10, global::Aliyun.Api.LOG.Log.Parser);
|
|
private readonly pbc::RepeatedField<global::Aliyun.Api.LOG.Log> logs_ = new pbc::RepeatedField<global::Aliyun.Api.LOG.Log>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public pbc::RepeatedField<global::Aliyun.Api.LOG.Log> Logs {
|
|
get { return logs_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "Reserved" field.</summary>
|
|
public const int ReservedFieldNumber = 2;
|
|
private string reserved_ = "";
|
|
/// <summary>
|
|
/// �ڲ��ֶΣ�����Ҫ��д
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string Reserved {
|
|
get { return reserved_; }
|
|
set {
|
|
reserved_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Topic" field.</summary>
|
|
public const int TopicFieldNumber = 3;
|
|
private string topic_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string Topic {
|
|
get { return topic_; }
|
|
set {
|
|
topic_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "Source" field.</summary>
|
|
public const int SourceFieldNumber = 4;
|
|
private string source_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public string Source {
|
|
get { return source_; }
|
|
set {
|
|
source_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as LogGroup);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(LogGroup other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!logs_.Equals(other.logs_)) return false;
|
|
if (Reserved != other.Reserved) return false;
|
|
if (Topic != other.Topic) return false;
|
|
if (Source != other.Source) return false;
|
|
return true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
hash ^= logs_.GetHashCode();
|
|
if (Reserved.Length != 0) hash ^= Reserved.GetHashCode();
|
|
if (Topic.Length != 0) hash ^= Topic.GetHashCode();
|
|
if (Source.Length != 0) hash ^= Source.GetHashCode();
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
logs_.WriteTo(output, _repeated_logs_codec);
|
|
if (Reserved.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(Reserved);
|
|
}
|
|
if (Topic.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(Topic);
|
|
}
|
|
if (Source.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(Source);
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
size += logs_.CalculateSize(_repeated_logs_codec);
|
|
if (Reserved.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Reserved);
|
|
}
|
|
if (Topic.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Topic);
|
|
}
|
|
if (Source.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Source);
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(LogGroup other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
logs_.Add(other.logs_);
|
|
if (other.Reserved.Length != 0) {
|
|
Reserved = other.Reserved;
|
|
}
|
|
if (other.Topic.Length != 0) {
|
|
Topic = other.Topic;
|
|
}
|
|
if (other.Source.Length != 0) {
|
|
Source = other.Source;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
input.SkipLastField();
|
|
break;
|
|
case 10: {
|
|
logs_.AddEntriesFrom(input, _repeated_logs_codec);
|
|
break;
|
|
}
|
|
case 18: {
|
|
Reserved = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
Topic = input.ReadString();
|
|
break;
|
|
}
|
|
case 34: {
|
|
Source = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void CopyFrom(LogGroup other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
Clear();
|
|
MergeFrom(other);
|
|
}
|
|
|
|
}
|
|
|
|
public sealed partial class LogGroupList : pb::IMessage<LogGroupList> {
|
|
private static readonly pb::MessageParser<LogGroupList> _parser = new pb::MessageParser<LogGroupList>(() => new LogGroupList());
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pb::MessageParser<LogGroupList> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Aliyun.Api.LOG.LogGroupReflection.Descriptor.MessageTypes[2]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public LogGroupList() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public LogGroupList(LogGroupList other) : this() {
|
|
logGroupList_ = other.logGroupList_.Clone();
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public LogGroupList Clone() {
|
|
return new LogGroupList(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void Clear() {
|
|
logGroupList_.Clear();
|
|
}
|
|
|
|
/// <summary>Field number for the "logGroupList" field.</summary>
|
|
public const int LogGroupList_FieldNumber = 1;
|
|
private static readonly pb::FieldCodec<global::Aliyun.Api.LOG.LogGroup> _repeated_logGroupList_codec
|
|
= pb::FieldCodec.ForMessage(10, global::Aliyun.Api.LOG.LogGroup.Parser);
|
|
private readonly pbc::RepeatedField<global::Aliyun.Api.LOG.LogGroup> logGroupList_ = new pbc::RepeatedField<global::Aliyun.Api.LOG.LogGroup>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public pbc::RepeatedField<global::Aliyun.Api.LOG.LogGroup> LogGroupList_ {
|
|
get { return logGroupList_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as LogGroupList);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public bool Equals(LogGroupList other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!logGroupList_.Equals(other.logGroupList_)) return false;
|
|
return true;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
hash ^= logGroupList_.GetHashCode();
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
logGroupList_.WriteTo(output, _repeated_logGroupList_codec);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
size += logGroupList_.CalculateSize(_repeated_logGroupList_codec);
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(LogGroupList other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
logGroupList_.Add(other.logGroupList_);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
switch(tag) {
|
|
default:
|
|
input.SkipLastField();
|
|
break;
|
|
case 10: {
|
|
logGroupList_.AddEntriesFrom(input, _repeated_logGroupList_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public void CopyFrom(LogGroupList other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
Clear();
|
|
MergeFrom(other);
|
|
}
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|
|
|