示例#1
0
 public void MergeFrom(ForeignProperty other)
 {
     if (other == null)
     {
         return;
     }
     if (other.PropertyName.Length != 0)
     {
         PropertyName = other.PropertyName;
     }
     if (other.propertyForeignTenancyId_ != null)
     {
         if (propertyForeignTenancyId_ == null)
         {
             propertyForeignTenancyId_ = new global::HOLMS.Types.Primitive.Uuid();
         }
         PropertyForeignTenancyId.MergeFrom(other.PropertyForeignTenancyId);
     }
     if (other.ApiUrl.Length != 0)
     {
         ApiUrl = other.ApiUrl;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.TenancyConfig.Indicators.ForeignPropertyIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.WebsiteUrl.Length != 0)
     {
         WebsiteUrl = other.WebsiteUrl;
     }
 }
示例#2
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    PropertyName = input.ReadString();
                    break;
                }

                case 18: {
                    if (propertyForeignTenancyId_ == null)
                    {
                        propertyForeignTenancyId_ = new global::HOLMS.Types.Primitive.Uuid();
                    }
                    input.ReadMessage(propertyForeignTenancyId_);
                    break;
                }

                case 26: {
                    ApiUrl = input.ReadString();
                    break;
                }

                case 34: {
                    if (entityId_ == null)
                    {
                        entityId_ = new global::HOLMS.Types.TenancyConfig.Indicators.ForeignPropertyIndicator();
                    }
                    input.ReadMessage(entityId_);
                    break;
                }

                case 42: {
                    WebsiteUrl = input.ReadString();
                    break;
                }
                }
            }
        }
 public virtual global::System.Threading.Tasks.Task <global::Google.Protobuf.WellKnownTypes.Empty> Remove(global::HOLMS.Types.TenancyConfig.Indicators.ForeignPropertyIndicator request, ServerCallContext context)
 {
     throw new RpcException(new Status(StatusCode.Unimplemented, ""));
 }
 public virtual AsyncUnaryCall <global::Google.Protobuf.WellKnownTypes.Empty> RemoveAsync(global::HOLMS.Types.TenancyConfig.Indicators.ForeignPropertyIndicator request, CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_Remove, null, options, request));
 }
 public virtual AsyncUnaryCall <global::Google.Protobuf.WellKnownTypes.Empty> RemoveAsync(global::HOLMS.Types.TenancyConfig.Indicators.ForeignPropertyIndicator request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(RemoveAsync(request, new CallOptions(headers, deadline, cancellationToken)));
 }
示例#6
0
 public virtual global::Google.Protobuf.WellKnownTypes.Empty Remove(global::HOLMS.Types.TenancyConfig.Indicators.ForeignPropertyIndicator request, grpc::CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_Remove, null, options, request));
 }