//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: rec_room/persistence/interaction_filter.proto
//
#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 RecRoom.Protobuf {
/// Holder for reflection information generated from rec_room/persistence/interaction_filter.proto
public static partial class InteractionFilterReflection {
#region Descriptor
/// File descriptor for rec_room/persistence/interaction_filter.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static InteractionFilterReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Ci1yZWNfcm9vbS9wZXJzaXN0ZW5jZS9pbnRlcmFjdGlvbl9maWx0ZXIucHJv",
"dG8SCHJlY19yb29tImkKFUludGVyYWN0aW9uRmlsdGVyRGF0YRIYChBpbnRl",
"cmFjdGlvbl9tb2RlGAEgASgFEhcKD2dhbWVfcm9sZV9ndWlkcxgCIAEoDBIP",
"CgdlbmFibGVkGAMgASgIEgwKBHRhZ3MYBCADKAlCE6oCEFJlY1Jvb20uUHJv",
"dG9idWZiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.InteractionFilterData), global::RecRoom.Protobuf.InteractionFilterData.Parser, new[]{ "InteractionMode", "GameRoleGuids", "Enabled", "Tags" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class InteractionFilterData : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InteractionFilterData());
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::RecRoom.Protobuf.InteractionFilterReflection.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 InteractionFilterData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public InteractionFilterData(InteractionFilterData other) : this() {
interactionMode_ = other.interactionMode_;
gameRoleGuids_ = other.gameRoleGuids_;
enabled_ = other.enabled_;
tags_ = other.tags_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public InteractionFilterData Clone() {
return new InteractionFilterData(this);
}
/// Field number for the "interaction_mode" field.
public const int InteractionModeFieldNumber = 1;
private int interactionMode_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int InteractionMode {
get { return interactionMode_; }
set {
interactionMode_ = value;
}
}
/// Field number for the "game_role_guids" field.
public const int GameRoleGuidsFieldNumber = 2;
private pb::ByteString gameRoleGuids_ = pb::ByteString.Empty;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pb::ByteString GameRoleGuids {
get { return gameRoleGuids_; }
set {
gameRoleGuids_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "enabled" field.
public const int EnabledFieldNumber = 3;
private bool enabled_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Enabled {
get { return enabled_; }
set {
enabled_ = value;
}
}
/// Field number for the "tags" field.
public const int TagsFieldNumber = 4;
private static readonly pb::FieldCodec _repeated_tags_codec
= pb::FieldCodec.ForString(34);
private readonly pbc::RepeatedField tags_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField Tags {
get { return tags_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as InteractionFilterData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(InteractionFilterData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (InteractionMode != other.InteractionMode) return false;
if (GameRoleGuids != other.GameRoleGuids) return false;
if (Enabled != other.Enabled) return false;
if(!tags_.Equals(other.tags_)) 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 (InteractionMode != 0) hash ^= InteractionMode.GetHashCode();
if (GameRoleGuids.Length != 0) hash ^= GameRoleGuids.GetHashCode();
if (Enabled != false) hash ^= Enabled.GetHashCode();
hash ^= tags_.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 (InteractionMode != 0) {
output.WriteRawTag(8);
output.WriteInt32(InteractionMode);
}
if (GameRoleGuids.Length != 0) {
output.WriteRawTag(18);
output.WriteBytes(GameRoleGuids);
}
if (Enabled != false) {
output.WriteRawTag(24);
output.WriteBool(Enabled);
}
tags_.WriteTo(output, _repeated_tags_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 (InteractionMode != 0) {
output.WriteRawTag(8);
output.WriteInt32(InteractionMode);
}
if (GameRoleGuids.Length != 0) {
output.WriteRawTag(18);
output.WriteBytes(GameRoleGuids);
}
if (Enabled != false) {
output.WriteRawTag(24);
output.WriteBool(Enabled);
}
tags_.WriteTo(ref output, _repeated_tags_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 (InteractionMode != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(InteractionMode);
}
if (GameRoleGuids.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeBytesSize(GameRoleGuids);
}
if (Enabled != false) {
size += 1 + 1;
}
size += tags_.CalculateSize(_repeated_tags_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(InteractionFilterData other) {
if (other == null) {
return;
}
if (other.InteractionMode != 0) {
InteractionMode = other.InteractionMode;
}
if (other.GameRoleGuids.Length != 0) {
GameRoleGuids = other.GameRoleGuids;
}
if (other.Enabled != false) {
Enabled = other.Enabled;
}
tags_.Add(other.tags_);
_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: {
InteractionMode = input.ReadInt32();
break;
}
case 18: {
GameRoleGuids = input.ReadBytes();
break;
}
case 24: {
Enabled = input.ReadBool();
break;
}
case 34: {
tags_.AddEntriesFrom(input, _repeated_tags_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 8: {
InteractionMode = input.ReadInt32();
break;
}
case 18: {
GameRoleGuids = input.ReadBytes();
break;
}
case 24: {
Enabled = input.ReadBool();
break;
}
case 34: {
tags_.AddEntriesFrom(ref input, _repeated_tags_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code