Bnet/Services: Updated bnet proto files

This commit is contained in:
hondacrx
2020-04-25 00:12:46 -04:00
parent 8a9bd6504c
commit fbd2922b3d
68 changed files with 104838 additions and 37901 deletions
+280
View File
@@ -0,0 +1,280 @@
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bgs/low/pb/client/api/client/v1/channel_id.proto
// </auto-generated>
#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 Bgs.Protocol.Channel.V1 {
/// <summary>Holder for reflection information generated from bgs/low/pb/client/api/client/v1/channel_id.proto</summary>
public static partial class ChannelIdReflection {
#region Descriptor
/// <summary>File descriptor for bgs/low/pb/client/api/client/v1/channel_id.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static ChannelIdReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CjBiZ3MvbG93L3BiL2NsaWVudC9hcGkvY2xpZW50L3YxL2NoYW5uZWxfaWQu",
"cHJvdG8SF2Jncy5wcm90b2NvbC5jaGFubmVsLnYxGiFiZ3MvbG93L3BiL2Ns",
"aWVudC9ycGNfdHlwZXMucHJvdG8aOWJncy9sb3cvcGIvY2xpZW50L2dsb2Jh",
"bF9leHRlbnNpb25zL21lc3NhZ2Vfb3B0aW9ucy5wcm90bxo3YmdzL2xvdy9w",
"Yi9jbGllbnQvZ2xvYmFsX2V4dGVuc2lvbnMvZmllbGRfb3B0aW9ucy5wcm90",
"bxo4YmdzL2xvdy9wYi9jbGllbnQvZ2xvYmFsX2V4dGVuc2lvbnMvbWV0aG9k",
"X29wdGlvbnMucHJvdG8aOWJncy9sb3cvcGIvY2xpZW50L2dsb2JhbF9leHRl",
"bnNpb25zL3NlcnZpY2Vfb3B0aW9ucy5wcm90byJUCglDaGFubmVsSWQSDAoE",
"dHlwZRgBIAEoDRIlCgRob3N0GAIgASgLMhcuYmdzLnByb3RvY29sLlByb2Nl",
"c3NJZBIKCgJpZBgDIAEoBzoGgvkrAggB"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Bgs.Protocol.RpcTypesReflection.Descriptor, global::Bgs.Protocol.MessageOptionsReflection.Descriptor, global::Bgs.Protocol.FieldOptionsReflection.Descriptor, global::Bgs.Protocol.MethodOptionsReflection.Descriptor, global::Bgs.Protocol.ServiceOptionsReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Bgs.Protocol.Channel.V1.ChannelId), global::Bgs.Protocol.Channel.V1.ChannelId.Parser, new[]{ "Type", "Host", "Id" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class ChannelId : pb::IMessage<ChannelId> {
private static readonly pb::MessageParser<ChannelId> _parser = new pb::MessageParser<ChannelId>(() => new ChannelId());
private pb::UnknownFieldSet _unknownFields;
private int _hasBits0;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<ChannelId> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::Bgs.Protocol.Channel.V1.ChannelIdReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ChannelId() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ChannelId(ChannelId other) : this() {
_hasBits0 = other._hasBits0;
type_ = other.type_;
host_ = other.HasHost ? other.host_.Clone() : null;
id_ = other.id_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public ChannelId Clone() {
return new ChannelId(this);
}
/// <summary>Field number for the "type" field.</summary>
public const int TypeFieldNumber = 1;
private readonly static uint TypeDefaultValue = 0;
private uint type_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint Type {
get { if ((_hasBits0 & 1) != 0) { return type_; } else { return TypeDefaultValue; } }
set {
_hasBits0 |= 1;
type_ = value;
}
}
/// <summary>Gets whether the "type" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasType {
get { return (_hasBits0 & 1) != 0; }
}
/// <summary>Clears the value of the "type" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearType() {
_hasBits0 &= ~1;
}
/// <summary>Field number for the "host" field.</summary>
public const int HostFieldNumber = 2;
private global::Bgs.Protocol.ProcessId host_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::Bgs.Protocol.ProcessId Host {
get { return host_; }
set {
host_ = value;
}
}
/// <summary>Gets whether the host field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasHost {
get { return host_ != null; }
}
/// <summary>Clears the value of the host field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearHost() {
host_ = null;
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 3;
private readonly static uint IdDefaultValue = 0;
private uint id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public uint Id {
get { if ((_hasBits0 & 2) != 0) { return id_; } else { return IdDefaultValue; } }
set {
_hasBits0 |= 2;
id_ = value;
}
}
/// <summary>Gets whether the "id" field is set</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool HasId {
get { return (_hasBits0 & 2) != 0; }
}
/// <summary>Clears the value of the "id" field</summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void ClearId() {
_hasBits0 &= ~2;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as ChannelId);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(ChannelId other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Type != other.Type) return false;
if (!object.Equals(Host, other.Host)) return false;
if (Id != other.Id) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (HasType) hash ^= Type.GetHashCode();
if (HasHost) hash ^= Host.GetHashCode();
if (HasId) hash ^= Id.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.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 (HasType) {
output.WriteRawTag(8);
output.WriteUInt32(Type);
}
if (HasHost) {
output.WriteRawTag(18);
output.WriteMessage(Host);
}
if (HasId) {
output.WriteRawTag(29);
output.WriteFixed32(Id);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (HasType) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Type);
}
if (HasHost) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Host);
}
if (HasId) {
size += 1 + 4;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(ChannelId other) {
if (other == null) {
return;
}
if (other.HasType) {
Type = other.Type;
}
if (other.HasHost) {
if (!HasHost) {
Host = new global::Bgs.Protocol.ProcessId();
}
Host.MergeFrom(other.Host);
}
if (other.HasId) {
Id = other.Id;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Type = input.ReadUInt32();
break;
}
case 18: {
if (!HasHost) {
Host = new global::Bgs.Protocol.ProcessId();
}
input.ReadMessage(Host);
break;
}
case 29: {
Id = input.ReadFixed32();
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code