//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: EntityFrameworkDAOServices.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 EntityFrameworkDAOServices {
/// Holder for reflection information generated from EntityFrameworkDAOServices.proto
public static partial class EntityFrameworkDAOServicesReflection {
#region Descriptor
/// File descriptor for EntityFrameworkDAOServices.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static EntityFrameworkDAOServicesReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiBFbnRpdHlGcmFtZXdvcmtEQU9TZXJ2aWNlcy5wcm90bxIaRW50aXR5RnJh",
"bWV3b3JrREFPU2VydmljZXMi6wEKDVNlcnZpY2VJbmZvRUYSEgoKc2Vydmlj",
"ZXNpZBgBIAEoBRIMCgRuYW1lGAIgASgJEhcKD3Byb2R1Y3RfdHlwZV9pZBgD",
"IAEoBRISCgpldmVudHNfaWRzGAQgASgJEhMKC2Rlc2NyaXB0aW9uGAUgASgJ",
"EhIKCmZvcm1fdG1wbHQYBiABKAkSDgoGYWN0aXZlGAcgASgIEhMKC2xhc3Rf",
"dXBkYXRlGAggASgJEhIKCmJhc2VfcHJpY2UYCSABKAUSGAoQc2VydmljZV9s",
"b2dvX3VybBgKIAEoCRIPCgd2aXNpYmxlGAsgASgIIosBChFQcm9kdWN0VHlw",
"ZUluZm9FRhIKCgJpZBgBIAEoBRIUCgxwcm9kdWN0X25hbWUYAiABKAkSEwoL",
"cHJvZHVjdF9kc2MYAyABKAkSFAoMaXNfYXZhaWxhYmxlGAQgASgIEg0KBXN0",
"ZXBzGAUgASgJEhoKEmlkZW50aWZpY2F0aW9uX2tleRgGIAEoCSI6Ch9HZXRT",
"ZXJ2aWNlc0J5UHJvZHVjdFR5cGVSZXF1ZXN0EhcKD3Byb2R1Y3RfdHlwZV9p",
"ZBgBIAEoBSJfCiBHZXRTZXJ2aWNlc0J5UHJvZHVjdFR5cGVSZXNwb25zZRI7",
"CghzZXJ2aWNlcxgBIAMoCzIpLkVudGl0eUZyYW1ld29ya0RBT1NlcnZpY2Vz",
"LlNlcnZpY2VJbmZvRUYiMAodR2V0QWxsb3dlZFByb2R1Y3RUeXBlc1JlcXVl",
"c3QSDwoHdXNlcl9pZBgBIAEoBSJlCh5HZXRBbGxvd2VkUHJvZHVjdFR5cGVz",
"UmVzcG9uc2USQwoMcHJvZHVjdF90eXBlGAEgAygLMi0uRW50aXR5RnJhbWV3",
"b3JrREFPU2VydmljZXMuUHJvZHVjdFR5cGVJbmZvRUYiRQoZR2V0QWxsb3dl",
"ZFNlcnZpY2VzUmVxdWVzdBIPCgd1c2VyX2lkGAEgASgFEhcKD3Byb2R1Y3Rf",
"dHlwZV9pZBgCIAEoBSJZChpHZXRBbGxvd2VkU2VydmljZXNSZXNwb25zZRI7",
"CghzZXJ2aWNlcxgBIAMoCzIpLkVudGl0eUZyYW1ld29ya0RBT1NlcnZpY2Vz",
"LlNlcnZpY2VJbmZvRUYyvAMKDkNhdGFsb2dTZXJ2aWNlEpEBChRHZXRTZXJ2",
"aWNlc0NhdGFsb2dFRhI7LkVudGl0eUZyYW1ld29ya0RBT1NlcnZpY2VzLkdl",
"dFNlcnZpY2VzQnlQcm9kdWN0VHlwZVJlcXVlc3QaPC5FbnRpdHlGcmFtZXdv",
"cmtEQU9TZXJ2aWNlcy5HZXRTZXJ2aWNlc0J5UHJvZHVjdFR5cGVSZXNwb25z",
"ZRKPAQoWR2V0QWxsb3dlZFByb2R1Y3RUeXBlcxI5LkVudGl0eUZyYW1ld29y",
"a0RBT1NlcnZpY2VzLkdldEFsbG93ZWRQcm9kdWN0VHlwZXNSZXF1ZXN0Gjou",
"RW50aXR5RnJhbWV3b3JrREFPU2VydmljZXMuR2V0QWxsb3dlZFByb2R1Y3RU",
"eXBlc1Jlc3BvbnNlEoMBChJHZXRBbGxvd2VkU2VydmljZXMSNS5FbnRpdHlG",
"cmFtZXdvcmtEQU9TZXJ2aWNlcy5HZXRBbGxvd2VkU2VydmljZXNSZXF1ZXN0",
"GjYuRW50aXR5RnJhbWV3b3JrREFPU2VydmljZXMuR2V0QWxsb3dlZFNlcnZp",
"Y2VzUmVzcG9uc2ViBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EntityFrameworkDAOServices.ServiceInfoEF), global::EntityFrameworkDAOServices.ServiceInfoEF.Parser, new[]{ "Servicesid", "Name", "ProductTypeId", "EventsIds", "Description", "FormTmplt", "Active", "LastUpdate", "BasePrice", "ServiceLogoUrl", "Visible" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::EntityFrameworkDAOServices.ProductTypeInfoEF), global::EntityFrameworkDAOServices.ProductTypeInfoEF.Parser, new[]{ "Id", "ProductName", "ProductDsc", "IsAvailable", "Steps", "IdentificationKey" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::EntityFrameworkDAOServices.GetServicesByProductTypeRequest), global::EntityFrameworkDAOServices.GetServicesByProductTypeRequest.Parser, new[]{ "ProductTypeId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::EntityFrameworkDAOServices.GetServicesByProductTypeResponse), global::EntityFrameworkDAOServices.GetServicesByProductTypeResponse.Parser, new[]{ "Services" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::EntityFrameworkDAOServices.GetAllowedProductTypesRequest), global::EntityFrameworkDAOServices.GetAllowedProductTypesRequest.Parser, new[]{ "UserId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::EntityFrameworkDAOServices.GetAllowedProductTypesResponse), global::EntityFrameworkDAOServices.GetAllowedProductTypesResponse.Parser, new[]{ "ProductType" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::EntityFrameworkDAOServices.GetAllowedServicesRequest), global::EntityFrameworkDAOServices.GetAllowedServicesRequest.Parser, new[]{ "UserId", "ProductTypeId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::EntityFrameworkDAOServices.GetAllowedServicesResponse), global::EntityFrameworkDAOServices.GetAllowedServicesResponse.Parser, new[]{ "Services" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ServiceInfoEF : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ServiceInfoEF());
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::EntityFrameworkDAOServices.EntityFrameworkDAOServicesReflection.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 ServiceInfoEF() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ServiceInfoEF(ServiceInfoEF other) : this() {
servicesid_ = other.servicesid_;
name_ = other.name_;
productTypeId_ = other.productTypeId_;
eventsIds_ = other.eventsIds_;
description_ = other.description_;
formTmplt_ = other.formTmplt_;
active_ = other.active_;
lastUpdate_ = other.lastUpdate_;
basePrice_ = other.basePrice_;
serviceLogoUrl_ = other.serviceLogoUrl_;
visible_ = other.visible_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ServiceInfoEF Clone() {
return new ServiceInfoEF(this);
}
/// Field number for the "servicesid" field.
public const int ServicesidFieldNumber = 1;
private int servicesid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Servicesid {
get { return servicesid_; }
set {
servicesid_ = value;
}
}
/// Field number for the "name" field.
public const int NameFieldNumber = 2;
private string name_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Name {
get { return name_; }
set {
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "product_type_id" field.
public const int ProductTypeIdFieldNumber = 3;
private int productTypeId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ProductTypeId {
get { return productTypeId_; }
set {
productTypeId_ = value;
}
}
/// Field number for the "events_ids" field.
public const int EventsIdsFieldNumber = 4;
private string eventsIds_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string EventsIds {
get { return eventsIds_; }
set {
eventsIds_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "description" field.
public const int DescriptionFieldNumber = 5;
private string description_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Description {
get { return description_; }
set {
description_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "form_tmplt" field.
public const int FormTmpltFieldNumber = 6;
private string formTmplt_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string FormTmplt {
get { return formTmplt_; }
set {
formTmplt_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "active" field.
public const int ActiveFieldNumber = 7;
private bool active_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Active {
get { return active_; }
set {
active_ = value;
}
}
/// Field number for the "last_update" field.
public const int LastUpdateFieldNumber = 8;
private string lastUpdate_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string LastUpdate {
get { return lastUpdate_; }
set {
lastUpdate_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "base_price" field.
public const int BasePriceFieldNumber = 9;
private int basePrice_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int BasePrice {
get { return basePrice_; }
set {
basePrice_ = value;
}
}
/// Field number for the "service_logo_url" field.
public const int ServiceLogoUrlFieldNumber = 10;
private string serviceLogoUrl_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ServiceLogoUrl {
get { return serviceLogoUrl_; }
set {
serviceLogoUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "visible" field.
public const int VisibleFieldNumber = 11;
private bool visible_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Visible {
get { return visible_; }
set {
visible_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ServiceInfoEF);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ServiceInfoEF other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Servicesid != other.Servicesid) return false;
if (Name != other.Name) return false;
if (ProductTypeId != other.ProductTypeId) return false;
if (EventsIds != other.EventsIds) return false;
if (Description != other.Description) return false;
if (FormTmplt != other.FormTmplt) return false;
if (Active != other.Active) return false;
if (LastUpdate != other.LastUpdate) return false;
if (BasePrice != other.BasePrice) return false;
if (ServiceLogoUrl != other.ServiceLogoUrl) return false;
if (Visible != other.Visible) 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 (Servicesid != 0) hash ^= Servicesid.GetHashCode();
if (Name.Length != 0) hash ^= Name.GetHashCode();
if (ProductTypeId != 0) hash ^= ProductTypeId.GetHashCode();
if (EventsIds.Length != 0) hash ^= EventsIds.GetHashCode();
if (Description.Length != 0) hash ^= Description.GetHashCode();
if (FormTmplt.Length != 0) hash ^= FormTmplt.GetHashCode();
if (Active != false) hash ^= Active.GetHashCode();
if (LastUpdate.Length != 0) hash ^= LastUpdate.GetHashCode();
if (BasePrice != 0) hash ^= BasePrice.GetHashCode();
if (ServiceLogoUrl.Length != 0) hash ^= ServiceLogoUrl.GetHashCode();
if (Visible != false) hash ^= Visible.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 (Servicesid != 0) {
output.WriteRawTag(8);
output.WriteInt32(Servicesid);
}
if (Name.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Name);
}
if (ProductTypeId != 0) {
output.WriteRawTag(24);
output.WriteInt32(ProductTypeId);
}
if (EventsIds.Length != 0) {
output.WriteRawTag(34);
output.WriteString(EventsIds);
}
if (Description.Length != 0) {
output.WriteRawTag(42);
output.WriteString(Description);
}
if (FormTmplt.Length != 0) {
output.WriteRawTag(50);
output.WriteString(FormTmplt);
}
if (Active != false) {
output.WriteRawTag(56);
output.WriteBool(Active);
}
if (LastUpdate.Length != 0) {
output.WriteRawTag(66);
output.WriteString(LastUpdate);
}
if (BasePrice != 0) {
output.WriteRawTag(72);
output.WriteInt32(BasePrice);
}
if (ServiceLogoUrl.Length != 0) {
output.WriteRawTag(82);
output.WriteString(ServiceLogoUrl);
}
if (Visible != false) {
output.WriteRawTag(88);
output.WriteBool(Visible);
}
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 (Servicesid != 0) {
output.WriteRawTag(8);
output.WriteInt32(Servicesid);
}
if (Name.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Name);
}
if (ProductTypeId != 0) {
output.WriteRawTag(24);
output.WriteInt32(ProductTypeId);
}
if (EventsIds.Length != 0) {
output.WriteRawTag(34);
output.WriteString(EventsIds);
}
if (Description.Length != 0) {
output.WriteRawTag(42);
output.WriteString(Description);
}
if (FormTmplt.Length != 0) {
output.WriteRawTag(50);
output.WriteString(FormTmplt);
}
if (Active != false) {
output.WriteRawTag(56);
output.WriteBool(Active);
}
if (LastUpdate.Length != 0) {
output.WriteRawTag(66);
output.WriteString(LastUpdate);
}
if (BasePrice != 0) {
output.WriteRawTag(72);
output.WriteInt32(BasePrice);
}
if (ServiceLogoUrl.Length != 0) {
output.WriteRawTag(82);
output.WriteString(ServiceLogoUrl);
}
if (Visible != false) {
output.WriteRawTag(88);
output.WriteBool(Visible);
}
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 (Servicesid != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Servicesid);
}
if (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (ProductTypeId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ProductTypeId);
}
if (EventsIds.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(EventsIds);
}
if (Description.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Description);
}
if (FormTmplt.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(FormTmplt);
}
if (Active != false) {
size += 1 + 1;
}
if (LastUpdate.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(LastUpdate);
}
if (BasePrice != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(BasePrice);
}
if (ServiceLogoUrl.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ServiceLogoUrl);
}
if (Visible != false) {
size += 1 + 1;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ServiceInfoEF other) {
if (other == null) {
return;
}
if (other.Servicesid != 0) {
Servicesid = other.Servicesid;
}
if (other.Name.Length != 0) {
Name = other.Name;
}
if (other.ProductTypeId != 0) {
ProductTypeId = other.ProductTypeId;
}
if (other.EventsIds.Length != 0) {
EventsIds = other.EventsIds;
}
if (other.Description.Length != 0) {
Description = other.Description;
}
if (other.FormTmplt.Length != 0) {
FormTmplt = other.FormTmplt;
}
if (other.Active != false) {
Active = other.Active;
}
if (other.LastUpdate.Length != 0) {
LastUpdate = other.LastUpdate;
}
if (other.BasePrice != 0) {
BasePrice = other.BasePrice;
}
if (other.ServiceLogoUrl.Length != 0) {
ServiceLogoUrl = other.ServiceLogoUrl;
}
if (other.Visible != false) {
Visible = other.Visible;
}
_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: {
Servicesid = input.ReadInt32();
break;
}
case 18: {
Name = input.ReadString();
break;
}
case 24: {
ProductTypeId = input.ReadInt32();
break;
}
case 34: {
EventsIds = input.ReadString();
break;
}
case 42: {
Description = input.ReadString();
break;
}
case 50: {
FormTmplt = input.ReadString();
break;
}
case 56: {
Active = input.ReadBool();
break;
}
case 66: {
LastUpdate = input.ReadString();
break;
}
case 72: {
BasePrice = input.ReadInt32();
break;
}
case 82: {
ServiceLogoUrl = input.ReadString();
break;
}
case 88: {
Visible = input.ReadBool();
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: {
Servicesid = input.ReadInt32();
break;
}
case 18: {
Name = input.ReadString();
break;
}
case 24: {
ProductTypeId = input.ReadInt32();
break;
}
case 34: {
EventsIds = input.ReadString();
break;
}
case 42: {
Description = input.ReadString();
break;
}
case 50: {
FormTmplt = input.ReadString();
break;
}
case 56: {
Active = input.ReadBool();
break;
}
case 66: {
LastUpdate = input.ReadString();
break;
}
case 72: {
BasePrice = input.ReadInt32();
break;
}
case 82: {
ServiceLogoUrl = input.ReadString();
break;
}
case 88: {
Visible = input.ReadBool();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ProductTypeInfoEF : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProductTypeInfoEF());
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::EntityFrameworkDAOServices.EntityFrameworkDAOServicesReflection.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 ProductTypeInfoEF() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ProductTypeInfoEF(ProductTypeInfoEF other) : this() {
id_ = other.id_;
productName_ = other.productName_;
productDsc_ = other.productDsc_;
isAvailable_ = other.isAvailable_;
steps_ = other.steps_;
identificationKey_ = other.identificationKey_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ProductTypeInfoEF Clone() {
return new ProductTypeInfoEF(this);
}
/// Field number for the "id" field.
public const int IdFieldNumber = 1;
private int id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Id {
get { return id_; }
set {
id_ = value;
}
}
/// Field number for the "product_name" field.
public const int ProductNameFieldNumber = 2;
private string productName_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ProductName {
get { return productName_; }
set {
productName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "product_dsc" field.
public const int ProductDscFieldNumber = 3;
private string productDsc_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ProductDsc {
get { return productDsc_; }
set {
productDsc_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "is_available" field.
public const int IsAvailableFieldNumber = 4;
private bool isAvailable_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsAvailable {
get { return isAvailable_; }
set {
isAvailable_ = value;
}
}
/// Field number for the "steps" field.
public const int StepsFieldNumber = 5;
private string steps_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Steps {
get { return steps_; }
set {
steps_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "identification_key" field.
public const int IdentificationKeyFieldNumber = 6;
private string identificationKey_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string IdentificationKey {
get { return identificationKey_; }
set {
identificationKey_ = 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 ProductTypeInfoEF);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ProductTypeInfoEF other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (ProductName != other.ProductName) return false;
if (ProductDsc != other.ProductDsc) return false;
if (IsAvailable != other.IsAvailable) return false;
if (Steps != other.Steps) return false;
if (IdentificationKey != other.IdentificationKey) 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 (Id != 0) hash ^= Id.GetHashCode();
if (ProductName.Length != 0) hash ^= ProductName.GetHashCode();
if (ProductDsc.Length != 0) hash ^= ProductDsc.GetHashCode();
if (IsAvailable != false) hash ^= IsAvailable.GetHashCode();
if (Steps.Length != 0) hash ^= Steps.GetHashCode();
if (IdentificationKey.Length != 0) hash ^= IdentificationKey.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 (Id != 0) {
output.WriteRawTag(8);
output.WriteInt32(Id);
}
if (ProductName.Length != 0) {
output.WriteRawTag(18);
output.WriteString(ProductName);
}
if (ProductDsc.Length != 0) {
output.WriteRawTag(26);
output.WriteString(ProductDsc);
}
if (IsAvailable != false) {
output.WriteRawTag(32);
output.WriteBool(IsAvailable);
}
if (Steps.Length != 0) {
output.WriteRawTag(42);
output.WriteString(Steps);
}
if (IdentificationKey.Length != 0) {
output.WriteRawTag(50);
output.WriteString(IdentificationKey);
}
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 (Id != 0) {
output.WriteRawTag(8);
output.WriteInt32(Id);
}
if (ProductName.Length != 0) {
output.WriteRawTag(18);
output.WriteString(ProductName);
}
if (ProductDsc.Length != 0) {
output.WriteRawTag(26);
output.WriteString(ProductDsc);
}
if (IsAvailable != false) {
output.WriteRawTag(32);
output.WriteBool(IsAvailable);
}
if (Steps.Length != 0) {
output.WriteRawTag(42);
output.WriteString(Steps);
}
if (IdentificationKey.Length != 0) {
output.WriteRawTag(50);
output.WriteString(IdentificationKey);
}
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 (Id != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
}
if (ProductName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ProductName);
}
if (ProductDsc.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ProductDsc);
}
if (IsAvailable != false) {
size += 1 + 1;
}
if (Steps.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Steps);
}
if (IdentificationKey.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(IdentificationKey);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ProductTypeInfoEF other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
if (other.ProductName.Length != 0) {
ProductName = other.ProductName;
}
if (other.ProductDsc.Length != 0) {
ProductDsc = other.ProductDsc;
}
if (other.IsAvailable != false) {
IsAvailable = other.IsAvailable;
}
if (other.Steps.Length != 0) {
Steps = other.Steps;
}
if (other.IdentificationKey.Length != 0) {
IdentificationKey = other.IdentificationKey;
}
_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: {
Id = input.ReadInt32();
break;
}
case 18: {
ProductName = input.ReadString();
break;
}
case 26: {
ProductDsc = input.ReadString();
break;
}
case 32: {
IsAvailable = input.ReadBool();
break;
}
case 42: {
Steps = input.ReadString();
break;
}
case 50: {
IdentificationKey = 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: {
Id = input.ReadInt32();
break;
}
case 18: {
ProductName = input.ReadString();
break;
}
case 26: {
ProductDsc = input.ReadString();
break;
}
case 32: {
IsAvailable = input.ReadBool();
break;
}
case 42: {
Steps = input.ReadString();
break;
}
case 50: {
IdentificationKey = input.ReadString();
break;
}
}
}
}
#endif
}
///
/// --- Request/Response para métodos Backend ---
///
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetServicesByProductTypeRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetServicesByProductTypeRequest());
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::EntityFrameworkDAOServices.EntityFrameworkDAOServicesReflection.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 GetServicesByProductTypeRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetServicesByProductTypeRequest(GetServicesByProductTypeRequest other) : this() {
productTypeId_ = other.productTypeId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetServicesByProductTypeRequest Clone() {
return new GetServicesByProductTypeRequest(this);
}
/// Field number for the "product_type_id" field.
public const int ProductTypeIdFieldNumber = 1;
private int productTypeId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ProductTypeId {
get { return productTypeId_; }
set {
productTypeId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetServicesByProductTypeRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetServicesByProductTypeRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ProductTypeId != other.ProductTypeId) 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 (ProductTypeId != 0) hash ^= ProductTypeId.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 (ProductTypeId != 0) {
output.WriteRawTag(8);
output.WriteInt32(ProductTypeId);
}
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 (ProductTypeId != 0) {
output.WriteRawTag(8);
output.WriteInt32(ProductTypeId);
}
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 (ProductTypeId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ProductTypeId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetServicesByProductTypeRequest other) {
if (other == null) {
return;
}
if (other.ProductTypeId != 0) {
ProductTypeId = other.ProductTypeId;
}
_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: {
ProductTypeId = input.ReadInt32();
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: {
ProductTypeId = input.ReadInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetServicesByProductTypeResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetServicesByProductTypeResponse());
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::EntityFrameworkDAOServices.EntityFrameworkDAOServicesReflection.Descriptor.MessageTypes[3]; }
}
[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 GetServicesByProductTypeResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetServicesByProductTypeResponse(GetServicesByProductTypeResponse other) : this() {
services_ = other.services_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetServicesByProductTypeResponse Clone() {
return new GetServicesByProductTypeResponse(this);
}
/// Field number for the "services" field.
public const int ServicesFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_services_codec
= pb::FieldCodec.ForMessage(10, global::EntityFrameworkDAOServices.ServiceInfoEF.Parser);
private readonly pbc::RepeatedField services_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField Services {
get { return services_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetServicesByProductTypeResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetServicesByProductTypeResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!services_.Equals(other.services_)) 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 ^= services_.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
services_.WriteTo(output, _repeated_services_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) {
services_.WriteTo(ref output, _repeated_services_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 += services_.CalculateSize(_repeated_services_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetServicesByProductTypeResponse other) {
if (other == null) {
return;
}
services_.Add(other.services_);
_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: {
services_.AddEntriesFrom(input, _repeated_services_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: {
services_.AddEntriesFrom(ref input, _repeated_services_codec);
break;
}
}
}
}
#endif
}
///
/// --- Request/Response para métodos Frontend (Perfil) ---
///
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetAllowedProductTypesRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAllowedProductTypesRequest());
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::EntityFrameworkDAOServices.EntityFrameworkDAOServicesReflection.Descriptor.MessageTypes[4]; }
}
[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 GetAllowedProductTypesRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetAllowedProductTypesRequest(GetAllowedProductTypesRequest other) : this() {
userId_ = other.userId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetAllowedProductTypesRequest Clone() {
return new GetAllowedProductTypesRequest(this);
}
/// Field number for the "user_id" field.
public const int UserIdFieldNumber = 1;
private int userId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int UserId {
get { return userId_; }
set {
userId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetAllowedProductTypesRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetAllowedProductTypesRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (UserId != other.UserId) 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 (UserId != 0) hash ^= UserId.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 (UserId != 0) {
output.WriteRawTag(8);
output.WriteInt32(UserId);
}
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 (UserId != 0) {
output.WriteRawTag(8);
output.WriteInt32(UserId);
}
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 (UserId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(UserId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetAllowedProductTypesRequest other) {
if (other == null) {
return;
}
if (other.UserId != 0) {
UserId = other.UserId;
}
_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: {
UserId = input.ReadInt32();
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: {
UserId = input.ReadInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetAllowedProductTypesResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAllowedProductTypesResponse());
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::EntityFrameworkDAOServices.EntityFrameworkDAOServicesReflection.Descriptor.MessageTypes[5]; }
}
[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 GetAllowedProductTypesResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetAllowedProductTypesResponse(GetAllowedProductTypesResponse other) : this() {
productType_ = other.productType_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetAllowedProductTypesResponse Clone() {
return new GetAllowedProductTypesResponse(this);
}
/// Field number for the "product_type" field.
public const int ProductTypeFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_productType_codec
= pb::FieldCodec.ForMessage(10, global::EntityFrameworkDAOServices.ProductTypeInfoEF.Parser);
private readonly pbc::RepeatedField productType_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField ProductType {
get { return productType_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetAllowedProductTypesResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetAllowedProductTypesResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!productType_.Equals(other.productType_)) 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 ^= productType_.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
productType_.WriteTo(output, _repeated_productType_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) {
productType_.WriteTo(ref output, _repeated_productType_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 += productType_.CalculateSize(_repeated_productType_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetAllowedProductTypesResponse other) {
if (other == null) {
return;
}
productType_.Add(other.productType_);
_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: {
productType_.AddEntriesFrom(input, _repeated_productType_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: {
productType_.AddEntriesFrom(ref input, _repeated_productType_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetAllowedServicesRequest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAllowedServicesRequest());
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::EntityFrameworkDAOServices.EntityFrameworkDAOServicesReflection.Descriptor.MessageTypes[6]; }
}
[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 GetAllowedServicesRequest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetAllowedServicesRequest(GetAllowedServicesRequest other) : this() {
userId_ = other.userId_;
productTypeId_ = other.productTypeId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetAllowedServicesRequest Clone() {
return new GetAllowedServicesRequest(this);
}
/// Field number for the "user_id" field.
public const int UserIdFieldNumber = 1;
private int userId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int UserId {
get { return userId_; }
set {
userId_ = value;
}
}
/// Field number for the "product_type_id" field.
public const int ProductTypeIdFieldNumber = 2;
private int productTypeId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ProductTypeId {
get { return productTypeId_; }
set {
productTypeId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetAllowedServicesRequest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetAllowedServicesRequest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (UserId != other.UserId) return false;
if (ProductTypeId != other.ProductTypeId) 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 (UserId != 0) hash ^= UserId.GetHashCode();
if (ProductTypeId != 0) hash ^= ProductTypeId.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 (UserId != 0) {
output.WriteRawTag(8);
output.WriteInt32(UserId);
}
if (ProductTypeId != 0) {
output.WriteRawTag(16);
output.WriteInt32(ProductTypeId);
}
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 (UserId != 0) {
output.WriteRawTag(8);
output.WriteInt32(UserId);
}
if (ProductTypeId != 0) {
output.WriteRawTag(16);
output.WriteInt32(ProductTypeId);
}
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 (UserId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(UserId);
}
if (ProductTypeId != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ProductTypeId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetAllowedServicesRequest other) {
if (other == null) {
return;
}
if (other.UserId != 0) {
UserId = other.UserId;
}
if (other.ProductTypeId != 0) {
ProductTypeId = other.ProductTypeId;
}
_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: {
UserId = input.ReadInt32();
break;
}
case 16: {
ProductTypeId = input.ReadInt32();
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: {
UserId = input.ReadInt32();
break;
}
case 16: {
ProductTypeId = input.ReadInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GetAllowedServicesResponse : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetAllowedServicesResponse());
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::EntityFrameworkDAOServices.EntityFrameworkDAOServicesReflection.Descriptor.MessageTypes[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 GetAllowedServicesResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetAllowedServicesResponse(GetAllowedServicesResponse other) : this() {
services_ = other.services_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GetAllowedServicesResponse Clone() {
return new GetAllowedServicesResponse(this);
}
/// Field number for the "services" field.
public const int ServicesFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_services_codec
= pb::FieldCodec.ForMessage(10, global::EntityFrameworkDAOServices.ServiceInfoEF.Parser);
private readonly pbc::RepeatedField services_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField Services {
get { return services_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as GetAllowedServicesResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GetAllowedServicesResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!services_.Equals(other.services_)) 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 ^= services_.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
services_.WriteTo(output, _repeated_services_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) {
services_.WriteTo(ref output, _repeated_services_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 += services_.CalculateSize(_repeated_services_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(GetAllowedServicesResponse other) {
if (other == null) {
return;
}
services_.Add(other.services_);
_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: {
services_.AddEntriesFrom(input, _repeated_services_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: {
services_.AddEntriesFrom(ref input, _repeated_services_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code